Run time of a code

1 次查看(过去 30 天)
Tinkul
Tinkul 2014-3-25
回答: Sara 2014-3-25
How can i find out run time of a code written in matlab.

采纳的回答

Sara
Sara 2014-3-25
You can use:
tic
...your code
toc
and you'll obtain something like:
Elapsed time is 0.04 seconds.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by