File Exchange

image thumbnail

xPC Target CPU Overloads

version 1.3.0.1 (201 KB) by

Techniques for managing xPC Target CPU overloads.

7 Downloads

Updated

View License

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.

Comments and Ratings (3)

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.

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

Updates

1.3.0.1

Updated license

1.3

Minor changes to Readme.pdf

1.2

Minor changes to Readme.pdf

MATLAB Release
MATLAB 7.8 (R2009a)

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

» Watch video