How to check how long implementation time took

Is there a way in `matlab` (i.e; function) to check how long your program took to finish running?
Thanks.

回答 (1 件)

Image Analyst
Image Analyst 2013 年 3 月 21 日

1 投票

How about tic and toc?
tic;
% Run some code...
toc
Or there's the Run and Time function on the tool ribbon.

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2013 年 3 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by