Main Content

Install the MATLAB Support Package for USB Webcams

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 USB Webcams support package.

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

  • An example that shows how to acquire images using a Webcam

  • The USB Webcams 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.