When to use exclusive or and parallel states in stateflow

2 views (last 30 days)
In stateflow..we have two types in decomposition Exclusive Or and Parallel. In what scenarios we can use those two?

Answers (1)

Muthukumar Ganesan
Muthukumar Ganesan on 31 Jul 2022
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.


Find more on Configure and View Diagnostics 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!