Webcam cannot be disconnected
古いコメントを表示
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?
回答 (1 件)
Star Strider
2018 年 5 月 15 日
Try the function version:
clear('camera')
8 件のコメント
Beril Sirmacek
2018 年 5 月 16 日
Star Strider
2018 年 5 月 16 日
Contact MathWorks. Use the Contact Us link in the upper right corner of this page.
Beril Sirmacek
2018 年 5 月 22 日
Star Strider
2018 年 5 月 22 日
My pleasure.
I never experienced that problem, and couldn’t reproduce it when I used my webcam.
Beril Sirmacek
2018 年 5 月 22 日
Star Strider
2018 年 5 月 22 日
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
2018 年 5 月 23 日
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.
カテゴリ
ヘルプ センター および File Exchange で MATLAB Support Package for IP Cameras についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!