Is it possible to check which part of the script is taking longer time for execuation ?
Mostrar comentarios más antiguos
I am running one code and it is taking longer time to run it completely. I want to check for the particular part of the script which is taking longer time for execuation so that i can make necessary changes to that particular part and reduce the run time.
Respuestas (2)
dpb
el 2 de Oct. de 2014
doc profile
Mischa Kim
el 2 de Oct. de 2014
2 votos
Prathamesh, you are looking for the Profiler. For starters, simply choose [Run and Time] to execute your script:

Categorías
Más información sobre Variables en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!