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

采纳的回答

Image Analyst
Image Analyst 2013-5-10
Have you tried the "Run and time" button on the toolstrip?
  3 个评论
Image Analyst
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 CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by