trunk: renamed sec2hms.m to dynsec2hms.m (name collision with Matlab package)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2116 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
919c2af259
commit
26adb11ae0
|
@ -1,5 +1,5 @@
|
|||
function hms = sec2hms(secs)
|
||||
% SEC2HMS Converts a number of seconds into a hours-minutes-seconds string
|
||||
function hms = dynsec2hms(secs)
|
||||
% DYNSEC2HMS Converts a number of seconds into a hours-minutes-seconds string
|
||||
|
||||
% Copyright (C) 2008 Dynare Team
|
||||
%
|
|
@ -195,6 +195,6 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all) const
|
|||
mOutputFile << "save('" << basename << "_results.mat', 'oo_');" << endl;
|
||||
mOutputFile << "diary off" << endl;
|
||||
|
||||
mOutputFile << endl << "disp(['Total computing time : ' sec2hms(toc) ]);" << endl;
|
||||
mOutputFile << endl << "disp(['Total computing time : ' dynsec2hms(toc) ]);" << endl;
|
||||
mOutputFile.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue