Run time of a code
1 view (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
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!