View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
xPC Target CPU Overloads

5.0 | 3 ratings Rate this file 5 Downloads (last 30 days) File Size: 201 KB File ID: #23507 Version:
image thumbnail

xPC Target CPU Overloads


Doug Jones (view profile)


01 Apr 2009 (Updated )

Techniques for managing xPC Target CPU overloads.

| Watch this File

File Information

CPU overloads are generally a result of unexpected events or trying to do too much with too little. The default configuration of the xPC Target real-time kernel will stop model execution when a CPU overload is detected. This guarantees hard real-time performance. Nevertheless, it is possible to continue model execution in the presence of CPU overloads. Also, blocks are available that can sense and control the CPU overload counter. This allows for implementing exception handling when CPU overloads occur. These capabilities are described and test models are included to demonstrate.

Required Products Simulink Coder
Simulink Real-Time
MATLAB release MATLAB 7.8 (R2009a)
Other requirements An xPC Target supported compiler. See
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
07 Apr 2014 Dominic Wu

In attempting to determine CPU Overload on a Speedgoat i7 performance target machine my search lead me here. I am observing a strange occurance and hope you might shed some insight. Is it normal to have the target machine disconnect from the host Ethernet (xpcexplr connection goes from green to red) after running either Test1 or Test2 models? I'm having to resort to xpcexplr primary due to hardware vendor suggesting disabling of the graphics subsystem on the target (in addition to USB support). We are on the 2013b version of Simulink/RT.

14 Mar 2012 Thomas Marullo

Thanks, this helps me debug my code much better with CPU overloads

14 Mar 2012 Thomas Marullo

28 May 2009 1.2

Minor changes to Readme.pdf

28 May 2009 1.3

Minor changes to Readme.pdf

01 Sep 2016

Updated license

Contact us