How to use multiple USB webcam in Matlab

I can't preview 3 figure webcam same time in matlab. Can you help me?

2 Comments

Is the problem using 3 webcams, or is the problem with the 4th device specifically? If you only use
D = videoinput('winvideo', 4);
preview(D)
then is it able to preview it?
Chau Trung
Chau Trung on 14 Mar 2016
Edited: Chau Trung on 14 Mar 2016
Hi Walter RoberSon, thank for your comment, as i said i can preview each camera normally, but I can not preview three or more camera at the same time, not problem with the 4th camera, it occur an error as above. So can you figure it out for me?

Sign in to comment.

More Answers (1)

Wenyin Wei
Wenyin Wei on 7 Jul 2019
Edited: Wenyin Wei on 7 Jul 2019
Hello Trung,
I also met the problem and fixed it by making the cameras use different ports rather than sharing the same port.

Categories

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!