When to use exclusive or and parallel states in stateflow
Show older comments
In stateflow..we have two types in decomposition Exclusive Or and Parallel. In what scenarios we can use those two?
Answers (1)
Muthukumar Ganesan
on 31 Jul 2022
0 votes
Hi,
Exclusive OR: Used where the operating modes are mutually exclusive i.e., only one substate can be active at a time
Ex: Vehicle Gear Positions
Parallel: Used where the operating modes are concurrent i.e., All substates are active at the same time
Ex: Each diagnostic tests
Hope this helps. Thanks.
Categories
Find more on Stateflow Charts in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!