How to get amount simulation time on simulink?

There are some logical operations on simulink. How to get amount simulation time? What kind of configurations need to do?

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 14 日

0 投票

You can use clock block

6 件のコメント

Uugan
Uugan 2013 年 5 月 14 日
but clock shows only Simulation time -> stop time. That means if stop time = 10.0 then clock = 10;
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 14 日
Connect your clock block to "to workspace" block
Uugan
Uugan 2013 年 5 月 14 日
nothing changes... I think here need some configurations(ctrl+E).
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 14 日
What is not changing? What do you want to get?
Uugan
Uugan 2013 年 5 月 14 日
Clock shows stop time. I want to get T=0.000... value from statusbar on simulink.
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 14 日
No, clock block shows all the time for each step in simulation

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

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

製品

タグ

質問済み:

2013 年 5 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by