Bootstrap

matlab中的模糊控制工具箱,4步学会使用matlab模糊控制工具箱

有关错误解决办法

MATLAB功能强大,很多同学用其做控制算法的仿真

但是其中的fuzzy logic controller刚开始用常常容易出错

常见报错:

1、MinMax blocks do not accept 'boolean' signals. The input signal(s) of block

'mkkzq1/Subsystem/Fuzzy Logic Controller with Ruleviewer/Fuzzy Logic Controller/FIS Wizard/Defuzzification1/Max (COA)' must be one of the MATLAB 'uint8', 'uint16', 'uint32', 'int8', 'int16', 'int32', 'single', or 'double' data types

2、An error occurred while propagating data type 'boolean' from block

'mkkzq1/Subsystem/Fuzzy Logic Controller with Ruleviewer/Fuzzy Logic Controller/FIS Wizard/Defuzzification1/Zero Strength (COA)', output port 1。

以下是解决方案:

1、fis编辑器(MATLAB的command window中键入fuzzy打开)中,建立好规则后,file-export-to workspace

2、对于7.0版本,simulink模型窗口菜单中,Simulation-Confi

;