Main Content

Number of Newton's iterations

Number of Newton's method iterations used by ode14x and ode1be solvers

Model Configuration Pane: Solver

Description

The ode14x and ode1be solvers use Newton's method to compute the model states for the next time step using the state values in the current time step. Use this parameter to specify the number of Newton's method iterations for the solver to use in each time step.

Dependencies

To enable this parameter when the solver Type is Fixed-step, from the Solver list, select ode14x (extrapolation).

To enable this parameter when the solver Type is Variable-step:

  • For the Solver parameter, select odeN (Nonadaptive).

  • For the Integration method parameter, select ode14x (extrapolation).

Settings

1 | scalar integer between 1 and 2147483647

More Newton's method iterations produce a more accurate solution but increases the computational intensity for each simulation step.

Recommended Settings

The table summarizes recommended values for this parameter based on considerations related to code generation.

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: NumberNewtonIterations
Type: scalar integer
Value: scalar integer between 1 and 2147483647
Default: 1

Version History

Introduced before R2006a