Solver Jacobian Method
Method implicit solvers use to compute Jacobian matrix
Model Configuration Pane: Solver
Description
The Solver Jacobian Method parameter specifies how implicit solvers compute the Jacobian matrix. Selecting a sparse Jacobian method might speed up simulation for models with many continuous states.
Dependencies
To enable this parameter, configure your model with one of these parameter combinations:
Set the solver Type to
Variable-stepand use the Solver parameter to select one of these implicit solvers:ode15s (stiff/NDF)ode23s (stiff/Mod. Rosenbrock)ode23t (mod. stiff/Trapezoidal)ode23tb (stiff/TR-BDF2)daessc (DAE solver for Simscape™)
Set the solver Type to
Variable-step. For the Solver parameter, selectodeN (Nonadaptive). Then, for the Integration method parameter, selectode14x (extrapolation).Set the solver Type to
Fixed-stepand set the Solver parameter toode14x (extrapolation)orode1be (Backward Euler).
Settings
auto (default) | Sparse perturbation | Full perturbation | Sparse analytical | Full analyticalBy default, the software chooses the Jacobian method. For most models, the solver chooses a Jacobian method with sufficient accuracy.
When a referenced model configured to use a local solver has an implicit top solver or
parent solver, this parameter value must be auto or
Full perturbation.
For more information, see Choose a Jacobian Method for an Implicit Solver.
Programmatic Use
Parameter: SolverJacobianMethodControl |
| Type: string | character vector |
Value:
"auto" | "SparsePerturbation" |
"FullPerturbation" | "SparseAnalytical" |
"FullAnalytical" |
Default:
"auto" |
Version History
Introduced in R2010b