real simulation time in Matlab function code

4 ビュー (過去 30 日間)
Syed Mohammad Maaz
Syed Mohammad Maaz 2022 年 1 月 28 日
回答済み: Les Beckham 2022 年 1 月 28 日
How can I use the current simulation time (lets say t) with my code in Matlab function block?

採用された回答

Les Beckham
Les Beckham 2022 年 1 月 28 日
Add an input to the Matlab function block and connect it to the output of a Clock block.

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by