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 日

0 投票

Add an input to the Matlab function block and connect it to the output of a Clock block.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Simulink についてさらに検索

製品

リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by