xPC Target | ![]() ![]() |
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:
xpcosc
, typesetpar 2=30
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.
![]() | Setting the Value of a Target Object Property from the Host PC | Getting the Value of a Target Object Property | ![]() |