⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fuzwiz.mdl

📁 模糊控制工具箱,很好用的,有相应的说明文件,希望对大家有用!
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      SampleTime	      "-1"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "MS Sans Serif"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "MS Sans Serif"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "fuzwiz"
    Location		    [851, 54, 1243, 379]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "Centroid of Area"
      Ports		      [1, 1]
      Position		      [50, 224, 125, 276]
      FontName		      "Helvetica"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "COA Defuzzification"
      MaskPromptString	      "Output Range:"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "range=@1;"
      MaskInitialization      "Xdata = linspace(range(1),range(2),101);"
      MaskDisplay	      "disp('COA')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Centroid of Area"
	Location		[148, 447, 842, 839]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "MF values"
	  Position		  [25, 100, 45, 120]
	  FontName		  "Helvetica"
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Action: One"
	  Ports			  [0, 1, 0, 0, 0, 0, 0, 1]
	  Position		  [355, 122, 425, 158]
	  TreatAsAtomicUnit	  on
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Action: One"
	    Location		    [342, 471, 840, 771]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      ActionPort
	      Name		      "Action Port"
	      Position		      [170, 15, 229, 43]
	      ActionType	      "then"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "One"
	      Position		      [175, 80, 205, 110]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [325, 88, 355, 102]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "One"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Action: u1"
	  Ports			  [1, 1, 0, 0, 0, 0, 0, 1]
	  Position		  [360, 197, 430, 233]
	  TreatAsAtomicUnit	  on
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Action: u1"
	    Location		    [342, 471, 840, 771]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "u1"
	      Position		      [75, 78, 105, 92]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      ActionPort
	      Name		      "Action Port"
	      Position		      [170, 15, 229, 43]
	      ActionType	      "else"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "u2"
	      Position		      [325, 78, 355, 92]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "u1"
	      SrcPort		      1
	      DstBlock		      "u2"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Product
	  Name			  "Averaging\n(COA)"
	  Ports			  [2, 1]
	  Position		  [530, 37, 560, 68]
	  FontName		  "Helvetica"
	  Inputs		  "*/"
	}
	Block {
	  BlockType		  If
	  Name			  "If"
	  Ports			  [1, 2]
	  Position		  [225, 91, 325, 129]
	  IfExpression		  "u1 < 0"
	}
	Block {
	  BlockType		  Merge
	  Name			  "Merge"
	  Ports			  [2, 1]
	  Position		  [470, 130, 510, 170]
	}
	Block {
	  BlockType		  Product
	  Name			  "Product\n(COA)"
	  Ports			  [2, 1]
	  Position		  [175, 27, 205, 58]
	  FontName		  "Helvetica"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [1, 1]
	  Position		  [280, 35, 300, 55]
	  ShowName		  off
	  FontName		  "Helvetica"
	  IconShape		  "round"
	  Inputs		  "+"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [1, 1]
	  Position		  [140, 100, 160, 120]
	  ShowName		  off
	  FontName		  "Helvetica"
	  IconShape		  "round"
	  Inputs		  "+"
	}
	Block {
	  BlockType		  Constant
	  Name			  "x data"
	  Position		  [20, 19, 60, 51]
	  FontName		  "Helvetica"
	  Value			  "Xdata"
	}
	Block {
	  BlockType		  Outport
	  Name			  "defuzzified\noutput"
	  Position		  [590, 45, 610, 65]
	  ShowName		  off
	  FontName		  "Helvetica"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Averaging\n(COA)"
	  SrcPort		  1
	  DstBlock		  "defuzzified\noutput"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Averaging\n(COA)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "MF values"
	  SrcPort		  1
	  Points		  [50, 0]
	  Branch {
	    DstBlock		    "Sum1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -60]
	    DstBlock		    "Product\n(COA)"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Product\n(COA)"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "x data"
	  SrcPort		  1
	  DstBlock		  "Product\n(COA)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  Points		  [40, 0]
	  Branch {
	    DstBlock		    "If"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 105]
	    DstBlock		    "Action: u1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "If"
	  SrcPort		  2
	  Points		  [20, 0; 0, 62]
	  DstBlock		  "Action: u1"
	  DstPort		  ifaction
	}
	Line {
	  SrcBlock		  "If"
	  SrcPort		  1
	  Points		  [60, 0]
	  DstBlock		  "Action: One"
	  DstPort		  ifaction
	}
	Line {
	  SrcBlock		  "Action: One"
	  SrcPort		  1
	  DstBlock		  "Merge"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Action: u1"
	  SrcPort		  1
	  Points		  [10, 0; 0, -55]
	  DstBlock		  "Merge"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Merge"
	  SrcPort		  1
	  DstBlock		  "Averaging\n(COA)"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "FIS Input MF"
      Ports		      [1]
      Position		      [50, 131, 125, 189]
      FontName		      "Arial"
      ShowPortLabels	      off
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "Input MF Eval"
      MaskPromptString	      "FIS structure:|Input:"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVarAliasString      ","
      MaskVariables	      "fis=@1;j_in=@2;"
      MaskInitialization      "fuzwizmask(gcb,fis,j_in)"
      MaskDisplay	      "disp('Input MF')"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "|"
      MaskTabNameString	      ","
      System {
	Name			"FIS Input MF"
	Location		[326, 368, 699, 644]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [50, 143, 80, 157]
	  FontName		  "Helvetica"
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "FIS Linear MF"
      Ports		      [1, 1]
      Position		      [285, 132, 360, 188]
      FontName		      "Arial"
      ShowPortLabels	      off
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "Linear Output MF"
      MaskPromptString	      "Linear Coefficients:|Constant Coefficients:"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVarAliasString      ","
      MaskVariables	      "a=@1;b=@2;"
      MaskDisplay	      "disp('Linear MF')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "|"
      MaskTabNameString	      ","
      System {
	Name			"FIS Linear MF"
	Location		[605, 418, 1010, 624]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Input Vector"
	  Position		  [25, 88, 55, 102]
	  FontName		  "Helvetica"
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant Coeff"
	  Position		  [170, 144, 205, 166]
	  Value			  "b"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Linear Coeff"
	  Position		  [25, 38, 60, 62]
	  Value			  "a"
	}
	Block {
	  BlockType		  Product
	  Name			  "Prod1"
	  Ports			  [2, 1]
	  Position		  [120, 29, 160, 116]
	  ShowName		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [260, 90, 295, 130]
	  ShowName		  off
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum_1"
	  Ports			  [1, 1]
	  Position		  [180, 65, 200, 85]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "MF Value"
	  Position		  [350, 103, 380, 117]
	  FontName		  "Helvetica"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Linear Coeff"
	  SrcPort		  1
	  DstBlock		  "Prod1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Prod1"
	  SrcPort		  1
	  DstBlock		  "Sum_1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum_1"
	  SrcPort		  1
	  Points		  [15, 0; 0, 25]
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant Coeff"
	  SrcPort		  1
	  Points		  [10, 0; 0, -35]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Input Vector"
	  SrcPort		  1
	  DstBlock		  "Prod1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "MF Value"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -