Access Simulation Time in Simulink Model

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.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息

产品

版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by