measuring time

Hi everyone!
Simple question.. How do i measure the time matlab is working? i´m sure there must be a command which computes this, but i don´t know it!
thanks a lot for your help!
Juan Carlos

回答(2 个)

Jason Ross
Jason Ross 2011-4-22

1 个投票

Check out tic and toc
Walter Roberson
Walter Roberson 2011-4-22

0 个投票

If you need clock time instead of cpu time, see clock() and etime(); and possibly now() as well.

类别

帮助中心File Exchange 中查找有关 Entering Commands 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by