User`s guide

Target PC Commands
13-3
Target Object Methods
When you are using the target PC command-line interface, target object
methods are limited to starting and stopping the target application.
The following table lists the syntax for the target commands that you can use
on the target PC. The equivalent MATLAB syntax is shown in the right
column, and the target object name
tg is used as an example for the MATLAB
methods.These methods assume that you have already loaded the target
application onto the target PC.
Target Object Property Commands
When you are using the target PC command-line interface, target object
properties are limited to parameters, signals, stop time, and sample time. Note
the difference between a parameter index (0, 1, . . .) and a parameter name (P0,
P1, . . .).
The following table lists the syntax for the target commands that you can use
to manipulate target object properties. The MATLAB equivalent syntax is
shown in the right column, and the target object name
tg is used as an example
for the MATLAB methods.
Target PC
Command
Description and Syntax MATLAB Equivalent
start
Start the target application
currently loaded on the
target PC.
Syntax: start
tg.start
or +tg
stop
Stop the target application
currently running on the
target PC.
Syntax:
stop
tg.stop
or -tg
reboot Reboot the target PC.
Syntax:
reboot
tg.reboot