Automatic solver parameter selection
Diagnostic behavior when the software changes a solver parameter value
Model Configuration Pane: Diagnostics
Description
This parameter specifies whether the software issues no diagnostic, a warning, or an error when the software changes the value of a solver parameter during simulation. This diagnostic behavior applies when:
The software changes the value of a parameter with an explicitly specified value.
For example, if you select a continuous solver for a model that does not contain continuous states, the software changes the solver selection to the discrete solver.
The software determines the value for a parameter with a value that specifies that the software chooses the parameter value.
For example, when the Min step size parameter value is
auto
, the software determines the minimum step size.The software does not issue this diagnostic when determining the Solver parameter value for simulation when the value in the model is
auto
.
Settings
none
(default) | warning
| error
none
The software does not issue a diagnostic.
warning
The software issues a warning.
error
The software issues an error and terminates the simulation.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |
Programmatic Use
Parameter: SolverPrmCheckMsg |
Value: 'none' | 'warning' | 'error' |
Default: 'none' |
Version History
Introduced before R2006a