How to measure runtime, if it is possible to close my laptop during the run?
    4 views (last 30 days)
  
       Show older comments
    
so I don't want to count the pause time, when CPU is not working.
0 Comments
Answers (1)
  Fangjun Jiang
      
      
 on 26 Apr 2018
        
      Edited: Walter Roberson
      
      
 on 26 Apr 2018
  
      cputime()?
search "The cputime Function vs. tic/toc and timeit" on this page
0 Comments
See Also
Categories
				Find more on Introduction to Installation and Licensing in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
