When to use exclusive or and parallel states in stateflow
Afficher commentaires plus anciens
In stateflow..we have two types in decomposition Exclusive Or and Parallel. In what scenarios we can use those two?
Réponses (1)
Muthukumar Ganesan
le 31 Juil 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.
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!