real simulation time in Matlab function code

4 Ansichten (letzte 30 Tage)
Syed Mohammad Maaz
Syed Mohammad Maaz am 28 Jan. 2022
Beantwortet: Les Beckham am 28 Jan. 2022
How can I use the current simulation time (lets say t) with my code in Matlab function block?

Akzeptierte Antwort

Les Beckham
Les Beckham am 28 Jan. 2022
Add an input to the Matlab function block and connect it to the output of a Clock block.

Weitere Antworten (0)

Kategorien

Mehr zu Event Functions finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by