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.

Answers (1)

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

Asked:

on 21 Mar 2013

Community Treasure Hunt

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

Start Hunting!