How to know time that spent matlab in solving problem?

Respuestas (2)

Evan
Evan el 19 de Ag. de 2014
Editada: Evan el 19 de Ag. de 2014
help profile
or
help tic
Running tic and toc will simply tell you how much time passed between the respective commands.
Running profile on and profile viewer will give more detailed information, including the time spent in each subfunction of your code. It can be very helpful for finding bottlenecks.

Categorías

Más información sobre App Building en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 19 de Ag. de 2014

Editada:

el 19 de Ag. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by