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 个评论

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

请先登录,再进行评论。

回答(1 个)

Sabin
Sabin 2025-12-23

0 个投票

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.

类别

帮助中心File Exchange 中查找有关 Multicore Processor Targets 的更多信息

回答:

2025-12-23

Community Treasure Hunt

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

Start Hunting!

Translated by