MATLAB R2018a has stopped working when I try to bring live images from a webcam into Matlab

조회 수: 1 (최근 30일)
I need your help to find a solution. I am using 'MATLAB R2018a - academic use'. When I try to bring live images from a (laptop built-in) webcam into Matlab, it stops when I run the following code line, in the Matlab command window. Can you please help to find and solve the problem?
cam1 = webcam('HD WebCam')
cam1 =
webcam with properties:
Name: 'HD WebCam'
AvailableResolutions: {'640x480' '160x120' '176x144' '320x240' '352x288' '1280x720'}
Resolution: '640x480'
Here is the message I get before the Matlab stops.
MATLAB R2018a has stopped working: There is a problem, therefore, the program has stopped working properly. Windows will close this program and indicate if a solution is available.
Can you please help?
  댓글 수: 2
Walter Roberson
Walter Roberson 2019년 4월 13일
Does MATLAB produce a crash log?
Question: did you install the Image Acquisition Toolbox Support Package for OS Generic Video Interface ?
Note that built-in cameras are not the same as webcam: webcam are handled by MATLAB Support Package for USB Webcams . It might turn out that you need to install that.
Gobert
Gobert 2019년 4월 14일
편집: Gobert 2019년 4월 14일
MATLAB did not produce any crash logs. Yes, I installed the 'Image Acquisition Toolbox Support Package for OS Generic Video Interface' as well as 'MATLAB Support Package for USB Webcams' but in vain (it kept stopping every time I ran the 'cam1 = webcam('HD WebCam')').

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

답변 (1개)

Image Analyst
Image Analyst 2019년 4월 13일
It's most likely a hardware issue.
See the FAQ: FAQ
  댓글 수: 2
Image Analyst
Image Analyst 2019년 4월 14일
The explanation is that none of use are going to set up a webex session with you to drive your computer, nor spend time to research anything we find. We cannot talk to the webcam developers at the company because we don't know who they are. BUT if you do a webex session with the tech support, they CAN do that. They know who the developers are and can actually talk to them and together they can try to figure out your problem. We are just users like you and cannot do that. I know that I just basically repeated what is in the FAQ so you may not explain this comment either, so call tech support and ask them to explain it to you.

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

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by