Info

此问题已关闭。 请重新打开它进行编辑或回答。

I want to time the time interval which an object spends it in a virtual box, how it can be done in matlab?

1 次查看(过去 30 天)
I have used tic toc function but it returns time in an unknown format after processing a 3000 frames from live acquisition color detection & tracking it returned 206.829 and I don't believe this is the time elapsed as I measured it using stopwatch it returned 168.8 seconds
  1 个评论
Gopichandh Danala
Gopichandh Danala 2016-9-23
if u show us a demo of your code or something it will be easier to understand.
tic toc is a stop watch timer and it is accurate based on ur code execution time and where you placed tic and toc in your code..
may be you r using tic and toc and respective your own stopwatch at a different pace as far as i know tic toc is pretty accurate

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by