how to change time interval to day, month and year?
조회 수: 1 (최근 30일)
이전 댓글 표시
In simulink stop time is given in seconds, how to change it to day, month and year.
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!