Execution time of m-file
显示 更早的评论
Hai. I need to find the execution time for m-files created for segmentation purpose. Which method do you prefer.I tried tic and toc but I am different results each time.Which is best to use?
采纳的回答
更多回答(1 个)
Walter Roberson
2013-4-12
0 个投票
Profiler effectively turns off JIT (the just in time compilation) with the result that the profile times could turn out very different (much worse) than actual times.
You might want to use the File Exchange contribution "timeit"
类别
在 帮助中心 和 File Exchange 中查找有关 Color Segmentation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!