Count time while a program is running

Hello, i would like to know if there is any function that counts the time that a program spends while he is running. I'm doing some exercises and it would be useful for me to check how much time the program spends.

 채택된 답변

Image Analyst
Image Analyst 2012년 12월 14일
편집: Image Analyst 2012년 12월 14일

0 개 추천

Try tic and toc in your code,
tic;
% Some code....
toc;
or else try the profiling code on the pulldown menu.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 App Building에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by