Run time of a code
4 views (last 30 days)
Show older comments
How can i find out run time of a code written in matlab.
0 Comments
Accepted Answer
Sara
on 25 Mar 2014
You can use:
tic
...your code
toc
and you'll obtain something like:
Elapsed time is 0.04 seconds.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!