我在做Matlab仿真的时候老是出错,请哪位高手帮我看看,谢谢啦!!~

下面是我遇到的两个错误提示,不知道是什么意思,谢啦!~
1.jar:file:/C:/MATLAB7/java/jar/toolbox/dastudio.jar!/com/mathworks/toolbox/dastudio/diagView/resources/nag_red.gif Block error Max(COA) Simulink MinMax does not accept 'boolean' signals. The input and output signal(s) of 'a_a/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, or one of the Fixed-point data types
2.jar:file:/C:/MATLAB7/java/jar/toolbox/dastudio.jar!/com/mathworks/toolbox/dastudio/diagView/resources/nag_red.gif Block error Zero Strength(COA) Simulink An error occurred while propagating data type 'boolean' from 'a_a/Fuzzy Logic Controller/FIS Wizard/Defuzzification1/Zero Strength (COA)', output port 1

第1个回答  推荐于2018-04-10
在Simulation-configuation paraters-找到optimization,Imelpent.......boolean把前面的对勾去掉即可本回答被网友采纳
第2个回答  2012-04-19
1. minmax 不接受 boolean型变量,这个参数应该是'uint8', 'uint16', 'uint32', 'int8', 'int16', 'int32', 'single', or 'double' data types, or one of the Fixed-point data types
2.传递boolean变量时出错追问

那我具体应该怎么改呢?我应该在哪里选择我的变量类型?谢谢啦!~~