User`s guide

Target PC Commands
13-5
Scope Object Methods
When using the target PC command-line interface, you use scope object
methods to start a scope and add signal traces. Notice that the methods
addscope and remscope are target object methods on the host PC, and notice
the difference between a signal index (
0, 1, . . .) and a signal name (S0, S1, . . .).
P#
Display or change the
value of a block
parameter. For example,
P2 or P2=1.23e-4.
Syntax:
parameter_name
or
parameter_name =
floating_point_number
parameter_name is P0,
P1, . . .
tg.getparam(parameter_
index)
tg.setparam(parameter_
index,floating_point_
number)
S#
Display the value of a
signal. For example,
S2.
Syntax:
signal_name
signal_name is S0, S1,
. . .
tg.getsignal(signal_index)
Target PC
Command
Description and Syntax MATLAB Equivalent