对上面模糊控制规则及仿真图形的补充:
在仿真时出现了大量的错误:
1、Input data dependency violation due to action subsystems. See Subsystem Examples in the Simulink library for valid and invalid examples of action subsystems.
2、Input ports (1, Action) of 'zfuzzy3/Fuzzy Logic Controller/FIS Wizard/Defuzzification2/Action: u1' are involved in the loop.
3、Input ports (1) of 'zfuzzy3/Fuzzy Logic Controller/FIS Wizard/Defuzzification2/Sum1' are involved in the loop.
。
。
。
。
还有很多阿,郁闷!!!
你好,刚刚看到你的错误提示中有一项“Input ports (1) of 'zfuzzy3/Fuzzy Logic Controller/FIS Wizard/Defuzzification2/Sum1' are involved in the loop.”我在建simulink模型的时候也出现过类似的错误。后来加了一个memory就可以了。建议你也试一下。可以看一下http://forum.simwe.com/archiver/tid-855878.html这个链接。我就是看了这个之后搞定的。