数学建模社区-数学中国

标题: 各位大虾,请教一下SIMULINK中模糊控制的问题 [打印本页]

作者: 沙丁鱼    时间: 2006-9-28 16:08
标题: 各位大虾,请教一下SIMULINK中模糊控制的问题
Error in block 'liti/Fuzzy Logic  Controller': Block parameter 'fuzzy1' cannot be evaluated.  MATLAB error message: Undefined function or variable 'fuzzy1',是怎么回事呀?
作者: madio    时间: 2006-9-28 16:49
<p>错误提示说fuzzy1没有定义,你看看!</p>
作者: 沙丁鱼    时间: 2006-10-8 22:44
<p>那位好心人呀,能告诉俺,这个问题是由什么引起的吗?</p>
作者: 沙丁鱼    时间: 2006-10-9 12:10
<p>又整了一下,现在错误变成了:MinMax blocks do not accept 'boolean' signals. The input signal(s) of block 'liti/Fuzzy Logic&nbsp; Controller/FIS Wizard/Defuzzification1/Max (COA)' must be one of the MATLAB 'uint8', 'uint16', 'uint32', 'int8', 'int16', 'int32', 'single', or 'double' data types,郁闷呀,望高手支着.拜谢!!</p><p><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: &quot;Times New Roman&quot;; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;"><shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" opreferrelative="t" ospt="75" coordsize="21600,21600">&nbsp;<span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: &quot;Times New Roman&quot;; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;"><shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" opreferrelative="t" ospt="75" coordsize="21600,21600">&nbsp;<span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: &quot;Times New Roman&quot;; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;"><shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" opreferrelative="t" ospt="75" coordsize="21600,21600"> <stroke joinstyle="miter"></stroke><formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f></formulas><path gradientshapeok="t"></path><lock aspectratio="t" vext="edit"></lock></shapetype><shape id="_x0000_i1025" type="#_x0000_t75" style="WIDTH: 378pt; HEIGHT: 162pt;"><imagedata cropright="1024f" cropbottom="29346f" otitle="未命名" src="file:///C:\DOCUME~1\zjr\LOCALS~1\Temp\msohtml1\01\clip_image001.png"></imagedata></shape></span></shapetype></span></shapetype></span></p><p></p>
作者: madio    时间: 2006-10-9 14:37
<p>这个错误应该是说MinMax的输入不允许是布尔(boolean)类型的,而应该是Matlab所能接受的数值类型的,包括'uint8', 'uint16', 'uint32', 'int8', 'int16', 'int32', 'single', or 'double',你检查一下了!</p>




欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) Powered by Discuz! X2.5