| Video and Image Processing Blockset™ | ![]() |
Sinks

The To Video Display block sends video data to your computer screen.
Note This block supports code generation and is only available on Windows platforms that have file I/O available. This excludes RTWin (Real-Time Windows Target). This block performs best on platforms with DirectX Version 9.0 or later and Windows Media Version 9.0 or later. |
| Port | Input | Supported Data Types | Complex Values Supported |
|---|---|---|---|
Image | M-by-N matrix of intensity values or an M-by-N-by-3 color video signal |
| No |
R, G, B | 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. | Same as I port | No |
For the block to display video data properly, double- and single-precision floating-point pixel values must be from 0 to 1. For any other data type, the pixel values must be between the minimum and maximum values supported by their data type.
Select the Full-screen check box to display your video stream in a full-screen window. To return to other applications, hold down the Alt key and press Tab. If you have multiple To Video Display blocks in one model and you set the Video output device parameter to On-screen video monitor, we recommend selecting the Full-screen check box for only one of the blocks.
Select the Remember video window size check box if you want the block to save changes you make to the size of the video window.
Use the Image signal parameter to specify how the block accepts a color video signal. If you select One multidimensional signal, the block accepts an M-by-N-by-3 color video signal at one port. If you select Separate color signals, additional ports appear on the block. Each port accepts one M-by-N plane of an RGB video stream.
When running a model that contains a To Video Display block, the output of the block might be visible on the host monitor but not the external monitor or vice versa. There are two ways to work around this problem:
Replace the To Video Display block with a Video Viewer block.
Disable the DirectDraw Acceleration, Direct3D Acceleration, and AGP Texture Acceleration on your system.
Start > Run.
For the Open parameter, type dxdiag. Click OK. The DirectX Diagnostic Tool opens.
On the Display tab, click the Disable buttons that are next to DirectDraw Acceleration, Direct3D Acceleration, and AGP Texture Acceleration.
Click Exit.
The To Video Display dialog box appears as shown in the following figure.

Select this check box to display your video stream in a full screen window. This parameter is visible if, for the Video output device parameter, you select On-screen video monitor.
Select this check box if you want the block to save changes you make to the size of the video window.
Specify how the block accepts a color video signal. If you select One multidimensional signal, the block accepts an M-by-N-by-3 color video signal at one port. If you select Separate color signals, additional ports appear on the block. Each port accepts one M-by-N plane of an RGB video stream.
Video and Image Processing Blockset software | |
Video and Image Processing Blockset software | |
Signal Processing Blockset software | |
Video and Image Processing Blockset software | |
Video and Image Processing Blockset software |
![]() | To Multimedia File | Top-hat | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |