Automatic solver parameter selection - Diagnostic action to take when the software changes a solver parameter
value - MATLAB ([original](https://www.mathworks.com/help/simulink/gui/automaticsolverparameterselection.html)) ([raw](?raw))
Main Content
Diagnostic action to take when the software changes a solver parameter value
Model Configuration Pane: Diagnostics
Description
The Automatic solver parameter selection parameter specifies the diagnostic action to take when the software changes the value of a solver parameter during simulation, including both of these situations:
- 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 isauto
, the software determines the minimum step size.
The software does not issue this diagnostic when determining theSolver parameter value for simulation when the value in the model isauto
.
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.
Programmatic Use
Parameter: SolverPrmCheckMsg | |
---|---|
Type: string | character vector | |
Value: "none" | "warning" | "error" |
Default: "none" |
Version History
Introduced before R2006a