what this error means ...and what i shd do to sort it out????
1 view (last 30 days)
Show older comments
?? Undefined function or method 'videoinput' for input arguments of type 'char'.
Error in ==> webcam at 12 vid = videoinput('Video0004.avi', 1, 'RGB24_640x480');
0 Comments
Accepted Answer
Honglei Chen
on 2 May 2013
It looks like you don't have videoinput function in your installation. You need to have Image Acquisition Toolbox to have that function. You can do
>> ver
to verify what you have.
5 Comments
Matt Kindig
on 2 May 2013
Your ver() output confirms that you don't have the Image Acquisition Toolbox installed, as Honglei Chen describes. Thus, you won't be able to acquire images through the videoinput() function. You might be able to find a replacement function on the File Exchange which can do this, but I am somewhat doubtful, as it would need to contain drivers for your particular video camera.
More Answers (0)
See Also
Categories
Find more on Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!