No unconditional default transitions
Diagnostic action to take when no uncoditional default transitions are detected
Model Configuration Pane: Diagnostics
Description
The No unconditional default transitions parameter specifies the diagnostic action to take when a chart does not have an unconditional default transition to a state.
This chart construct can cause inconsistency errors. To locate this construct in your model and correct it, use this diagnostic. If a chart contains local event broadcasts or implicit events, detection of a state inconsistency might not be possible until run time.
Settings
warning
(default) | error
| none
none
No warning or error appears.
warning
A warning appears.
error
An error appears and stops the simulation.
Recommended Settings
Application | Setting |
---|---|
Debugging | error |
Traceability | No impact |
Efficiency | No impact
(for simulation)none
(for production code generation) |
Safety precaution | error |
Programmatic Use
Parameter:
SFNoUnconditionalDefaultTransitionDiag |
Value:
'none' | 'warning' |
'error' |
Default:
'warning' |
Version History
Introduced in R2010a