problem with interfacing webcam in matlab in ubuntu system

1 view (last 30 days)
hello i'm trying to interface my laptop webcam with matlab image acquisition tool,
i'm using matlabR2013 in ubuntu trusty thar
it all works fine upto 'creating a video input object' but after that when i use the command 'preview(vid)' (here vid is the video input object) it does not work. The matlab displays a error message ' the device may be in use '
Additional note: after using the 'preview' command i find that my default webcam application also does not work until i use the 'imaqreset' command. note2: also i'm using the option 'linuxvideo'

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!