User`s guide

3 Signals and Parameters
tg.ShowSignals='on'
The MATLAB window displays a list of the target object properties for
the available signals. For example, the signals for the model
xpcosc.mdl
are as follows:
ShowSignals = on
Signals = INDEX VALUE BLOCK NAME LABEL
0 0.000000 Integrator1
1 0.000000 Signal Generator
2 0.000000 Gain
3 0.000000 Integrator
4 0.000000 Gain1
5 0.000000 Gain2
6 0.000000 Sum
For more information, see “Signal Monitoring with the MATLAB Interface”
on page 3-9.
3 Create a scope to be displayed on the target PC. For example, to create a
scope with an identifier of
1 and a scope object name of sc1,type
sc1=tg.addscope('target', 1)
or
sc1=addscope(tg, 'target', 1)
4 List the properties of the scope object. For example, to list the properties of
the scope object
sc1,type
sc1
The MATLAB window displays a list of the scope object properties. N otice
that the scope properties
Time an d Data are not accessible w ith a sco pe
of type
target.
xPC Scope Object
Application = xpcosc
ScopeId = 1
Status = Interrupted
Type = Target
3-42