measure the time and run of each part
2 次查看(过去 30 天)
显示 更早的评论
hi, how can measure the time of each part running in my code, if these parts within loop? i.e I want the total time of each part after finish the loop. thanks
0 个评论
采纳的回答
Image Analyst
2013-5-10
Have you tried the "Run and time" button on the toolstrip?
3 个评论
Image Analyst
2013-5-11
If you have R2012b or later, it's on the Home tab (tool bar ribbon). If you have an earlier version, ask someone else, like the Mathworks, because I don't have old versions. I think it's called something like profiler, perhaps - I don't remember.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!