Time Computation
Mostrar comentarios más antiguos
How to calculate compilation time for a code in seconds? tic-toc command gives time in machine cycles. Is there any way?
Respuestas (2)
the cyclist
el 23 de Jun. de 2012
0 votos
Would using the profiler help?
Walter Roberson
el 23 de Jun. de 2012
toc stops a stopwatch timer started by the tic function, and displays the time elapsed in seconds.
So tic/toc already uses seconds, not machine cycles.
Categorías
Más información sobre Clocks and Timers en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!