MATLAB R2018a has stopped working when I try to bring live images from a webcam into Matlab
1 view (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 13 Apr 2019
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.
Answers (1)
Image Analyst
on 13 Apr 2019
It's most likely a hardware issue.
See the FAQ: FAQ
2 Comments
Image Analyst
on 14 Apr 2019
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.
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!