User`s guide

xPC Target Interface Blocks to Simulink Models
8-9
4 In the Description box, delete the existing tag and enter a tag to the
parameters for this block.
For example, the SetPoint block is a constant with a single parameter that
selects the level of water in the tank. Enter the tag shown below.
The tag has the following format syntax
xPCTag(1, . . . index_n)= label_1 . . . label_n;
For single dimension ports, the following syntax is also valid:
xPCTag=label;
index_n — Index of a block parameter. Begin numbering parameters with
an index of
1.
label_n — Name for a block parameter that will be connected to a To xPC
Target block in the user interface model. Separate the labels with a space,
not a comma.
label_1...label_n must consist of the same identifiers as those used by
C/C++ to name functions, variables, and so forth. Do not use names like
-foo.
5 Repeat steps 1 through 3 for the remaining parameters you want to tag.
For example, for the Controller block, enter the tag