Self transition on leaf state
Diagnostic action to take when a self transition on a leaf state is detected
Model Configuration Pane: Diagnostics
Description
The Self transition on leaf state parameter specifies the diagnostic action to take when you can remove a self-transition on a leaf state. Some self-transitions with no actions in the leaf state or on the self-transition have no effect on chart execution. Removing these transitions simplifies the state diagram.
Settings
warning (default) | none | errorDefault: warning
noneNo warning or error appears.
warningA warning appears.
errorAn error appears and stops the simulation.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | error |
| Traceability | error |
| Efficiency | No impact |
| Safety precaution | error |
Programmatic Use
Parameter: SFSelfTransitionDiag |
Value: 'none' | 'warning' | 'error' |
Default: 'warning' |
Version History
Introduced in R2016b