Clear Filters
Clear Filters

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

4 views (last 30 days)
Stateflow doesn't allow duration operator to be bound more than one state. Does anyone have an alternative? Thanks.

Answers (1)

Muthukumar Ganesan
Muthukumar Ganesan on 28 Apr 2023
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()


Find more on Complex Logic 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!