Run time of a code

2 views (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)

Tags

Community Treasure Hunt

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

Start Hunting!