📄 bendipncontrol.mdl
字号:
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "bendipncontrol"
Location [-4, 94, 1424, 887]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Inport
Name "input"
Position [455, 198, 485, 212]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 1]
Position [560, 175, 600, 235]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem"
Location [2, 82, 1430, 849]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "input"
Position [90, 478, 120, 492]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion"
Position [270, 361, 325, 389]
OutDataTypeMode "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion1"
Position [130, 291, 185, 319]
NamePlacement "alternate"
OutDataTypeMode "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion2"
Position [96, 110, 124, 165]
Orientation "down"
OutDataTypeMode "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion"
Position [320, 98, 395, 132]
OutDataTypeMode "boolean"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [505, 107, 535, 138]
Operator "OR"
AllPortsSameDT off
OutDataTypeMode "Boolean"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [1, 1]
Position [425, 99, 455, 131]
Operator "NOT"
AllPortsSameDT off
OutDataTypeMode "Boolean"
}
Block {
BlockType Logic
Name "Logical\nOperator2"
Ports [2, 1]
Position [605, 296, 635, 329]
Operator "XOR"
AllPortsSameDT off
OutDataTypeMode "Boolean"
}
Block {
BlockType Logic
Name "Logical\nOperator3"
Ports [2, 1]
Position [215, 411, 245, 444]
AllPortsSameDT off
OutDataTypeMode "Boolean"
}
Block {
BlockType Logic
Name "Logical\nOperator4"
Ports [1, 1]
Position [80, 289, 110, 321]
Operator "NOT"
AllPortsSameDT off
OutDataTypeMode "Boolean"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator1"
Ports [0, 1]
Position [95, 403, 140, 437]
PulseType "Time based"
Period "0.001"
PulseWidth "50"
}
Block {
BlockType Reference
Name "Queue"
Ports [3, 1]
Position [265, 172, 360, 238]
SourceBlock "dspbuff3/Queue"
SourceType "Queue"
depth "8"
trigger "Rising edge"
overflow "Dynamic reallocation"
pes "Warning"
eso off
fso off
nso off
clr off
clrOutport off
}
Block {
BlockType Reference
Name "Queue1"
Ports [3, 1]
Position [405, 172, 500, 238]
SourceBlock "dspbuff3/Queue"
SourceType "Queue"
depth "8"
trigger "Rising edge"
overflow "Dynamic reallocation"
pes "Warning"
eso off
fso off
nso off
clr off
clrOutport off
}
Block {
BlockType Reference
Name "Queue2"
Ports [3, 1]
Position [540, 172, 635, 238]
SourceBlock "dspbuff3/Queue"
SourceType "Queue"
depth "8"
trigger "Rising edge"
overflow "Dynamic reallocation"
pes "Warning"
eso off
fso off
nso off
clr off
clrOutport off
}
Block {
BlockType Reference
Name "Queue3"
Ports [3, 1]
Position [140, 167, 235, 233]
SourceBlock "dspbuff3/Queue"
SourceType "Queue"
depth "8"
trigger "Rising edge"
overflow "Dynamic reallocation"
pes "Warning"
eso off
fso off
nso off
clr off
clrOutport off
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [180, 359, 210, 391]
Location [5, 54, 1445, 869]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleInput on
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [715, 339, 745, 371]
Location [1, 50, 1441, 865]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
SampleInput on
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [495, 49, 525, 81]
Location [224, 576, 731, 815]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
SampleInput on
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [315, 44, 345, 76]
Location [294, 481, 618, 720]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleInput on
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [355, 434, 385, 466]
Location [5, 54, 1445, 869]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
SampleInput on
}
Block {
BlockType Step
Name "Step"
Position [195, 60, 225, 90]
Time "0.001"
SampleTime "0"
}
Block {
BlockType Outport
Name "output"
Position [720, 253, 750, 277]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Step"
SrcPort 1
Points [10, 0; 0, 40; 60, 0]
Branch {
DstBlock "Data Type Conversion"
DstPort 1
}
Branch {
DstBlock "Scope3"
DstPort 1
}
}
Line {
SrcBlock "Data Type Conversion"
SrcPort 1
DstBlock "Logical\nOperator1"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Queue3"
SrcPort 1
Points [10, 0]
DstBlock "Queue"
DstPort 1
}
Line {
SrcBlock "Queue"
SrcPort 1
Points [5, 0; 0, -20]
DstBlock "Queue1"
DstPort 1
}
Line {
SrcBlock "Queue2"
SrcPort 1
Points [10, 0; 0, -45; -170, 0; 0, -30]
Branch {
DstBlock "Logical\nOperator"
DstPort 2
}
Branch {
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "Data Type \nConversion"
SrcPort 1
Points [0, -45; -265, 0; 0, -30]
Branch {
Points [0, -30]
Branch {
Points [0, -70]
DstBlock "Queue3"
DstPort 2
}
Branch {
Points [180, 0]
Branch {
Points [130, 0]
Branch {
Points [0, -65]
DstBlock "Queue1"
DstPort 2
}
Branch {
Points [140, 0; 0, -65]
DstBlock "Queue2"
DstPort 2
}
}
Branch {
Points [0, -65]
DstBlock "Queue"
DstPort 2
}
}
}
Branch {
DstBlock "Logical\nOperator4"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator3"
SrcPort 1
Points [5, 0; 0, -25]
Branch {
DstBlock "Data Type \nConversion"
DstPort 1
}
Branch {
Points [15, 0; 0, 45]
DstBlock "Scope4"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator4"
SrcPort 1
DstBlock "Data Type \nConversion1"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion1"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, -55; -110, 0; 0, -30]
DstBlock "Queue3"
DstPort 3
}
Branch {
Points [35, 0]
Branch {
DstBlock "Queue"
DstPort 3
}
Branch {
Points [140, 0]
Branch {
DstBlock "Queue1"
DstPort 3
}
Branch {
Points [135, 0]
DstBlock "Queue2"
DstPort 3
}
}
}
}
Line {
SrcBlock "Queue1"
SrcPort 1
Points [5, 0; 0, -5]
Branch {
Points [0, -15]
DstBlock "Queue2"
DstPort 1
}
Branch {
Points [0, 120]
DstBlock "Logical\nOperator2"
DstPort 2
}
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
Points [130, 0; 0, 140]
Branch {
Points [-90, 0; 0, 40]
DstBlock "Logical\nOperator2"
DstPort 1
}
Branch {
Points [20, 0]
Branch {
DstBlock "output"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Scope1"
DstPort 1
}
}
}
Line {
SrcBlock "Data Type \nConversion2"
SrcPort 1
Points [0, 10]
DstBlock "Queue3"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator2"
SrcPort 1
Points [30, 0; 0, 40; -635, 0; 0, -260]
DstBlock "Data Type \nConversion2"
DstPort 1
}
Line {
SrcBlock "Pulse\nGenerator1"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Scope"
DstPort 1
}
Branch {
DstBlock "Logical\nOperator3"
DstPort 1
}
}
Line {
SrcBlock "input"
SrcPort 1
Points [30, 0; 0, -50]
DstBlock "Logical\nOperator3"
DstPort 2
}
}
}
Block {
BlockType Outport
Name "output"
Position [655, 198, 685, 212]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Subsystem"
SrcPort 1
DstBlock "output"
DstPort 1
}
Line {
SrcBlock "input"
SrcPort 1
DstBlock "Subsystem"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -