Run and Time stopping prematurely

I am trying to run a time break down on my code to see where it's taking the longest so I can speed it up. The problem is, MATLAB's Run and Time option isn't working properly. When I run the code, it says it only takes one second. However, I know for a fact that it takes more than a few minutes. Based on the output of the profiler, it's not timing the entirety of the code. I've attached a screen shot of what the output from the profiler looks like. As you can see, it simply stops running at line 29.

Réponses (0)

Catégories

Question posée :

le 19 Mar 2016

Commenté :

le 20 Mar 2016

Community Treasure Hunt

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

Start Hunting!

Translated by