Difference between MATLAB tic-toc time and actual time measured with a stop watch
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Mohsin Shah
il 30 Lug 2017
Commentato: Mohsin Shah
il 2 Ago 2017
Hello, this may seem stupid but I tried to check the time measured by tic-toc and the actual time measured with the help of stop watch for a certain program. I was surprised that tic-toc displayed about 4 minutes and my real world stop watch showed about 11 minutes. Can someone explain this mystery to me?
4 Commenti
H ZETT M
il 1 Ago 2017
has there been any delay in the output ? It seems weird that matlab is off by such a large amount
Risposta accettata
Rob Campbell
il 1 Ago 2017
You could also try "profview" if you want to see what's taking the time in your function. You'll get loads of detailed information and even hints on how to speed stuff up.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Performance and Memory in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!