Matlab: Use the Raspberry Pi Web Camera to Capture Images

This example shows how to create a connection to the web camera and capture still images. Connect the Raspberry Pi™ board to your host computer. Note: If you have not previously configured your Raspberry Pi board, see Complete Additional Setup Tasks.

Fonte e mais detalhes aqui