User`s guide

8 Us ing the Target PC Command-Line Interface
The command window displays a message to indicate that the new
parameter has registered.
System: p[1] is set to 30.00000
4 Ch eck the value of signal 0. For example, type
s0
The command window displays a message to indicate that the new
parameter has registered.
System: S0 has value 5.1851
5 Change the stop time. For example, to set the stop time to 1000, type
stoptime = 1000
The parame te r ch an g es a re made to the ta rge t application but not to t he
target object. When you type any xPC Target comm and in the MATLAB
Command Window, the target PC returns the current properties of the
target object.
Note The target PC command setpar doe s not work for vector parameters.
To see the corre lation be tw een a paramete r or signal index and its block, you
can look at the
model_name_pt.c or model_name_bio .c of the generated code
foryourtargetapplication.
Manipulating Scope Objects from the Target PC
The xPC Target software uses a scope object to represent your target scope.
This section shows some of the common tasks that you use with scope objects.
Thesecommandscreateatemporarydifferencebetweenthebehaviorofthe
target application and scope o bject. The next time y ou access the scope object,
the data is updated from the target PC .
1 On the ta r get PC keyboard, press C .
8-4