User`s guide
Monitoring Signals
The Model Hierarchy node can have the following types of nodes:
Icons
Nodes
Subsystems , includ i ng th eir sign a ls and paramete r
Referenced m odels, including their signals set as test points
Parameters
Signals
Stateflow states set as test points
Only xPC Target tunable parameters and signals of the application, as
represented in the Simulink model, appear in the
Model Hierarchy node.
Note This example currently has only parameters and signals. If a b lock
has a name that cons ists of only spaces, xPC Target E xplo rer does not
display a node for that block. To monitor a signal from that block, provide
an alphanumeric name for that block and rebuild and download that block.
If you make changes (such as adding an xPC Target scope) to the model
associated with the downloaded application, then rebuild that model and
download it again to the target PC, you should reconnect to the target PC
to refresh the
Model Hierarchy node.
4 To vie
w only labeled signals (the xPC Target software refers to Simulink
signa
l n ames as signal labels) :
a Open t
he
xpcosc.mdl file.
b Righ
t-click a signal line and name that signal. For example, right-click
the o
utput of the Signal Generator block and name it
SignalG.
c Buil
d and download the updated model.
d Whe
n the updated model is displayed in xPC Target Explorer, right-click
the
Model Hierarchy node and select View Only Labeled Signals.
Thi
s command assumes that you have labeled one or more signals in
yo
ur model.
3-5