I have been trying to access two USB cameras through a USB hub (bought from local market). I am able to access both the cameras one after the other without any issue but when I tried to access both the cameras simultaneously I encounter an error as shown in the attached figure. I tried to test both USB cams with the hub on two laptops: one is Lenovo Z470 and the other is Dell Inspiron 14 series with a Windows 10 OS. I tried accessing them using the MATLAB function preview. I did not get any error on Lenovo Ideapad Z470, but I got an error on Dell Inspiron 14. I have attached the screenshot of the error:Here is the screen shot of the error message
MATLAB code :
v1 = videoinput('winvideo',1);
v2 = videoinput('winvideo',2);
preview(v1); preview(v2);
I believe the USB ports might be differently configured for different Laptops/PC on most of the windows 10 and few windows 7 machines .