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

📄 fuzwiz.mdl

📁 交流 模糊控制 交流 模糊控制
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "MF Value"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "FIS Output MF"
      Ports		      []
      Position		      [165, 131, 240, 189]
      FontName		      "Arial"
      ShowPortLabels	      off
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskType		      "Output MF Eval"
      MaskPromptString	      "FIS structure:|Output:"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVariables	      "fis=@1;j_out=@2;"
      MaskInitialization      "fuzwizmask(gcb,fis,j_out)"
      MaskDisplay	      "disp('Output MF')"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "|"
      System {
	Name			"FIS Output MF"
	Location		[275, 370, 868, 657]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "FIS Rule"
      Ports		      [2, 2]
      Position		      [285, 36, 360, 94]
      FontName		      "Arial"
      ShowPortLabels	      off
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskType		      "FIS Rule"
      MaskPromptString	      "FIS structure:|Rule:"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVariables	      "fis=@1;j_rule=@2;"
      MaskInitialization      "fuzwizmask(gcb,fis,j_rule)"
      MaskDisplay	      "disp('Rule')"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "|"
      System {
	Name			"FIS Rule"
	Location		[243, 639, 868, 876]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "Antecedents"
	  Position		  [70, 87, 95, 103]
	  Port			  "1"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "Consequents"
	  Position		  [70, 172, 95, 188]
	  Port			  "2"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Constant
	  Name			  "Weight"
	  Position		  [255, 23, 280, 47]
	  Value			  "fis.rule(j_rule).weight"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Product
	  Name			  "Weighting"
	  Ports			  [2, 1]
	  Position		  [325, 74, 350, 101]
	  Inputs		  "2"
	  Multiplication	  "Element-wise(.*)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  MinMax
	  Name			  "andorMethod"
	  Ports			  [1, 1]
	  Position		  [160, 70, 215, 120]
	  Function		  "max"
	  Inputs		  "1"
	}
	Block {
	  BlockType		  MinMax
	  Name			  "impMethod"
	  Ports			  [2, 1]
	  Position		  [420, 137, 480, 193]
	  Function		  "min"
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Output"
	  Position		  [535, 157, 565, 173]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Firing Strength"
	  Position		  [530, 83, 560, 97]
	  Port			  "2"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Antecedents"
	  SrcPort		  1
	  DstBlock		  "andorMethod"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "andorMethod"
	  SrcPort		  1
	  DstBlock		  "Weighting"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Weight"
	  SrcPort		  1
	  Points		  [20, 0; 0, 45]
	  DstBlock		  "Weighting"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Consequents"
	  SrcPort		  1
	  DstBlock		  "impMethod"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Weighting"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    Points		    [0, 60]
	    DstBlock		    "impMethod"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Firing Strength"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "impMethod"
	  SrcPort		  1
	  DstBlock		  "Output"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      "S-Function"
      Name		      "FIS S-function"
      Ports		      [1, 1]
      Position		      [50, 39, 120, 91]
      FontName		      "Helvetica"
      FunctionName	      "sffis"
      Parameters	      "fis"
      PortCounts	      "[]"
      SFunctionModules	      "sfsup"
    }
    Block {
      BlockType		      SubSystem
      Name		      "FIS Wizard"
      Ports		      [1, 1]
      Position		      [165, 38, 240, 92]
      FontName		      "Arial"
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskType		      "FIS Wizard"
      MaskPromptString	      "FIS structure:"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "fis=@1;"
      MaskInitialization      "fuzwizmask(gcb,fis);"
      MaskDisplay	      "disp('FIS')"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"FIS Wizard"
	Location		[211, 340, 900, 632]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [30, 102, 60, 118]
	  FontName		  "Helvetica"
	  Port			  "1"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [635, 102, 665, 118]
	  FontName		  "Helvetica"
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "wtaver Defuzz"
      Ports		      [2, 1]
      Position		      [285, 226, 360, 279]
      FontName		      "Helvetica"
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskType		      "WTAVER Defuzzification"
      MaskDisplay	      "disp('WTAVER')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"wtaver Defuzz"
	Location		[507, 443, 1072, 697]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "MF Values"
	  Position		  [55, 30, 75, 50]
	  FontName		  "Helvetica"
	  Port			  "1"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "Total Firing Strength"
	  Position		  [55, 115, 75, 135]
	  FontName		  "Helvetica"
	  Port			  "2"
	  Interpolate		  on
	}
	Block {
	  BlockType		  MinMax
	  Name			  "MinMax"
	  Ports			  [2, 1]
	  Position		  [225, 114, 255, 161]
	  ShowName		  off
	  FontName		  "Helvetica"
	  Function		  "max"
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Prevent Div/1"
	  Position		  [85, 185, 115, 215]
	  ShowName		  off
	  FontName		  "Helvetica"
	  Value			  "0"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [325, 52, 355, 83]
	  FontName		  "Helvetica"
	  Inputs		  "*/"
	  Multiplication	  "Element-wise(.*)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator"
	  Position		  [165, 177, 195, 208]
	  FontName		  "Helvetica"
	  Operator		  "<="
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [1, 1]
	  Position		  [195, 30, 215, 50]
	  ShowName		  off
	  FontName		  "Helvetica"
	  IconShape		  "round"
	  Inputs		  "1"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Output Value"
	  Position		  [410, 63, 440, 77]
	  FontName		  "Helvetica"
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "MF Values"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  Points		  [55, 0; 0, 20]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Output Value"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Total Firing Strength"
	  SrcPort		  1
	  Points		  [45, 0]
	  Branch {
	    DstBlock		    "MinMax"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 60]
	    DstBlock		    "Relational\nOperator"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "MinMax"
	  SrcPort		  1
	  Points		  [15, 0; 0, -65]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Relational\nOperator"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "MinMax"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Prevent Div/1"
	  SrcPort		  1
	  DstBlock		  "Relational\nOperator"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "wtsum Defuzz"
      Ports		      [1, 1]
      Position		      [170, 224, 245, 276]
      FontName		      "Helvetica"
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskType		      "WTSUM Defuzzification"
      MaskDisplay	      "disp('WTSUM')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"wtsum Defuzz"
	Location		[439, 418, 869, 550]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "MF Values"
	  Position		  [60, 50, 80, 70]
	  FontName		  "Helvetica"
	  Port			  "1"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [1, 1]
	  Position		  [230, 50, 250, 70]
	  ShowName		  off
	  FontName		  "Helvetica"
	  IconShape		  "round"
	  Inputs		  "1"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Output Value"
	  Position		  [355, 53, 385, 67]
	  FontName		  "Helvetica"
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "MF Values"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Output Value"
	  DstPort		  1
	}
      }
    }
  }
}

⌨️ 快捷键说明

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