Simulink Block for Real Time Execution

C-MEX S-function that reduces the execution speed of a model close to real time.
6.6K 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 (2024). 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
Categories
Find more on Simulink Real-Time in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Added Linux support using the POSIX high-resolution performance counter

1.1.0.0

Fix compilation when min macro is not defined.

1.0.0.0