why stateflow during never execute?

2 ビュー (過去 30 日間)
timo
timo 2016 年 8 月 31 日
コメント済み: timo 2016 年 8 月 31 日
If i have a transition from A TO B state(no condition on transition) From B I make transition to C(no condition) I observed B during action never execute; I tested this by putting a breakpoint on B for during action Is this normal ?

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 8 月 31 日
There is an unconditional transition from B to C, which means there is no during action. But you can see the action in B when you use
entry: out=...
  2 件のコメント
timo
timo 2016 年 8 月 31 日
I observed this behaviour also with a conditional action from B to C
timo
timo 2016 年 8 月 31 日
Mathworks states during du Executes when the state is active and a specific event occurs
That means we need to put during action when we have events ? This doesnt make sense as i saw example from Mathworks where they increment variables in du: and they had no event

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeComplex Logic についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by