Commit 46e0873e authored by Houtan Bastani's avatar Houtan Bastani
Browse files

remove writing of getPowerDeriv M function from block code functions

parent 4f342655
......@@ -1034,7 +1034,6 @@ DynamicModel::writeModelEquationsCode(string &file_name, const string &bin_basen
fendblock.write(code_file, instruction_number);
FEND_ fend;
fend.write(code_file, instruction_number);
writePowerDeriv(code_file, false);
code_file.close();
}
......
......@@ -396,7 +396,6 @@ StaticModel::writeModelEquationsOrdered_M(const string &static_basename) const
break;
}
output << "end" << endl;
writePowerDeriv(output, false);
output.close();
}
}
......@@ -564,7 +563,6 @@ StaticModel::writeModelEquationsCode(const string file_name, const string bin_ba
fendblock.write(code_file, instruction_number);
FEND_ fend;
fend.write(code_file, instruction_number);
writePowerDeriv(code_file, false);
code_file.close();
}
......@@ -1238,7 +1236,6 @@ StaticModel::writeStaticMFile(const string &func_name) const
output << "end" << endl; // Close the if nargout >= 3 statement
output << "end" << endl; // Close the *_static function
writePowerDeriv(output, false);
output.close();
}
......@@ -1323,7 +1320,6 @@ StaticModel::writeStaticBlockMFSFile(const string &basename) const
}
output << " end" << endl
<< "end" << endl;
writePowerDeriv(output, false);
output.close();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment