Display binary, intensity, or RGB images or video streams
The Video Viewer block enables you to view a binary, intensity, or RGB image or a video stream. The block provides simulation controls for play, pause, and step while running the model. The block also provides pixel region analysis tools. During code generation, Simulink® Coder™ software does not generate code for this block.
Note: The To Video Display block supports code generation.
See the following table for descriptions of both input types.
|Image||M-by-N matrix of intensity values or an M-by-N-by-P color video signal where P is the number of color planes.|
|R/G/B||Scalar, vector, or matrix that represents one plane of the RGB video stream. Inputs to the R, G, or B ports must have the same dimensions and data type.|
Select File > Image Signal to set the input to either Image or RGB.
The Message Log dialog provides a system level record of configurations and extensions used. You can filter what messages to display by Type and Category, view the records, and display record details.
The Type parameter allows you to select either All, Info, Warn, or Fail message logs. The Category parameter allows you to select either Configuration or Extension message summaries. The Configuration messages indicate when a new configuration file is loaded. The Extension messages indicate a component is registered. For example, you might see a Simulink message, which indicates the component is registered and available for configuration.
The Video Viewer GUI enables you to save and load the settings of multiple GUI instances. Thus, you only need to configure the Video Viewer GUIs that are associated with your model once. To save the GUI settings, select File > Instrumentation Sets > Save Set. To open the preconfigured GUIs, select File > Instrumentation Sets > Load Set.
|Port||Supported Data Types|
Same as Image port