cputime
cputime
returns the CPU time in seconds that has been used by the MATLAB process since MATLAB started.The return value can overflow the internal representation and wrap around.
returns the CPU time used to runt = cputime; surf(peaks(40)); e = cputime-t
e =
0.4667
surf(peaks(40))
.
clock
,etime
,tic
,toc
(c) Copyright 1994 by The MathWorks, Inc.