mytime.m
When called without the reset argument, mytime() displays the current date and time, time since the last invocation, and total elapsed time (since the last reset). If a given time value is less than 120 seconds, it is displayed in seconds and hundredths of seconds. If at least 2 minutes but less than 120 minutes, it is displayed in minutes and hundredths of minutes. If greater than or equal to 120 minutes, it is displayed in hours and hundredths of hours.
When called with the reset argument (the value of this argument is unimportant), the timer is reset to zero.
Citar como
Phillip M. Feldman (2024). mytime.m (https://www.mathworks.com/matlabcentral/fileexchange/24038-mytime-m), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |