Stateflow chart transient between state by time expired

3 次查看(过去 30 天)
I have a simple state machine and I need to transition between stage1 and stage2 based time elapsed.
I would like to transition from stage1 to the stage2 after some time is expired (100msec).
How should I set the transition condition?

采纳的回答

Jack Daniels
Jack Daniels 2025-9-18
I can use "after" event to transition from stage1 to stage2 ... and back and forth

更多回答(0 个)

类别

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

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by