real-time vs simulation

7 views (last 30 days)
Nur Huda Amin
Nur Huda Amin on 10 Nov 2011
Answered: Sabin on 23 Dec 2025 at 17:14
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
Titus Edelhofer
Titus Edelhofer on 10 Nov 2011
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 at 17:14
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

Find more on Multicore Processor Targets in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!