Info

此问题已关闭。 请重新打开它进行编辑或回答。

Execute functions only when there is a specific State transition in Stateflow

1 次查看(过去 30 天)
Hi.I need a help with the following .
I have 3 exclusive states A, B, C. I have 2 functions P, Q within state B.
The function P must b executed only when there is a transition from A to B
The function Q must be executed only when there is a transition from C to B
Is there a specific syntax or in built command in matlab that can be used to execute this??

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2019-5-20

标签

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by