Select the order of the numerical differentiation formulas (NDFs) used in
Specifies that the solver uses fifth order NDFs.
Specifies that the solver uses first order NDFs.
Specifies that the solver uses second order NDFs.
Specifies that the solver uses third order NDFs.
Specifies that the solver uses fourth order NDFs.
Although the higher order formulas are more accurate, they are less stable.
If your model is stiff and requires more stability, reduce the maximum order to 2 (the highest order for which the NDF formula is A-stable).
As an alternative, you can try using the
ode23s solver, which is a lower order
(and A-stable) solver.
This parameter is enabled only if Solver is set to
|Safety precaution||No impact|