Real-Time Windows Target    

Real-Time Execution

For real-time execution on your PC computer, create a real-time application and use Simulink in external mode.

Real-time application -- Real-Time Workshop, the Real-Time Windows Target, and your C compiler produce an executable that the kernel can run in real time. This real-time application uses the initial parameters available from your Simulink model at the time of code generation.

If you use continuous-time components in your model and generate code with Real-Time Workshop, you must use a fixed-step integration algorithm.

Real-time execution -- The Real-Time Windows Target provides the necessary software that uses the real-time resources on your computer hardware. Based on your selected sample rate, the Real-Time Windows Target uses interrupts to step your application in real time at the proper rate. With each new interrupt, the executable computes all of the block outputs from your model.


  Nonreal-Time Simulation Development Process