필터 지우기
필터 지우기

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

조회 수: 9 (최근 30일)
Thomas Dutrannois
Thomas Dutrannois 2018년 6월 14일
댓글: smsinks 2020년 3월 22일
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 '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.
I'm using MATLAB 2018a. Could someone help me ?
  댓글 수: 4

댓글을 달려면 로그인하십시오.

답변 (1개)

Hai Iluz
Hai Iluz 2019년 4월 11일
You need allow the webcam in your PC
  댓글 수: 1
Walter Roberson
Walter Roberson 2019년 4월 11일
What is the process for allowing the webcam in your PC? Is it different than installing the support package for USB Webcam ?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by