Webcam cannot be disconnected
Mostrar comentarios más antiguos
After the camera variable is defined and used as below;
camera = webcam;
picture = camera.snapshot;
I use;
clear camera
However deleting the structure of course doesn't disconnect the webcam.
How can I officially stop image acquisition and disconnect the webcam?
Respuestas (1)
Star Strider
el 15 de Mayo de 2018
Try the function version:
clear('camera')
8 comentarios
Beril Sirmacek
el 16 de Mayo de 2018
Star Strider
el 16 de Mayo de 2018
Contact MathWorks. Use the Contact Us link in the upper right corner of this page.
Beril Sirmacek
el 22 de Mayo de 2018
Star Strider
el 22 de Mayo de 2018
My pleasure.
I never experienced that problem, and couldn’t reproduce it when I used my webcam.
Beril Sirmacek
el 22 de Mayo de 2018
Star Strider
el 22 de Mayo de 2018
I have no idea.
Can you turn it on and off outside of MATLAB? That may be one way of isolating the problem.
Beril Sirmacek
el 23 de Mayo de 2018
Star Strider
el 23 de Mayo de 2018
Then request help from MathWorks. Use the Contact Us link in the upper right corner of this page.
Run the ver command from your Command Window first. Then copy and paste the results to the appropriate window.
Categorías
Más información sobre MATLAB Support Package for IP Cameras en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!