Main Content

Install the MATLAB Support Package for USB Webcams

Note

Support package installation is not required to use webcams in MATLAB® Online™.

You can use MATLAB webcam support to bring live images from any USB Video Class (UVC) webcam into MATLAB. This includes webcams that may be built into laptops or other devices, as well as webcams that plug into your computer via a USB port. To use the webcam feature, you must install the MATLAB Support Package for USB Webcams.

Webcam support is available through MATLAB Add-Ons. Using this installation process, you download and install the following files on your host computer:

  • MATLAB files for webcam support

  • Example that shows how to acquire images using a webcam

  • Support package documentation

To install the support package:

  1. On the MATLAB Home tab, in the Environment section, click Add-Ons > Get Hardware Support Packages.

  2. In the Add-On Explorer, scroll to the Hardware Support Packages section, and click show all to find your support package.

  3. Refine the list by selecting Imaging/Cameras in the Refine by Hardware Type section on the left side of the explorer.

  4. In the Imaging/Cameras list, select the MATLAB Support Package for USB Webcams.

Related Topics