How to measure runtime, if it is possible to close my laptop during the run?

1 次查看(过去 30 天)
so I don't want to count the pause time, when CPU is not working.

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2018-4-26
编辑:Walter Roberson 2018-4-26
cputime()?
search "The cputime Function vs. tic/toc and timeit" on this page

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by