I was having the same problem. but i was able to solve it. Used the following code:
clc; clear;
close all; objects = imaqfind
delete(objects)
vid=videoinput('winvideo',2,'MJPG_1280x720'); preview(vid)
now whenever i run the code, it will detect the winvideo input and show the preview.
댓글 수: 2
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/283025-webcam-device-id-1-is-in-use-how-to-solve-it#comment_391467
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/283025-webcam-device-id-1-is-in-use-how-to-solve-it#comment_391467
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/283025-webcam-device-id-1-is-in-use-how-to-solve-it#comment_684807
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/283025-webcam-device-id-1-is-in-use-how-to-solve-it#comment_684807
댓글을 달려면 로그인하십시오.