Matlab for a Robot camera processing

I’m just wondering if anyone knows how to take an image from a webcam and get it into matlab to be analysed? I have a basic idea of matlab so i should be able to master most of it but I don’t know how to interface an external device like a usb webcam with the matlab program. I think i’d need to make it take snapshots and analyse the images but I’m not entirely sure, any advice would help thanks


I don’t use MATLAB but I do use Google, and the first result for “matlab usb webcam” was this:

- Ryan