1
function tictoctime=toc()
3
// toc() read the stopwatch timer.
4
// toc(), by itself, prints the elapsed time (in milliseconds) since tic() was used.
5
// V.C. & Allan CORNET 2004
9
if isempty(TICTOC) then
10
error("You must call tic() before calling toc().")
13
tictoctime=etime(getdate(),TICTOC);