Video From Workspace
Import video from MATLAB workspace
Libraries:
      Computer Vision Toolbox / 
      Sources
   
Description
The Video From Workspace block imports a video from the MATLAB® workspace. The output of the block depends on the format of the video in the workspace.
- If the video is represented by an M-by-N-by-T array, the block outputs a grayscale video. M and N are the number of rows and columns in each video frame, and T is the number of frames in the video. 
- If the video is represented by an M-by-N-by-C-by-T array, the block outputs a color video. M and N are the number of rows and columns in each video frame, C is the number of color channels, and T is the number of frames in the video. 
Note
- If you generate code from a model that contains this block, it takes long to compile the code as the Simulink® Coder™ puts all of the video data into the - .cfile. To shorten code generation time, convert your video data into a format supported by the From Multimedia File or Read Binary File block.
- The Video From Workspace block also supports - fiobjects. For more information on- fiobjects, see- fi(Fixed-Point Designer).
Examples
Ports
Output
Parameters
Block Characteristics
| Data Types | 
 | 
| Multidimensional Signals | 
 | 
| Variable-Size Signals | 
 | 
Extended Capabilities
Version History
Introduced before R2006a

