Main Content

Using Acquire Webcam Image Live Editor Task from Hardware Manager

You can use MATLAB® Hardware Manager to detect your webcam and run the Acquire Webcam Image Live Editor task to interactively connect to your webcam, set its properties based on the live video, and capture images.

To run Acquire Webcam Image Live Editor task from MATLAB Hardware Manager, complete these steps.

  1. Open Hardware Manager either by selecting the MATLAB Apps gallery, or by typing this command in the MATLAB Command Window.

    hardwareManager

    Hardware Manager displays all the detected hardware connected to your system. Wait for a few seconds until the list is complete. When ready, your Hardware Manager window might look like this.

    For more information on Hardware Manager, see Get Started with Hardware Manager.

  2. Click the webcam device you want to use.

  3. In the window, select Acquire Webcam Image Live Editor task and click the Open Live Task button.

    This opens an example with live script for the Acquire Webcam Image Live Editor task.

Related Topics