I am using a Webcam (Logitech C160) to capture Images using the Image acquisition toolbox (V 3.5) in Matlab 188.8.131.529. When ever I adjust the camera settings (brightness, exposure etc.) and try to capture an image afterwards I get a timeout error.
??? Error using ==> imaqdevice.getsnapshot at 65 A timeout occurred during GETSNAPSHOT.
Interestingly, when I run the preview window during the setting change I can see the camera changing brightness, exposure etc... and it works fine, however if I stop the preview, then start it after changing the settings the preview window stays black.
If I leave the preview window running during the change, the GETSNAPSHOT function seems to work fine. As soon as I stop the preview I get the error message again.
Running the snapshot function before the change without the preview works fine.
Any ideas would be appreciated!