User`s guide
8 Graphical User Interfaces
8-12
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.
To create the From xPC blocks in an user interface model for a signal line
with four signals (port dimension of 4), use the following syntax:
xPCTag(1,2,3,4)=label_1 label_2 label_3 label_4;
To create the From xPC blocks for the second and fourth signals in a signal
line with at least four signals, use the following syntax: