How should I run a simulation in simulink so that the simulation matches the real time clock?

1 次查看(过去 30 天)
I have made a battery charging and discharging model wherein I have used a variable type solver.
But I need the simulation to run with the real time clock.
My problem is that if I give the simulation time as 100 s then the simulation gets completed much earlier.

采纳的回答

Muruganandham Subramanian

更多回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2012-12-27
编辑:Azzi Abdelmalek 2012-12-27
If you have a Real time windows target toolbox you can simulate on real time

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by