5.0

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

xPC Target CPU Overloads

by

 

01 Apr 2009 (Updated )

Techniques for managing xPC Target CPU overloads.

| Watch this File

File Information
Description

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
xPC Target
MATLAB release MATLAB 7.8 (R2009a)
Other requirements An xPC Target supported compiler. See http://www.mathworks.com/support/compilers/current_release
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  
Updates
28 May 2009

Minor changes to Readme.pdf

28 May 2009

Minor changes to Readme.pdf

Contact us