how can I get execution time for each time?

12 views (last 30 days)
I have a problem in my code.It takes so long unlike before. I just need to know command that measure "each line" execution time in order to figure out my problem thank you in advance

Accepted Answer

the cyclist
the cyclist on 10 Dec 2016
Edited: the cyclist on 10 Dec 2016
I would start by reviewing this documentation page about code performance.
  3 Comments
the cyclist
the cyclist on 10 Dec 2016
Please look a little more carefully. For example, the profile command returns line-by-line results.

Sign in to comment.

More Answers (0)

Categories

Find more on Shifting and Sorting Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!