Solver reset method
Option to specify whether solver recomputes Jacobian matrix during solver reset
Model Configuration Pane: Solver
Solver resets happen in response to certain simulation conditions, such as zero crossings. Use this parameter to prioritize solver reset speed against computational accuracy as needed for your model.
To enable this parameter:
Set the solver Type to
Set the Solver parameter to
ode23t (mod. stiff/Trapezoidal), or
Fast (default) |
The solver does not recompute the Jacobian matrix for each solver reset.
Selecting this option can improve simulation performance but simulations might produce inaccurate results.
The solver does recompute the Jacobian matrix for each solver reset.
If you suspect simulation results are incorrect, simulate with the robust solver reset method. If the simulation results do not change, revert back to the fast solver reset method.
The table summarizes recommended values for this parameter based on considerations related to code generation.
|Type: string | character vector
Introduced before R2006a