Main Content

Video Capture Interface

Simulate capture of images from video stream on hardware

Since R2021a

  • Video Capture Interface UI Icon

SoC Blockset / Peripherals


The Video Capture Interface block simulates the behavior of a video input device. The block emits the captured image in message for a connected Video Capture block that can be used in an algorithm. The block can also emit an event that, when connected a Task Manager block, can trigger a task containing the Video Capture block.



expand all

Specify a 3MN-length vector as the unwrapped images matrices.


To enable this port, set the Input parameter to From input port.

Data Types: uint8


expand all

This port sends a message at each new image event. This output connects to the input of the Task Manager block to execute the associated event-driven task after receiving the new image.


To enable this port, select the Show event port parameter.

Data Types: rteEvent

This port outputs data messages containing image data to a connected Video Capture block.

Data Types: SoCData


expand all

Specify the source of the simulated image data.

Specify the simulated image as a vector. The vector gets transformed into three M-by-N matrices representing the color channels of the image source.

Specify the video source as a timeseries object in the MATLAB® workspace.

Enter the sample time defining the rate at which to output the message containing video data.

Select this parameter to enable an event port that, when connected to the Task Manager block, can execute event-driven tasks.

Extended Capabilities

Version History

Introduced in R2021a