Transition outside natural parent
Diagnostic action to take when a transition outside of a natural parent is detected
Model Configuration Pane: Diagnostics
Description
The Transition outside natural parent parameter specifies the diagnostic action to take when a chart contains a transition that loops outside of the parent state or junction.
Settings
warning (default) | none | errornoneNo warning or error appears.
warningA warning appears.
errorAn error appears and stops the simulation.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | warning |
| Traceability | No impact |
| Efficiency | No impact
(for simulation)none
(for production code generation) |
| Safety precaution | error |
Programmatic Use
Parameter:
SFTransitionOutsideNaturalParentDiag |
Value:
'none' | 'warning' |
'error' |
Default:
'warning' |
Version History
Introduced in R2010a