hadck 发表于 2009-7-24 10:00:34

SImulink模糊控制问题


错误问题:1.MinMax does not accept 'boolean' signals. The input and output signal(s) of 'xuanjia4/Fuzzy LogicController/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 type
2、An error occurred while propagating data type 'boolean' from 'xuanjia4/Fuzzy LogicController/FIS Wizard/Defuzzification1/Zero Strength (COA)', output port 1
我用的7.0,按照下面操作步骤做错误更多!
在Simulation-》Configuration Parameters中找到Implement logic signals as boolean data
请高手指点!!!!!!1

hadck 发表于 2009-7-24 20:39:56

请高手指点!急!!!!!!!!!!

kokyo52 发表于 2009-7-25 18:52:13

错误的意思是,'xuanjia4/Fuzzy LogicController/FIS Wizard/Defuzzification1/Max (COA)' 的输入和输出不能为布尔型变量,加一个转换模块即可;
lz先试试把这个改了

hadck 发表于 2009-7-30 17:44:01

2# hadck

hadck 发表于 2009-7-30 17:44:52

谢谢!楼主,问题已经解决,是模糊规则出了问题

princell 发表于 2009-8-17 19:54:26

您好,我也遇到了同样的问题,您能教教我是怎么改的吗?谢谢啦,急啊!qq:253175278;tel:13904985246
页: [1]
查看完整版本: SImulink模糊控制问题