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 Center および File ExchangeSimulink についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by