Count time while a program is running
3 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
採用された回答
Image Analyst
2012 年 12 月 14 日
編集済み: Image Analyst
2012 年 12 月 14 日
Try tic and toc in your code,
tic;
% Some code....
toc;
or else try the profiling code on the pulldown menu.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!