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-bf33cf982152
time-shift
sebastien 2008-09-26 16:26:21 +00:00
parent 919c2af259
commit 26adb11ae0
2 changed files with 3 additions and 3 deletions

View File

@ -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
%

View File

@ -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();
}