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

1 vue (au cours des 30 derniers jours)
Poornima Chandra Lekha Posa
Poornima Chandra Lekha Posa le 26 Fév 2021
In simulink stop time is given in seconds, how to change it to day, month and year.

Réponses (1)

Sai Veeramachaneni
Sai Veeramachaneni le 2 Mar 2021
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.

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by