| Contents | Index |
This table summarizes what's new in Version 5.0 (R2011a):
New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems |
|---|---|---|
Yes | Yes—Details labeled as Compatibility Considerations, below. See also Summary | Bug
Reports |
You can now profile an application running on a target PC. This capability enables you to determine:
Whether your target PC is taking advantage of its multiple cores
The execution sequence of the target application
The task execution time (TET) of the target application for all rate groups
See Multicore Processor Configuration in the xPC Target User's Guide.
In support of this new capability, the following configuration parameters are new in the Configuration Parameters > Code Generation > xPC Target options node:
To help you build, download, and display the profile data, a script is available in matlabroot\toolbox\rtw\targets\xpc\xpcdemos\profile_xpc_demo.m. This script uses an example model, matlabroot\toolbox\rtw\targets\xpc\xpcdemos\xpcprofdemo.mdl.
With the HDL Coder™ software, you can now implement Simulink algorithms. You can also configure I/O functionality on select FPGA I/O boards that xPC Target supports. The HDL Workflow Advisor streamlines and automates the entire process.
The software supports the following Speedgoat FPGA boards:
See Speedgoat in the xPC Target I/O Reference for information on the blocks the software uses to program and communicate with the FPGA boards.
For more information on how to use the HDL Workflow Advisor with xPC Target, see FPGA Models in the xPC Target User's Guide.
The xPC Target software now supports real-time UDP applications with the following blocks:
For more information, see Real-Time UDP Communication Support in the xPC Target I/O Reference.
The following core Internet Protocol (IP) blocks were also added to support the real-time UDP blocks. In general, you do not need to access these blocks directly.
For more information, see IP Library for Real-Time UDP Communication Support in the xPC Target I/O Reference.
The xPC Target software now supports images and video frames from the following devices:
| Device | Description |
|---|---|
| USB webcams | Supported by the From USB Video Device and USB Video Device List blocks |
| Cameras that support the Automated Imaging Association's Camera Link® interface standard | Supported by the NEON BitFlow Image Input block |
To support these capabilities, the Video Utilities library provides the following blocks:
For more information, see Video Image Processing and BitFlow in the xPC Target I/O Reference.
This release contains the following new demos:
FPGA demos
Servo Control with the Speedgoat IO301 FPGA Board — Demonstrates programming and configuring the Speedgoat IO301 board with a simple PWM servo controller, hardware counter, and digital I/O.
Digital I/O with the Speedgoat IO303 FPGA Board — Demonstrates programming and configuring the Speedgoat IO303 board for digital I/O.
xPC Target API for Microsoft .NET Framework demos
Simple Client Application with the .NET API — Demonstrates the use of the xPC Target API for Microsoft .NET Framework to create a client human machine interface (HMI) for your target application.
Camera Link demos
Edge Detection with Camera Link and Bitflow Neon-CLB Frame Grabber — Demonstrates processing (Sobel edge detection) of video images captured with a Camera Link camera connected to the BitFlow™ Neon-CLB board.
Image Capture with Camera Link and Bitflow Neon-CLB Frame Grabber — Demonstrates a method to capture and view video images from a Camera Link camera attached to the BitFlow Neon-CLB board.
The xPC Target software now supports Microsoft Windows® 64-bit systems from the MATLAB command line.
xPC Target Explorer does not run on 64-bit systems. It continues to run on 32-bit systems. You can install the 32-bit version of MATLAB products on your 64-bit system.
If you install the 64-bit version of MATLAB products on your 64-bit system, use the command-line interface to set up xPC Target systems (see Configuring Environment From the MATLAB Command Line in the xPC Target User's Guide.
The Buffer block in the xPC Target library for Ethernet now has a minimum threshold parameter so that you can specify when the block begins to output buffers.
Support for a number of Ethernet cards has been added. For the most current list of supported cards, see http://www.mathworks.com/products/xpctarget/supported-hardware/xPC_Target_Supported_Ethernet_Chipsets.pdf.
The xPC Target software now supports the following compilers:
Microsoft Visual Studio® 2010 (10.0) Professional and Express, 32-bit and 64-bit
The xPC Target software no longer supports the Microsoft Visual Studio 2009 (9.0) Express compiler.
Use the xpcgetCC and xpcsetCC functions to configure the compiler. Use these commands instead of the CCompiler and CompilerPath properties. For more information, see Functions and Function Elements Being Removed.
The structure returned by the xpctarget.fs.readxpcfile function contains a new field, signalNames. This field is a cell array of the signal names acquired by the file scope.
| Function or Function Element Name | What Happens When You Use the Function or Element? | Use This Instead | Compatibility Considerations |
|---|---|---|---|
| xpctarget.xpc.set (target application object) target scope Mode property | Still works | DisplayMode | Replace all existing instances of Mode with DisplayMode. |
| xpctarget.xpc.set (target application object) file scope Mode property | Still works | WriteMode | Replace all existing instances of Mode with WriteMode. |
| xPC Target COM API | Still works | xPC Target API for Microsoft .NET Framework | Create custom applications using xPC Target API for Microsoft .NET Framework instead of xPC Target COM API. Existing custom application executables should continue to work on 32-bit host PCs. |
| CCompiler and CompilerPath | Still works. Warns. | xpcsetCC and xpcgetCC | Configure your compiler using the new functions. |
The Simulink category now contains the xPC Target software product.
This change impacts you in the following ways:
Finding and viewing this product through the MATLAB Desktop Start button and in the Help browser Contents and Demos panes.
Using the demo command to access the product demos.
If you upgrade your xPC Target software from a previous version, you must recreate the target PC boot image and you must rebuild your xPC Target applications. See Target Boot Method in the xPC Target Getting Started Guide.
![]() | Version 5.1 (R2011b) xPC Target | Version 4.4 (R2010b) xPC Target | ![]() |

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 |