User`s guide

1 Target and Scop e Objects
Target Objects
What Is a Target Object?
The x PC Target software uses a targ et object (of class xpctarget.xpc)to
represent the target kernel and your target application. Use target object
functions to run and control real-time applications on the target PC with
scope objects to collect signal data.
See “Function Reference” and “Functions” for a reference of the target
functions.
An understanding of the target object properties and methods will help you to
control and test your application on the target PC.
A target object on the host PC represents the interface to a target a pplication
and the ke rnel on the target PC. You use target o bjects to run and control
the target application.
When you change a target object property on the host PC, information is
exchanged with the target PC and the target application.
To create a target object,
1 Build a target application. The xPC Target software creates a target object
during the build process.
2 Use the target object constructor function xpc. In the MATLAB
®
Command
window, type
tg = xpc target.xpc.
Target objects are of class
xpctarget.xpc. A target object has associated
properties and methods specific to that object.
1-2