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

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-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