Error message "Undefined function or variable 'tic0'."

I am running a mid-sized dynamic projection model. and got a message that ‘tic’ is not defined. Can anyone help? The detaile message is as below

writing steady state…
error happened. Somethings wrong.
Elapsed time is 4.298880 seconds.
Undefined function or variable ‘tic0’.

Error in XXX (line 2010)
disp(['Total computing time : ’ dynsec2hms(toc(tic0)) ]);

Error in dynare (line 235)
evalin(‘base’,fname) ;

Do you have a clear or clear all in your file?