The 'duration' operator cannot be bound to more than one state

3 次查看(过去 30 天)
Stateflow doesn't allow duration operator to be bound more than one state. Does anyone have an alternative? Thanks.

回答(1 个)

Muthukumar Ganesan
Muthukumar Ganesan 2023-4-28
There can be many solutions, one would be placing both a and b into a single parent state the let the parent state exit to State C using the transition condition with duration()

类别

Help CenterFile Exchange 中查找有关 Complex Logic 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by