Difference between MATLAB tic-toc time and actual time measured with a stop watch
조회 수: 6 (최근 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
2017년 8월 1일
has there been any delay in the output ? It seems weird that matlab is off by such a large amount
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Performance and Memory에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!