User`s guide

xPC Target™ Interfac e Bloc ks to Simulink
®
Models
For example, the block labeled TankLevel is an integrator with a single
signal that indicates the level of water in the tank. Replace the existing tag
with 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 signal within a vector signal line. Begin numbering
signals with an index of
1.
label_n Name for a signal that will be connected to a From 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.
10-11