MATLAB Answers


Command "cam = webcam" not working with MATLAB Support Package for USB Webcam

Asked by Thomas Dutrannois on 14 Jun 2018
Latest activity Commented on by Walter Roberson
on 13 Aug 2018
I'm trying to use the MATLAB Support Package for USB Webcam. When i run the command "webcamlist" it shows me my webcam: 'HP Wide Vision HD'. But when I try this command : "cam = webcam" it gives me this error in MATLAB:
Warning: The following error was caught while executing '' class destructor:
Dot indexing is not supported for variables of this type.
Error in
Error in
Error in
Error in webcam (line 95)
obj.webcamImpl ={:});
> In
In webcam (line 95)
Error using webcam (line 116)
Error initializing media source.
I'm using MATLAB 2018a. Could someone help me ?


Unfortunately the defining class is a .p file so we cannot look at the source code.

Sign in to comment.





0 Answers