Skip to content
Snippets Groups Projects
Commit bb39de54 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Preprocessor: delete _steadystate2.m file from previous run if exists

Closes: #224
parent 411a7fa6
No related branches found
No related tags found
No related merge requests found
...@@ -501,6 +501,9 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool console, ...@@ -501,6 +501,9 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool console,
string statfile = basename + "_static.m"; string statfile = basename + "_static.m";
unlink(statfile.c_str()); unlink(statfile.c_str());
string steadystatefile = basename + "_steadystate2.m";
unlink(steadystatefile.c_str());
if (!use_dll) if (!use_dll)
{ {
mOutputFile << "erase_compiled_function('" + basename + "_static');" << endl; mOutputFile << "erase_compiled_function('" + basename + "_static');" << endl;
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment