| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → xPC Target |
| Contents | Index |
| Learn more about xPC Target |
| On this page… |
|---|
The xPC Target software uses a target 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 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. The xPC Target software creates a target object during the build process.
Use the target object constructor function xpc. In the MATLAB® Command window, type tg = xpctarget.xpc.
Target objects are of class xpctarget.xpc. A target object has associated properties and methods specific to that object.
![]() | Target and Scope Objects | Scope Objects | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |