How to check how long implementation time took

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

Answers (1)

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

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!