| Contents | Index |
The xPC Target environment uses a target computer, separate from a host computer, for running real-time applications.
In this environment you use your desktop computer as a host computer with MATLAB®, Simulink, and Stateflow (optional) software, to create a model using Simulink blocks and Stateflow charts. After creating your model, you can run simulations in nonreal time within the Simulink environment.
Use xPC Target software with Simulink Coder™, Embedded Coder™ (optional), and a C/C++ compiler to create executable code that represents your models. The executable code is downloaded from the host computer to the target computer running the xPC Target real-time kernel. After downloading the executable code, you can run and test your target application in real time. Additionally, xPC Target software lets you add I/O blocks to your model to connect and communicate with your hardware under test
Hardware requirements — The xPC Target software requires a host computer, target computer, and, for I/O, the target computer must also have I/O boards supported by the xPC Target product. The target computer can be a desktop PC, industrial PC, PC/104, PC/104+, or CompactPCI computer.
Software requirements — The xPC Target software requires either a Microsoft® Visual C/C++ compiler or an Open Watcom C/C++ compiler. In addition, the xPC Target software requires MATLAB, Simulink, and Simulink Coder software.
xPC Target Embedded Option requirements — The xPC Target Embedded Option product is separate from the xPC Target product. It requires an additional license from MathWorks. With this additional license, you can deploy an unlimited number of real-time applications for standalone operation. This option allows you to
Create standalone applications for the target computer, which can boot, run, and operate independent from the host computer.
Deploy standalone GUI applications running on the host computer to control, change parameters, and acquire signal data from a target application. This feature uses: the xPC Target API with any programming environment; the xPC Target COM API with any programming environment, such as Microsoft Visual Basic, that can use COM objects; the xPC Target API for Microsoft .NET Framework. Without the xPC Target Embedded Option product, you can create, but not deploy, standalone GUI applications running on a host computer that does not contain your licensed copy of the xPC Target software, to control, change parameters, and acquire signal data from a target application.
Documentation and help — The xPC Target software ships with the xPC Target Getting Started Guide. This guide and the remaining documentation are available online through the MATLAB Help browser window, or as PDF files that you can view online or print.
For additional information on using the xPC Target product, see the following MathWorks Web site resources:
MathWorks Support xPC Target Web site (http://www.mathworks.com/support/product/XP). The xPC Target documentation is also available from this site.
![]() | Product Description | Required Knowledge | ![]() |

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