Time Computation
显示 更早的评论
How to calculate compilation time for a code in seconds? tic-toc command gives time in machine cycles. Is there any way?
回答(2 个)
the cyclist
2012-6-23
0 个投票
Would using the profiler help?
Walter Roberson
2012-6-23
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Clocks and Timers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!