User`s guide
Target Object
6-3
Target Object
xPC Target uses a target object to represent the target application and target
kernel. An understanding of the target object properties and methods will help
you to control and test your application on the target PC.
This section includes the following topics:
•“What is a Target Object?”
•“Target Object Properties”
•“Target Object Methods”
What is a Target Object?
A target object on the host PC represents the interface to a target application
and the kernel on the target PC. You use target objects 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:
•Build a target application. xPC Target creates a target object during the
build process.
•Use the target object constructor function
xpc. In the MATLAB window, type
tg = xpc.
A target object has associated properties and methods specific to that object.