Simulink Block for Real Time Execution

version 1.2.0.0 (8.82 KB) by Ivo Houtzager
C-MEX S-function that reduces the execution speed of a model close to real time.

6.3K Downloads

Updated 11 Jul 2015

View License

This block is a version of the block given in the submission "Simulink Real Time Execution" (File ID:#21908) with some enhanced features. These blocks could be used to reduce the speed of a Simulink model so that it can be observed running in real time. Compared to the previous submission this version takes the execution time between the calculation steps into account. Furthermore, a high-resolution performance counter is used to get the time that exceeds one microsecond accuracy. As last the remaining time is calculated and given as output.

Cite As

Ivo Houtzager (2022). Simulink Block for Real Time Execution (https://www.mathworks.com/matlabcentral/fileexchange/30953-simulink-block-for-real-time-execution), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!