how can I get execution time for each time?

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

 Réponse acceptée

the cyclist
the cyclist le 10 Déc 2016
Modifié(e) : the cyclist le 10 Déc 2016

0 votes

I would start by reviewing this documentation page about code performance.

3 commentaires

ahmed youssef
ahmed youssef le 10 Déc 2016
These commands are clear. However, I need program/code to compute time-consuming in each line not entire program.
the cyclist
the cyclist le 10 Déc 2016
Please look a little more carefully. For example, the profile command returns line-by-line results.
ahmed youssef
ahmed youssef le 12 Déc 2016
thank you. solved my problem

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Entering Commands dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by