📄 win_narayanaa.mdl
字号:
}
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 1
}
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType ActionPort
InitializeStates "held"
ActionType "unset"
}
Block {
BlockType Constant
Value "1"
VectorParams1D on
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
}
Block {
BlockType Demux
Outputs "4"
DisplayOption "none"
BusSelectionMode off
}
Block {
BlockType If
NumInputs "1"
IfExpression "u1 > 0"
ShowElse on
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Inport
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Merge
Inputs "2"
InitialOutput "[]"
AllowUnequalInputPortWidths off
InputPortOffsets "[]"
}
Block {
BlockType MinMax
Function "min"
Inputs "1"
InputSameDT on
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
BusObject "BusObject"
NonVirtualBus off
}
Block {
BlockType Outport
Port "1"
BusObject "BusObject"
BusOutputAsStruct off
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 RelationalOperator
Operator ">="
InputSameDT on
LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimiza"
"tion)"
LogicDataType "uint(8)"
ZeroCross 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 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 Switch
Criteria "u2 >= Threshold"
Threshold "0"
InputSameDT on
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
SampleTime "-1"
}
}
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 "win_narayanaa"
Location [2, 78, 1278, 750]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Inport
Name "In1"
Position [693, 220, 707, 250]
Orientation "down"
NamePlacement "alternate"
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [598, 50, 612, 80]
Orientation "down"
NamePlacement "alternate"
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In3"
Position [678, 50, 692, 80]
Orientation "down"
NamePlacement "alternate"
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In4"
Position [155, 193, 185, 207]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In5"
Position [155, 273, 185, 287]
Port "5"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Fuzzy Logic\nController1"
Ports [1, 1]
Position [620, 380, 670, 440]
Orientation "down"
NamePlacement "alternate"
FontName "Arial"
SourceBlock "fuzblock/Fuzzy Logic \nController"
SourceType "FIS"
ShowPortLabels on
fis "win_narayanaaa"
}
Block {
BlockType Reference
Name "Fuzzy Logic\nController2"
Ports [1, 1]
Position [620, 160, 670, 220]
Orientation "down"
NamePlacement "alternate"
FontName "Arial"
SourceBlock "fuzblock/Fuzzy Logic \nController"
SourceType "FIS"
ShowPortLabels on
fis "win_narayanaaa"
}
Block {
BlockType Reference
Name "Fuzzy Logic\nController3"
Ports [1, 1]
Position [315, 215, 375, 265]
FontName "Arial"
SourceBlock "fuzblock/Fuzzy Logic \nController"
SourceType "FIS"
ShowPortLabels on
fis "win_narayanaaa"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [565, 120, 725, 125]
Orientation "down"
NamePlacement "alternate"
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux3"
Ports [2, 1]
Position [240, 160, 245, 320]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux4"
Ports [3, 1]
Position [565, 325, 725, 330]
Orientation "down"
NamePlacement "alternate"
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [795, 465, 825, 495]
Location [696, 248, 922, 391]
Open off
NumInputPorts "1"
TickLabels "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "200.000000"
YMin "-2"
YMax "2"
SaveName "ScopeData1"
DataFormat "Array"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fuzzy Logic\nController2"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fuzzy Logic\nController1"
DstPort 1
}
Line {
SrcBlock "Fuzzy Logic\nController1"
SrcPort 1
Points [0, 35]
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Fuzzy Logic\nController2"
SrcPort 1
DstBlock "Mux4"
DstPort 2
}
Line {
SrcBlock "Fuzzy Logic\nController3"
SrcPort 1
Points [210, 0]
DstBlock "Mux4"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fuzzy Logic\nController3"
DstPort 1
}
Line {
SrcBlock "In4"
SrcPort 1
DstBlock "Mux3"
DstPort 1
}
Line {
SrcBlock "In5"
SrcPort 1
DstBlock "Mux3"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Mux4"
DstPort 3
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -