Stateflow | ![]() ![]() |
What Is a Default Transition?
The default transition object is a transition with a destination, but no source object. Default transitions specify which exclusive (OR) state is to be active when there is ambiguity between two or more exclusive (OR) states at the same level in the hierarchy. Default transitions also specify that a junction should be entered by default.
In the Lights
subsystem, the default transition to the Lights
.Off
substate indicates that when the Lights
superstate becomes active, the Off
substate becomes active by default.
Default transitions specify which exclusive (OR) substate in a superstate the system enters by default, in the absence of any information. History junctions override default transition paths in superstates with exclusive (OR) decomposition.
![]() | Creating Transitions | Creating Default Transitions | ![]() |