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개)

Walter Roberson
Walter Roberson 2012년 6월 23일

0 개 추천

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에서 MATLAB에 대해 자세히 알아보기

태그

질문:

2012년 6월 23일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by