MATLAB Answers

huda nawaf
0

measure the time and run of each part

Asked by huda nawaf
on 10 May 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

  0 Comments

Products

No products are associated with this question.

1 Answer

Answer by Image Analyst
on 10 May 2013
 Accepted answer

Have you tried the "Run and time" button on the toolstrip?

  3 Comments

No, i don't know how use it and where it

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.

thank u so much, I got it


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!