Access Simulation Time in Simulink Model

4 ビュー (過去 30 日間)
Krupa Prag
Krupa Prag 2020 年 11 月 11 日
コメント済み: Krupa Prag 2020 年 11 月 12 日
In my Simulink Model I have a MATLAB function block which requires the current simulation times.
How can I access the current Simulation time from the Simulation Model?
Thanks.

採用された回答

Fangjun Jiang
Fangjun Jiang 2020 年 11 月 11 日
The Clock block provides the time.
  1 件のコメント
Krupa Prag
Krupa Prag 2020 年 11 月 12 日
Thank you!

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by