Where can I see how much time it takes to simulate a .m file?
Show older comments
Hy I have matlab 2010 and I want to see how much time spends my program to calculate my answer.
Accepted Answer
More Answers (2)
Kaustubha Govind
on 13 Jun 2011
0 votes
siddhu
on 14 Jun 2011
0 votes
Hi, I have one more way to do it.Add tic at start part of the code and toc at the end part of the code in .m file . tic-toc are used to display how much time the .mfile is taking for simulation.
Categories
Find more on Performance and Memory 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!