我尝试在Matlab中连接USB摄像头。我还下载了所有支持包。当我尝试从网络摄像机列表连接USB摄像机时,出现错误:
>> webcamlist
ans =
2×1 cell array
{'Integrated Camera'}
{'USB Camera' }
>> cam = webcam('USB Camera')
Warning: The following error was caught while executing 'matlab.webcam.internal.WebcamController' class destructor:
Dot indexing is not supported for variables of this type.
Error in matlab.webcam.internal.WebcamController/delete
Error in matlab.webcam.internal.WebcamController
Error in matlab.webcam.internal.webcamDesktop
Error in webcam (line 95)
obj.webcamImpl = matlab.webcam.internal.webcamDesktop(varargin{:});
> In matlab.webcam.internal.WebcamController
In matlab.webcam.internal.webcamDesktop
In webcam (line 95)
Error using webcam (line 116)
Error initializing media source.
有人可以帮我吗?