How to know time that spent matlab in solving problem?
Afficher commentaires plus anciens
How to know the time that spent matlab in solving or calculating the problem?
Réponses (2)
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.
Azzi Abdelmalek
le 19 Août 2014
0 votes
Use tic toc
Catégories
En savoir plus sur App Building dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!