User`s guide

Signal Tracing
stop(sc2)
9 Stop the target application. In the MATLAB window, type
-tg
or
tg.stop
or
stop(tg)
The target application on the target PC stops running, and the target PC
displays messages similar to the following.
minimal TET: 0.00006 at time 0.004250
maximal TET: 0.000037 at time 14.255250
To access the contents of the signal data file that the xPC Target scope of type
file creates, use the xPC Target file system object (xpctarget.fs)fromthe
host PC MATLAB window. To view or examine the signal data, you can use
the
readxpcfile utility with the plot function. For further details on the
xpctarget.fs file system object and the readxpcfile utility, see Chapter 9,
“Working with Target PC Files and File Systems”.
Signal Tracing with xPC Target Scope Blocks
Use host scopes to log signal data triggered b y an event w h ile your target
application is running. This topic describes how to use the three scope block
types.
Note xPC Target supports ten target scopes. It can support an infinite
number of host scopes, as long as the target PC resources can support them.
It can support eight file scopes. Each scope of type
target can contain up to
10 signals. Each scope of type
file or host can contain an infinite number of
signals, as long as the target PC resources can support them.
3-49