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!