我有一個Stateflow的有狀態處理以下僞代碼: if input1==1 then
new_state=state2;
else if input==2 then
new_state=state3;
else
new_state=error_state;
end if;
如何建模否則在Stateflow的?目前我正在使用[〜(input == 1 ||
我正嘗試在Stateflow中使用ml函數。由於誤解我的錯誤,我嘗試使用示例:http://www.mathworks.com/help/stateflow/ug/calling-built-in-matlab-functions-and-accessing-workspace-data.html「我應該使用哪種ml?」部分。 我得到錯誤: Subscript indices must be of
我正在開發一個包含一些Stateflow圖表的MATLAB Simulink嵌入式系統。我成功地生成了C代碼。不幸的是,構建模型會引發一些警告。其中之一是: Warning: Junction #1277 does not have an unconditional path
to a state or a terminal junction AND it has multiple paths