Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

Required Products

MATLAB

MATLAB provides a command-line interface for the xPC Target product.

With the xPC Target software, you have full control of the target computer and target application using xPC Target functions and the command-line interface or M-file scripts. You use the xPC Target functions for

Simulink

Simulink provides an environment where you model your dynamic physical system and controller as a block diagram. You create the block diagram by using a mouse to connect blocks and a keyboard to edit block parameters.

You can use the xPC Target product with most Simulink blocks, including discrete-time and continuous-time systems. When you use a continuous-time system and generate code with Real-Time Workshop, you must use a fixed-step integration algorithm.

xPC Target I/O driver blocks — You can replace the model of your physical system with I/O driver blocks connected to the actual physical system, or you can replace the model of your controller with the actual controller. The xPC Target I/O library supports more than 400 driver blocks. As additional drivers become available, you can download updates from the MathWorks™ Web site at

http://www.mathworks.com/support/product/XP/productnews/productnews.html

The I/O device drivers are written as Simulink C code S-functions.

Simulink documentation — For information on using Simulink, see the online Simulink documentation. It explains how to connect blocks to build models and change block parameters. It also provides a reference that describes each block in the standard Simulink library.

Real-Time Workshop

Real-Time Workshop provides the utilities to convert your Simulink models into C code and then, with a third-party C/C++ compiler, compile the code into a real-time executable.

Features of Real-Time Workshop include support for multirate systems, as well as loop-rolling and S-function inlining, which allow you to optimize your code for size and efficiency. With the xPC Target product, you can build and download your target application to the target computer using the build command in Real-Time Workshop.

Real-Time Workshop documentation — For information on code generation, see the online Real-Time Workshop documentation.

C Compiler

The C compiler creates executable code from the C code generated from Real-Time Workshop and the C code S-functions you create. The xPC Target product uses this executable code to create an executable image (target application) that runs with the xPC Target kernel on the target computer.

In addition to the products from The MathWorks, you need to install a C compiler. The Real-Time Workshop and xPC Target products support the C compilers listed here: http://www.mathworks.com/support/compilers/current_release/

xPC Target Embedded Option Product

You do not need this product for rapid prototyping, but with this additional license, you can

The xPC Target Embedded Option product is a separate entity that requires an additional license from The MathWorks. Information about the xPC Target Embedded Option product is included with the xPC Target documentation.

  


Related Products & Applications

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