Main Content
Integration method
Integration for nonadaptive odeN
variable-step solver
Since R2020a
Model Configuration Pane: Solver
Description
Choose which solver to use to integrate states on each time step of a simulation that uses the nonadaptive odeN
variable-step solver.
Dependencies
To enable this parameter:
Set the solver Type to
Variable-step
.From the Solver list, select
odeN (Nonadaptive)
.
Settings
ode3 (Bogacki-Shampine)
(default) | ode8 (Dormand-Price)
| ode5 (Dormand-Price)
| ode4 (Runge-Kutta)
| ode2 (Heun)
| ode1 (Euler)
| ode14x (extrapolation)
| ode1be (Backward Euler)
Select the solver to use to integrate states during simulation. The number in the solver name indicates the order of the solver. For more information about each solver option, see Solver.
Recommended Settings
The table summarizes recommended values for this parameter based on considerations related to code generation.
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: ODENIntegrationMethod |
Type: string | character vector |
Value:
'ode1' | 'ode2' | 'ode3' |
'ode4' | 'ode5' |
'ode8' | 'ode14x' |
'ode1be' |
Default:
'ode3' |
Version History
Introduced in R2020a