フィルターのクリア

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
Muruganandham Subramanian 2012 年 12 月 27 日

その他の回答 (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
  1 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2012 年 12 月 27 日
編集済み: Azzi Abdelmalek 2012 年 12 月 27 日
If you have'nt this toolbox you can use an interpreted matlab function where you will put the code pause(n). n is your step time

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by