Webcam cannot be disconnected
7 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Star Strider
2018-5-15
Try the function version:
clear('camera')
8 个评论
Star Strider
2018-5-23
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for USB Webcams 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!