| Property |
Accepted values |
Effect |
|
EquationType
|
'standard', 'fullyimplicit'
|
'standard' uses ODEFcn(t,y). 'fullyimplicit' uses residuals ODEFcn(t,y,yp). |
|
Solver
|
'auto', 'autoswitch', 'nonstiff', 'stiff', solver names |
Selects the integration method. 'auto' chooses from the problem type. 'autoswitch' can restart with a stiff method when stiffness is detected. |
|
SolverOptions
|
Options object matching the selected solver |
Stores tolerances, output function, step-size bounds, and solver-specific settings. |
|
Parameters
|
Numeric vector or cell array |
Passed after the standard arguments to the ODE, event, output, and event-response callbacks. A cell array expands to one argument per cell. |
|
SeparateComplexParts
|
'off', 'on'
|
With 'on', complex states are integrated through separated real and imaginary parts, while returned results use the original complex shape. |
| Family |
Solver values |
Notes |
| Nonstiff |
'ode23', 'ode45', 'ode78', 'ode89', 'ode113'
|
Use for smooth explicit problems. |
| Stiff or mass matrix |
'ode15s', 'ode23s', 'ode23t', 'ode23tb'
|
Use when a problem has fast decaying modes, a mass matrix, or a useful Jacobian. |
| Fully implicit |
'ode15i', 'idas'
|
'idas' is available only when Nelson is built with the optional SUNDIALS backend. |
| Optional backend |
'cvodesnonstiff', 'cvodesstiff', 'idas'
|
NELSON_SUNDIALS_RUNTIME can be OFF to force the in-tree fallback or ON to allow the backend when compiled. |