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.

 채택된 답변

Fangjun Jiang
Fangjun Jiang 2020년 11월 11일

1 개 추천

The Clock block provides the time.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Modeling에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2020년 11월 11일

댓글:

2020년 11월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by