User`s guide
9 Using the From Video Device Block in Simulink
9-6
Saving Video Data to a File
In this section...
“Introduction” on page 9-6
“Step 1: Open the Image Acquisition Toolbox Library” on page 9-6
“Step 2: Open a Model or Create a New Model” on page 9-6
“Step 3: Drag the From Video Device Block into the Model” on page 9-7
“Step 4: Drag Other Blocks to Complete the Model” on page 9-8
“Step 5: Connect the Blocks” on page 9-9
“Step 6: Specify From Video Device Block Parameter Values” on page 9-10
“Step 7: Run the Simulation” on page 9-11
Introduction
The best way to learn about the From Video Device block is to see an example. This
section provides a step-by-step example that builds a simple model using the block in
conjunction with blocks from other blockset libraries.
Step 1: Open the Image Acquisition Toolbox Library
To use the From Video Device block, you must open the Image Acquisition Toolbox block
library. To open it, start the Simulink Library Browser and select the Image Acquisition
Toolbox entry from the list.
To start the Simulink Library Browser, enter
simulink
at the MATLAB prompt. (For more information about opening the library, see “Opening
the Image Acquisition Toolbox Block Library” on page 9-3.)
Step 2: Open a Model or Create a New Model
To use a block, you must add it to an existing model or create a new model.