Matlab program timer

1 view (last 30 days)
Ahsan Khan
Ahsan Khan on 24 Oct 2011
hello everyone. i want to know if its possible to output the time it took for the program to end successfully?
thanks in advance.
cheers

Accepted Answer

bym
bym on 24 Oct 2011
tic
%program goes here
toc %elapsed time

More Answers (0)

Categories

Find more on Get Started with 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!