Main Content

Integration method


Specify integration method of odeN solver


Default: ode3

ode1 (Euler)

Use the ode1 solver with a first order of accuracy

ode2 (Heun)

Use the ode2 solver with a second order of accuracy

ode3 (Bogacki-Shampine)

Use the ode3 solver with a third order of accuracy

ode4 (Runge-Kutta)

Use the ode4 solver with a fourth order of accuracy

ode5 (Dormand-Prince)

Use the ode5 solver with a fifth order of accuracy

ode8 (Dormand-Prince)

Use the ode8 solver with an eighth order of accuracy

ode14x (extrapolation)

Use the ode14x implicit solver.

ode1be (Backward Euler)

Use the ode1be solver. This solver uses the first-order Backward Euler integration method.


This option is visible when the following conditions are satisfied:

  • Solver Type is set to Variable-step.

  • Solver is set to odeN (Nonadaptive).

Command-Line Information

Parameter: ODENIntegrationMethod
Default: ode3

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Examples

More About