Webcam cannot be disconnected

4 ビュー (過去 30 日間)
Beril Sirmacek
Beril Sirmacek 2018 年 5 月 15 日
コメント済み: Star Strider 2018 年 5 月 23 日
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
Star Strider 2018 年 5 月 15 日
Try the function version:
That is in the documentation as step 8 in: Acquire Webcam Images (link).
  8 件のコメント
Star Strider
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.



Find more on MATLAB Support Package for USB Webcams 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!

Translated by