User`s guide

2 Advanced Procedures
2-20
Target Object Methods
When 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 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 Object Properties
When using the target PC command line interface, target object properties are
limited to parameters, signals, stoptime, and sampletime. Notice 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
on the target PC. 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 MATLAB
start tg.start
or +tg
stop tg.stop or -tg
reboot tg.reboot
Target PC MATLAB
setpar parameter_index =
number
set(tg, ’parameter_name’,
number)
getpar parameter_index get(tg, ’parameter_name’)
stoptime = number tg.stoptime = number
sampletime = number tg.sampletime = number
set(tg, ’SampleTime’, number)