| Contents | Index |
The SolverOptions property is an object that holds the model solver options in the configset object. Changing the property SolverType changes the options specified in the SolverOptions object.
Properties of SolverOptions are summarized in Property Summary.
| AbsoluteTolerance | Specify largest allowable absolute error |
| ErrorTolerance | Specify explicit or implicit tau error tolerance |
| LogDecimation | Specify frequency to log stochastic simulation output |
| MaxIterations | Specify nonlinear solver maximum iterations in implicit tau |
| MaxStep | Specify upper bound on ODE solver step size |
| OutputTimes | Specify times to log deterministic simulation output |
| RandomState | Set random number generator |
| RelativeTolerance | Specify allowable error relative to component |
| SensitivityAnalysis | Enable or disable sensitivity analysis |
| Type | Display SimBiology object type |
| Applies to | Object: configset |
| Data type | Object |
| Data values | Solver options depending on SolverType. Default is SolverOptions for default SolverType (ode15s). |
| Access | Read-only |
This example shows the changes in SolverOptions for various SolverType settings.
Retrieve the configset object from the modelObj.
modelObj = sbiomodel('cell');
configsetObj = getconfigset(modelObj);Configure the SolverType to ode45.
set(configsetObj, 'SolverType', 'ode45'); get(configsetObj, 'SolverOptions') Solver Settings: (ode) AbsoluteTolerance: 1.000000e-006 RelativeTolerance: 1.000000e-003
Configure the SolverType to ssa.
set(configsetObj, 'SolverType', 'ssa'); get(configsetObj, 'SolverOptions') Solver Settings: (ssa) LogDecimation: 1 RandomState: []
Configure the SolverType to impltau.
set(configsetObj, 'SolverType', 'impltau'); get(configsetObj, 'SolverOptions') Solver Settings: (impltau) ErrorTolerance: 3.000000e-002 LogDecimation: 1 AbsoluteTolerance: 1.000000e-002 RelativeTolerance: 1.000000e-002 MaxIterations: 15 RandomState: []
Configure the SolverType to expltau.
set(configsetObj, 'SolverType', 'expltau'); get(configsetObj, 'SolverOptions') Solver Settings: (expltau) ErrorTolerance: 3.000000e-002 LogDecimation: 1 RandomState: []

See how to analyze, visualize, and model biological data and systems using MathWorks products.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |