User`s guide
8 Using the From Video Device Block in S imulink
Step 5: Connect t
he Blocks
Connect the thre
e outputs from the From Video Device block to the three
corresponding i
nputs on the To Multimedia File block. (You can leave the
Audio input on th
e To Multimedia File block unconnected.) One quick way to
make all three c
onnections at once is to select the From Video Device block,
press and hold t
he Ctrl key, and then click the To Multimedia File block.
Notice that the
output ports on this particular camera device are
Y, Cb,
Cr
and the input
ports on the To Multimedia File block are
R, G, B.Some
devices desig
nate color band b y YCbCr an d some devices de signate it b y RGB.
Both are valid
and will work together.
Connect the From V ideo Device Block to the To Multimedia File Block
Step 6: Specify From Video Device Block Parameter
Values
To check From Video Device block p arame t er settings, double-click the block’s
icon in the model window. This opens the Source Block Parameters d ialog
8-10