how to change time interval to day, month and year?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Poornima Chandra Lekha Posa
el 26 de Feb. de 2021
Respondida: Sai Veeramachaneni
el 2 de Mzo. de 2021
In simulink stop time is given in seconds, how to change it to day, month and year.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/532539/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/532539/image.jpeg)
0 comentarios
Respuestas (1)
Sai Veeramachaneni
el 2 de Mzo. de 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.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!