📄 fuzwiz.mdl
字号:
Library {
Name "fuzwiz"
Version 4.00
LibraryLinkDisplay "none"
CovSaveName "covdata"
CovNameIncrementing off
CovHtmlReporting on
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar off
StatusBar off
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Fri May 26 10:28:37 2000"
Creator "pascal"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "pascal"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Fri Aug 11 15:53:13 2000"
ModelVersionFormat "1.%<AutoIncrement:72>"
ConfigurationManager "none"
DefaultBlockFontName "MS Sans Serif"
DefaultBlockFontSize 10
DefaultBlockFontWeight "normal"
DefaultBlockFontAngle "normal"
DefaultAnnotationFontName "MS Sans Serif"
DefaultAnnotationFontSize 10
DefaultAnnotationFontWeight "normal"
DefaultAnnotationFontAngle "normal"
DefaultLineFontName "MS Sans Serif"
DefaultLineFontSize 9
DefaultLineFontWeight "normal"
DefaultLineFontAngle "normal"
SimParamPage "Solver"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
SingleTaskRateTransMsg "none"
MultiTaskRateTransMsg "error"
IntegerOverflowMsg "warning"
CheckForMatrixSingularity "none"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
LinearizationMsg "none"
VectorMatrixConversionMsg "none"
SfunCompatibilityCheckMsg "none"
BlockPriorityViolationMsg "warning"
ArrayBoundsChecking "none"
ConsistencyChecking "none"
Profile off
SimulationMode "normal"
RTWRetainRTWFile off
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
TLCProfiler off
TLCDebug off
TLCCoverage off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect on
ExtModeLogAll on
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "MS Sans Serif"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
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 [36, 66, 428, 391]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "Centroid of Area"
Ports [1, 1]
Position [50, 224, 125, 276]
FontName "Helvetica"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "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 [192, 518, 724, 745]
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 [25, 100, 45, 120]
FontName "Helvetica"
Port "1"
Interpolate on
}
Block {
BlockType Product
Name "Averaging\n(COA)"
Ports [2, 1]
Position [400, 37, 430, 68]
FontName "Helvetica"
Inputs "*/"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType MinMax
Name "Max\n(COA)"
Ports [2, 1]
Position [315, 99, 345, 146]
FontName "Helvetica"
Function "max"
Inputs "2"
}
Block {
BlockType Constant
Name "Prevent Div/1"
Position [165, 155, 195, 185]
ShowName off
FontName "Helvetica"
Value "0"
VectorParams1D on
}
Block {
BlockType Product
Name "Product\n(COA)"
Ports [2, 1]
Position [175, 27, 205, 58]
FontName "Helvetica"
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum"
Ports [1, 1]
Position [280, 35, 300, 55]
ShowName off
FontName "Helvetica"
IconShape "round"
Inputs "+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [1, 1]
Position [175, 100, 195, 120]
ShowName off
FontName "Helvetica"
IconShape "round"
Inputs "+"
SaturateOnIntegerOverflow on
}
Block {
BlockType RelationalOperator
Name "Zero Strength\n(COA)"
Position [245, 147, 275, 178]
FontName "Helvetica"
Operator "<="
}
Block {
BlockType Constant
Name "x data"
Position [20, 19, 60, 51]
FontName "Helvetica"
Value "Xdata"
VectorParams1D on
}
Block {
BlockType Outport
Name "defuzzified\noutput"
Position [475, 45, 495, 65]
ShowName off
FontName "Helvetica"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
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 [15, 0]
Branch {
DstBlock "Max\n(COA)"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "Zero Strength\n(COA)"
DstPort 1
}
}
Line {
SrcBlock "Max\n(COA)"
SrcPort 1
Points [15, 0; 0, -65]
DstBlock "Averaging\n(COA)"
DstPort 2
}
Line {
SrcBlock "Prevent Div/1"
SrcPort 1
DstBlock "Zero Strength\n(COA)"
DstPort 2
}
Line {
SrcBlock "Zero Strength\n(COA)"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "Max\n(COA)"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "FIS Input MF"
Ports [1]
Position [50, 131, 125, 189]
FontName "Arial"
ShowPortLabels off
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "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"
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 "|"
System {
Name "FIS Input MF"
Location [326, 368, 699, 644]
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 [50, 143, 80, 157]
FontName "Helvetica"
Port "1"
Interpolate on
}
}
}
Block {
BlockType SubSystem
Name "FIS Linear MF"
Ports [1, 1]
Position [285, 132, 360, 188]
FontName "Arial"
ShowPortLabels off
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "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"
MaskVariables "a=@1;b=@2;"
MaskDisplay "disp('Linear MF')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "|"
System {
Name "FIS Linear MF"
Location [605, 418, 1010, 624]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "Input Vector"
Position [25, 88, 55, 102]
FontName "Helvetica"
Port "1"
Interpolate on
}
Block {
BlockType Constant
Name "Constant Coeff"
Position [170, 144, 205, 166]
Value "b"
VectorParams1D on
}
Block {
BlockType Constant
Name "Linear Coeff"
Position [25, 38, 60, 62]
Value "a"
VectorParams1D on
}
Block {
BlockType Product
Name "Prod1"
Ports [2, 1]
Position [120, 29, 160, 116]
ShowName off
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [260, 90, 295, 130]
ShowName off
IconShape "rectangular"
Inputs "2"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum_1"
Ports [1, 1]
Position [180, 65, 200, 85]
ShowName off
IconShape "round"
Inputs "1"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "MF Value"
Position [350, 103, 380, 117]
FontName "Helvetica"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -