User`s guide
Working with AVI Files
By setting the Text parameter to 'Text posit ion: Row %d and Column
%d'
, you are asking the block to replace each conv ersion specification
(%d) with a decimal input to the Variables port. You used the Location
parametertospecifywheretoprinteach text string. In this case, the block
places the top-left corner o f the text box that s urrounds the first text string
5 rows down and 10 row s ov er from the top left corner of the image. The
block places the second text string 80 rows down and 10 rows over.
5 Use the Constant block to specify the decimal values input into the Insert
Text block’s Variables port. Because the conversion specification is %d, the
values must be an integer data type. Set the block parameters a s f ollo ws:
• Main pane, Constant value =
[[5 10]' [80 10]']
• Main pane, clear the Interpret vector parameters as 1–D check box.
• Signal Data Types pane, Output data type mode =
uint8
The Insert Text block substitutes the values from the first column of the
Constant value parameter into the first text string a nd the values from
the second column into the second text string.
6 UsetheVideoViewerblockstoview the annotated image. Accept the
default parameters.
7 Connect the blocks as shown in the following figure.
2-15