updateInitialAssignments
Update initial assignment rules to remove order dependencies
Syntax
Description
updateInitialAssignments(
updates
the active initial assignment rules in a SimBiology®
model
)model
to recover the same simulation results at time = 0, as in
R2017a or earlier when the initial assignment rules were evaluated according to the
order appeared in the model. As of R2017b, the order in which the initial assignment
rules appear in the model has no effect on the simulation results. For details, see
Evaluation Order of Rules.
[
returns a boolean indicating whether the model is updated,
tfUpdated
, ruleChanges
, newParameters
, modelBackup
] = updateInitialAssignments(model
)tfUpdated
, a table of changes made to the rules,
ruleChanges
, a vector of newly added parameters,
newParameters
, and a backup copy of the original model,
appending the text " (copy)
" to the original model name.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2017b