real-time vs simulation

i've running my control model by simulation and got the signal i want.when i used the control model by simulation for the real-time, there is no signal at all. what are the difference between simulation and real-time of the control model? how do i develop the control model for the real-time?are the elements/components for the real-time still the same as simulation components?how about the period of control model for the real-time system?

1 Comment

Hi,
what do you mean by "for the real-time". Do you mean Simulink Coder (Real-Time Workshop in older releases)?
Titus

Sign in to comment.

Answers (1)

Sabin
Sabin on 23 Dec 2025

0 votes

Simulation is more flexible and forgiving; real-time control demands precise timing, hardware compatibility, and robust code. Test and adapt your model for real-time constraints to ensure it works outside simulation. The Simulink components for desktop and real-time simulation are the same but for real-time we generate code and we run it on a dedicated platform.

Categories

Asked:

on 10 Nov 2011

Answered:

on 23 Dec 2025

Community Treasure Hunt

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

Start Hunting!