Preprocessor: added model local variable definitions to parameter derivative file

time-shift
Sébastien Villemot 2011-03-07 11:59:12 +01:00
parent 688366d6f2
commit 796af7ee59
1 changed files with 2 additions and 0 deletions

View File

@ -3340,6 +3340,8 @@ DynamicModel::writeParamsDerivativesFile(const string &basename) const
if (isUnaryOpUsed(oSteadyState))
paramsDerivsFile << "global oo_;" << endl << endl;
writeModelLocalVariables(paramsDerivsFile, oMatlabDynamicModel);
writeTemporaryTerms(params_derivs_temporary_terms, paramsDerivsFile, oMatlabDynamicModel);
// Write parameter derivative