workhorse for change_ThetasMmdlin RsNLME.ModelBuilder
saveUpdatedMetamodel(
mmdl_withComments,
mmdl_model,
resmodel,
metamodelFile,
updateModel = TRUE,
updatedBasedOn = "",
updatedEstArgsBlock = NULL,
updatedTablesBlock = NULL
)text of new metamodel
the metamodel text to be substituted
the old model from mmdl_withComments
the model to be pasted
the name of initial file with metamodel to be overwritten