Soft Real Time

Generate a real-time executable for Windows or Linux


Updated 30 Mar 2017

View License

This package contains two guides that explain, in a step by step fashion, how to start from an algorithm coded in either MATLAB or Simulink and use them to build an executable that runs in (soft) real time on either Windows or Linux.
The term "Soft" real time is used here to indicate that, since neither Windows or Linux are "hard real time" operating systems, we cannot guarantee that that errors with respect to the ideal execution rate will be bounded. Note however, that one could use extensions and patches like "preempt_rt" to gain hard real time capabilities if needed.

Cite As

Giampiero Campa (2023). Soft Real Time (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Code Generation 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