?? figure12.mdl
字號(hào):
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Product
Inputs "2"
Multiplication "Element-wise(.*)"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Scope
Floating off
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
Block {
BlockType Step
Time "1"
Before "0"
After "1"
SampleTime "-1"
VectorParams1D on
ZeroCross on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType ZeroPole
Zeros "[1]"
Poles "[0 1]"
Gain "[1]"
AbsoluteTolerance "auto"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "figure12"
Location [2, 82, 1430, 853]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [415, 67, 435, 98]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [2, 1]
Position [405, 202, 425, 233]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Derivative
Name "Derivative"
Position [170, 245, 200, 275]
}
Block {
BlockType SubSystem
Name "FuzzyController"
Ports [1, 1]
Position [125, 25, 165, 85]
NamePlacement "alternate"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "FuzzyController"
Location [128, 211, 607, 454]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "e"
Position [15, 88, 45, 102]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType SubSystem
Name "Fuzzy Logic \nController1"
Ports [1, 1]
Position [225, 91, 285, 139]
AncestorBlock "fuzblock/Fuzzy Logic \nController"
FontName "Arial"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "FIS"
MaskDescription "FIS"
MaskHelp "web(['file:///' docroot '/toolbox/fuzzy/fuz"
"zylogiccontroller.html']);"
MaskPromptString "FIS File or Structure:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "fis=@1;"
MaskInitialization "fis = fuzblockmask(gcb,fis);"
MaskDisplay "plot(0, -0.3, 6, -0.3, 0, 1.2, 6, 1.2, [0 6"
"], [0 0], [1 2 3],[0 1 0],[2 3 4],[0 1 0],[3 4 5],[0 1 0])"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "dki"
System {
Name "Fuzzy Logic \nController1"
Location [251, 557, 620, 673]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType "S-Function"
Name "FIS S-function"
Ports [1, 1]
Position [135, 24, 205, 76]
FunctionName "sffis"
Parameters "fis"
SFunctionModules "sfsup"
}
Block {
BlockType Outport
Name "Out1"
Position [305, 43, 335, 57]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "FIS S-function"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "FIS S-function"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Fuzzy Logic \nController2"
Ports [1, 1]
Position [225, 16, 285, 64]
AncestorBlock "fuzblock/Fuzzy Logic \nController"
FontName "Arial"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "FIS"
MaskDescription "FIS"
MaskHelp "web(['file:///' docroot '/toolbox/fuzzy/fuz"
"zylogiccontroller.html']);"
MaskPromptString "FIS File or Structure:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "fis=@1;"
MaskInitialization "fis = fuzblockmask(gcb,fis);"
MaskDisplay "plot(0, -0.3, 6, -0.3, 0, 1.2, 6, 1.2, [0 6"
"], [0 0], [1 2 3],[0 1 0],[2 3 4],[0 1 0],[3 4 5],[0 1 0])"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "dkp"
System {
Name "Fuzzy Logic \nController2"
Location [251, 557, 620, 673]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType "S-Function"
Name "FIS S-function"
Ports [1, 1]
Position [135, 24, 205, 76]
FunctionName "sffis"
Parameters "fis"
SFunctionModules "sfsup"
}
Block {
BlockType Outport
Name "Out1"
Position [305, 43, 335, 57]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "FIS S-function"
DstPort 1
}
Line {
SrcBlock "FIS S-function"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Fuzzy Logic \nController3"
Ports [1, 1]
Position [225, 166, 285, 214]
AncestorBlock "fuzblock/Fuzzy Logic \nController"
FontName "Arial"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "FIS"
MaskDescription "FIS"
MaskHelp "web(['file:///' docroot '/toolbox/fuzzy/fuz"
"zylogiccontroller.html']);"
MaskPromptString "FIS File or Structure:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "fis=@1;"
MaskInitialization "fis = fuzblockmask(gcb,fis);"
MaskDisplay "plot(0, -0.3, 6, -0.3, 0, 1.2, 6, 1.2, [0 6"
"], [0 0], [1 2 3],[0 1 0],[2 3 4],[0 1 0],[3 4 5],[0 1 0])"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "dkd"
System {
Name "Fuzzy Logic \nController3"
Location [251, 557, 620, 673]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType "S-Function"
Name "FIS S-function"
Ports [1, 1]
Position [135, 24, 205, 76]
FunctionName "sffis"
Parameters "fis"
SFunctionModules "sfsup"
}
Block {
BlockType Outport
Name "Out1"
Position [305, 43, 335, 57]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "FIS S-function"
DstPort 1
}
Line {
SrcBlock "FIS S-function"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [380, 32, 385, 198]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [190, 96, 195, 134]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope1"
Ports [3]
Position [420, 14, 450, 46]
Location [293, 211, 713, 464]
Open off
NumInputPorts "3"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "10"
YMin "-1~-0.5~-0.5"
YMax "1~0.5~0.5"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [70, 117, 130, 153]
Denominator "[0.01 1]"
}
Block {
BlockType Gain
Name "ae"
Position [140, 80, 170, 110]
Gain "6"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "aec"
Position [140, 120, 170, 150]
Gain "6"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "aec1"
Position [300, 99, 345, 131]
Gain "0.05"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "aec2"
Position [300, 173, 340, 207]
Gain "0.05"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "aec3"
Position [300, 24, 330, 56]
Gain "0.1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -