Difference between MATLAB tic-toc time and actual time measured with a stop watch

4 次查看(过去 30 天)
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 个评论
H ZETT M
H ZETT M 2017-8-1
has there been any delay in the output ? It seems weird that matlab is off by such a large amount
Mohsin Shah
Mohsin Shah 2017-8-2
May be I can note the time for every function and script and then take the sum. In this way, I can figure it out I guess.

请先登录,再进行评论。

采纳的回答

Rob Campbell
Rob Campbell 2017-8-1
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 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by