Difference between MATLAB tic-toc time and actual time measured with a stop watch
Ältere Kommentare anzeigen
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 Kommentare
Stephen23
am 30 Jul. 2017
@Mohsin Shah: how many time does the code call tic ? E.g. do you cal tic in a loop, or in any local/sub functions? Try doing a search and seeing where it is called from.
Mohsin Shah
am 1 Aug. 2017
H ZETT M
am 1 Aug. 2017
has there been any delay in the output ? It seems weird that matlab is off by such a large amount
Mohsin Shah
am 2 Aug. 2017
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!