Option to preserve shape of states using derivative information at each time step
Model Configuration Pane: Solver
Shape preservation uses the information about state derivatives at each time step to preserve the shape of each state and improve simulation accuracy.
To enable this parameter:
Set the solver Type to
Set the Solver parameter to a value other than
discrete (no continuous states).
Disable all (default) |
No shape preservation performed for any states. This option typically provides sufficient accuracy for most models.
Shape preservation performed for all states. This option can increase accuracy in models with state derivatives that have high rates of change. Shape preservation increases computational complexity and might decrease simulation speed.
The table summarizes recommended values for this parameter based on considerations related to code generation.
|Type: string | character vector
Introduced in R2008a