Run time of a code

1 view (last 30 days)
Tinkul
Tinkul on 25 Mar 2014
Answered: Sara on 25 Mar 2014
How can i find out run time of a code written in matlab.

Accepted Answer

Sara
Sara on 25 Mar 2014
You can use:
tic
...your code
toc
and you'll obtain something like:
Elapsed time is 0.04 seconds.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!