4.0

4.0 | 1 rating Rate this file 23 downloads (last 30 days) File Size: 129.08 KB File ID: #22298

xPC Target Delay Timer Block

by Doug Jones

 

02 Dec 2008 (Updated 28 May 2009)

Code covered by BSD License  

Describes a block that can be used to delay execution of an xPC Target application.

Download Now | Watch this File

File Information
Description

This simple utility block can be used to delay execution of an xPC Target application during each simulation time step. This is useful when you need to profile or investigate timing results as well as when you want to reserve or pre-allocate a specified amount of the simulation time step to account for future functionality. An example model demonstrating use of the block is also included.

Required Products Real-Time Workshop
Simulink
xPC Target
MATLAB release MATLAB 7.7 (R2008b)
Other requirements An xPC Target supported compiler. See http://www.mathworks.com/support/compilers/current_release/
Zip File Content  
Other Files delayTimer.c,
delayTimer.h,
delayTimerLib.mdl,
license.txt,
ReadMe.pdf,
rtwmakecfg.m,
sfcn_delayTimer.c,
sfcn_delayTimer.tlc,
xpcDelayTimerTest.mdl,
xpcDelayTimerTestResults.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
11 Mar 2009 tian wei

if I want to use it in MATLAB 2006b, how should I do? thank you!

Please login to add a comment or rating.
Updates
28 May 2009

Corrected BSD license copyright year.

Tag Activity for this File
Tag Applied By Date/Time
xpc target Doug Jones 02 Dec 2008 16:22:47
delay Doug Jones 02 Dec 2008 16:22:47
utility Doug Jones 02 Dec 2008 16:22:47
timer Doug Jones 02 Dec 2008 16:22:47
delay Rohit Rangdal 04 Jun 2009 07:39:08
 

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