diff --git a/preprocessor/ModFile.cc b/preprocessor/ModFile.cc index b066ed877074e6e23edcebe917fc0acc8fc8348a..20356dfbdf65618f9d62b566efbbdb88ae6cd78a 100644 --- a/preprocessor/ModFile.cc +++ b/preprocessor/ModFile.cc @@ -501,6 +501,9 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool console, string statfile = basename + "_static.m"; unlink(statfile.c_str()); + string steadystatefile = basename + "_steadystate2.m"; + unlink(steadystatefile.c_str()); + if (!use_dll) { mOutputFile << "erase_compiled_function('" + basename + "_static');" << endl;