Where can I see how much time it takes to simulate a .m file?
显示 更早的评论
Hy I have matlab 2010 and I want to see how much time spends my program to calculate my answer.
采纳的回答
更多回答(2 个)
Kaustubha Govind
2011-6-13
0 个投票
siddhu
2011-6-14
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Performance and Memory 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!