remove writing of getPowerDeriv M function from block code functions
parent
4d4456b8d6
commit
c6a33a96f1
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue