0

次の疑似コードを処理する状態を持つ Stateflow があります。

if input1==1 then
  new_state=state2;
else if input==2 then
  new_state=state3;
else
  new_state=error_state;
end if;

Stateflow で else をモデル化する方法は? 現在、[~(input==1 || input==2)] を使用していますが、トランジションが 10 になると非常に厄介になります。

4

1 に答える 1