measure the time and run of each part

1 Ansicht (letzte 30 Tage)
huda nawaf
huda nawaf am 10 Mai 2013
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

Akzeptierte Antwort

Image Analyst
Image Analyst am 10 Mai 2013
Have you tried the "Run and time" button on the toolstrip?
  3 Kommentare
Image Analyst
Image Analyst am 11 Mai 2013
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.
huda nawaf
huda nawaf am 11 Mai 2013
thank u so much, I got it

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by