Type in the matlab command window imaqhwinfo. This will get you the list of adaptors.
>>imaqhwinfo
ans =
InstalledAdaptors: {'coreco' 'winvideo'}
MATLABVersion: '7.8 (R2009a)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '3.3 (R2009a)'
This is what I got for the a same command. See the adaptors installed are ‘{'coreco' 'winvideo'}
Any camera you connect to your PC or Laptop can be accessed through these adaptors.
Connect your webcam to the computer through the USB.
aqVideo = videoinput(‘winvideo’, 1, ‘RGB24_640x480′); \\Specify the adaptor name and resolution of the video.
preview(aqVideo);
aqImage = getsnapshot(aqVideo);Capture
This command will store the image of that instant into the variable data in a matrix of 640X480.