User`s guide
2 Importing and Exporting Video
audio associated with an AVI f il e, use the To Wave Device b lock in Signal
Processing Blockset.
Note The Video Viewer block is supported on all platforms, but it does not
support code generation. If you are on a Windows platform, you can use
the To Video Display block to display vid eo data. This block supports code
generation. For more information, see the To Video D isplay block reference
page in the Video and Image Processing B lockset Reference.
Exporting to AVI Files
Video and Image Processing Blockset enables you to export video data from
your Simulink model. In this section, you use the Write AV I File block to
export an AV I file from your m odel:
1 If the m odel you created in “Importing and Viewing AVI Files” on page 2 -2
isnotopenonyourdesktop,youcanopenanequivalentmodelbytyping
doc_export
at the MATLAB command prompt.
2 Click-and-drag the following blocks into your model.
2-6