Simulink Block for Real Time Execution
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: High Accuracy Timer
Inspired: Simple EtherCAT Master for Simulink Windows Desktop
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.