How to check how long implementation time took

3 次查看(过去 30 天)
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
How about tic and toc?
tic;
% Run some code...
toc
Or there's the Run and Time function on the tool ribbon.

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by