User`s guide

10 Graphical User Interfaces
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 f or the second and fourth signals in a signal
line with at least four signals, use the following syntax:
xPCTag(2,4)=label_1 label_2;
Note Only tag signals from nonvirtual blocks. Virtual blocks are only
graphical aids (see “Virtual Blocks”). For example, if your model combines
two signals into the inputs of a Mux block, do not tag the signal from the
output of the Mux block. Instead, tag the source signal from the output
of the originating nonvirtual block.
6 From the File menu, click Save as. Ente r a filename for your model. For
example, enter
xpc_tank1
You next task is to mark block parameters if you have not already done so.
See “Marking Block Parameters” on page 10-7. If you have already marked
block signals , return to “C reating a Custom Graphical Interface” on page 10-3
for additional guidance on creating a user interface template model.
10-12