File Exchange

image thumbnail

xPC Target CPU Overloads

version 1.3.0.1 (201 KB) by Doug Jones
Techniques for managing xPC Target CPU overloads.

2 Downloads

Updated 01 Sep 2016

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.

Cite As

Doug Jones (2020). xPC Target CPU Overloads (https://www.mathworks.com/matlabcentral/fileexchange/23507-xpc-target-cpu-overloads), MATLAB Central File Exchange. Retrieved .

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.0.0

Minor changes to Readme.pdf

1.2.0.0

Minor changes to Readme.pdf

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux