Simulink start time timestamp

조회 수: 2 (최근 30일)
Rouzbeh
Rouzbeh 2014년 4월 29일
답변: Rouzbeh 2014년 4월 29일
Hello,
I would like to know how I can get an absolute time stamp for the start time of simulation. I do NOT want to continuously produce time stamps for the duration of the simulation, I only want one for when I press Run (preferably right in the model without using separate functions).
Is there a quick and easy way to do this or do I need to use event listeners to check when start is pressed.
Thank you, Rouzbeh

답변 (1개)

Rouzbeh
Rouzbeh 2014년 4월 29일
Please disregard the question. The solution was simpler than I thought. I modified the StartFcn Callbak in the Model Properties and got what I wanted.
Thank you

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by