필터 지우기
필터 지우기

Access Simulation Time in Simulink Model

조회 수: 2 (최근 30일)
Krupa Prag
Krupa Prag 2020년 11월 11일
댓글: Krupa Prag 2020년 11월 12일
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일
The Clock block provides the time.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by