how to change time interval to day, month and year?

조회 수: 1 (최근 30일)
Poornima Chandra Lekha Posa
Poornima Chandra Lekha Posa 2021년 2월 26일
답변: Sai Veeramachaneni 2021년 3월 2일
In simulink stop time is given in seconds, how to change it to day, month and year.

답변 (1개)

Sai Veeramachaneni
Sai Veeramachaneni 2021년 3월 2일
Hi,
Stop time indicates the period of time for the simulation to run from the start time. It is simulation time which is not same as clock time. Stop time should be specified in double precision value which is scaled to seconds.
I recommend you to convert the time from day,month and year to seconds.
Hope it helps.

카테고리

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