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!