User`s guide
Using Target Objects
6-15
Note Method names are case-sensitive and need to be complete, but property
names are not case-sensitive and need not be complete as long as they are
unique.
Setting the Value of a Target Object Property from
the Target PC
You can type commands directly from a keyboard on the target PC. These
commands create a temporary difference between the behavior of the target
application and the properties of the target object. The next time you access the
target object, the properties are updated from the target PC:
1 On the target PC keyboard, press C, or point the target mouse in the
command window.
The target PC activates the command window.
2 Type a target command. For example, to change the frequency of the signal
generator (parameter 2) in the model
xpcosc, type
setpar 2=30
3 Change the stop time. For example to set the stop time to 1000 type
stoptime = 1000
The parameter changes are make to the target application but not to the
target object. When you type any xPC Target command in the MATLAB
command window, the target PC returns the present properties to the target
object.
Note The target PC command setpar does not work for vector parameters.