real simulation time in Matlab function code

조회 수: 4 (최근 30일)
Syed Mohammad Maaz
Syed Mohammad Maaz 2022년 1월 28일
답변: Les Beckham 2022년 1월 28일
How can I use the current simulation time (lets say t) with my code in Matlab function block?

채택된 답변

Les Beckham
Les Beckham 2022년 1월 28일
Add an input to the Matlab function block and connect it to the output of a Clock block.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by