How to test the times cost of each part in a program

1 visualización (últimos 30 días)
xueqi
xueqi el 28 de Oct. de 2013
Respondida: Simon el 28 de Oct. de 2013
Dear Fellows,
I am trying to improve a program which runs very slowly. As there are a lot of nested functions, I need to find out which function costs the most time. Do you know how to realize that? For example, the main funciton call function1 and function1 calls function2 and so on...How could I indentify which function costs the enormous time?

Respuesta aceptada

Simon
Simon el 28 de Oct. de 2013
Hi!
Use the profiler, located under "Tools" in the menu bar.

Más respuestas (0)

Categorías

Más información sobre Variables en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by