When to use exclusive or and parallel states in stateflow

4 次查看(过去 30 天)
In stateflow..we have two types in decomposition Exclusive Or and Parallel. In what scenarios we can use those two?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by