Main Content
Masked zero crossings
Diagnostic action to take when zero crossings are masked
Model Configuration Pane: Diagnostics
Description
The Masked zero crossings configuration parameter specifies the diagnostic action for the software to take when zero crossings are being masked.
Dependencies
To enable this parameter, set the solver Type to Variable-step
.
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
The table summarizes recommended values for this parameter based on considerations related to code generation.
Application | Setting |
---|---|
Debugging | warning |
Traceability | No impact |
Efficiency | none |
Safety precaution | No impact |
Programmatic Use
Parameter: MaskedZcDiagnostic |
Type: string | character vector |
Values:
"none" | "warning" |
"error" |
Default:
"none" |
Version History
Introduced in R2010a