User`s guide
Example: Saving Video Data to a File
Example: Saving Video Data to a File
In this section.. .
“Introduction” on page 8-5
“Step 1: Open the Image Acquisition Toolbox Library” on p ag e 8-5
“Step 2: Open a Model or Create a New Model” on page 8-6
“Step 3: D rag the From Video Device Block into the M odel” on page 8-7
“Step 4: Drag O ther Blocks to Complete the Model” on page 8-8
“Step 5: Connect the B locks” on page 8-10
“Step 6: Specify From Video Device Block Parameter Values” on page 8-10
“Step 7: Run the Simulation” on page 8-12
Introduction
The best way to learn about the Image Acquisition Toolbox From Video D ev ice
block is to see an example. This section provides a step-b y-step example that
builds a simple model using the block in con junction w ith 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
Toolbo x block library. To open the library, start the Simulink Library Browser
and select the Image Acquisition Toolbox entry from the list.
To start the Sim ulin k Library Brow ser, enter
simulink
at the MATLAB prompt. (For more information about opening the library, see
“Opening the Block Library” on page 8-3.)
8-5