Webcam cannot be disconnected
조회 수: 3 (최근 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!