Be the first to rate this file! 16 downloads (last 30 days) File Size: 201.29 KB File ID: #23507

xPC Target CPU Overloads

by Doug Jones

 

01 Apr 2009 (Updated 28 May 2009)

Code covered by BSD License  

Techniques for managing xPC Target CPU overloads.

Download Now | 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 Real-Time Workshop
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
Zip File Content  
Other Files
license.txt,
ReadMe.pdf,
timedelay.m,
timedelay.tlc,
timedelaylib.mdl,
xpcCPUOverloadTest1.mdl,
xpcCPUOverloadTest2.mdl,
xpcCPUOverloadTest3.mdl,
xpcCPUOverloadTest4.mdl,
xpcCPUOverloadTest5.mdl,
xpcCPUOverloadTest6.mdl,
xpcCPUOverloadTest7.mdl,
xpcCPUOverloadTest8.mdl,
xpcCPUOverloadTestPlot.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
28 May 2009

Minor changes to Readme.pdf

28 May 2009

Minor changes to Readme.pdf

Tag Activity for this File
Tag Applied By Date/Time
xpc target Doug Jones 01 Apr 2009 11:39:09
cpu overload Doug Jones 01 Apr 2009 11:39:10
real time Doug Jones 01 Apr 2009 11:39:10
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com