📄 example.mdl
字号:
Position [500, 145, 520, 165]
ShowName off
IconShape "round"
Inputs "|+++"
}
Block {
BlockType Outport
Name "Out1"
Position [790, 148, 820, 162]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, -15]
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "In2"
SrcPort 1
Points [45, 0; 15, 0]
Branch {
Points [0, 15]
DstBlock "Product1"
DstPort 2
}
Branch {
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "In3"
SrcPort 1
Points [40, 0; 0, 15]
Branch {
DstBlock "Product2"
DstPort 2
}
Branch {
Points [0, -15]
DstBlock "Product2"
DstPort 1
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [85, 0; 0, 25; 139, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [205, 0; 0, 5; 24, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [40, 0; 0, -50; 210, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem10"
Ports [0, 3]
Position [290, 472, 335, 548]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem10"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Gain
Name "Gain"
Position [180, 250, 210, 280]
Gain "10"
}
Block {
BlockType Gain
Name "Gain1"
Position [315, 250, 345, 280]
Gain "28"
}
Block {
BlockType Gain
Name "Gain2"
Position [415, 320, 445, 350]
Orientation "left"
Gain "-1"
}
Block {
BlockType Gain
Name "Gain3"
Position [720, 480, 750, 510]
Orientation "left"
Gain "-8/3"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [240, 250, 270, 280]
InitialCondition "4*ones(50,1)"
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [420, 250, 450, 280]
InitialCondition "5*ones(50,1)"
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [720, 370, 750, 400]
InitialCondition "6*ones(50,1)"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [337, 505, 393, 540]
Orientation "up"
NamePlacement "alternate"
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [555, 357, 590, 413]
NamePlacement "alternate"
RndMeth "Floor"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [105, 255, 125, 275]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [375, 255, 405, 285]
ShowName off
IconShape "round"
Inputs "|+-+"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [655, 375, 675, 395]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Outport
Name "Out1"
Position [315, 168, 345, 182]
NamePlacement "alternate"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [560, 258, 590, 272]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out3"
Position [800, 378, 830, 392]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, 85; -180, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, 135]
Branch {
Points [0, 155]
DstBlock "Product"
DstPort 1
}
Branch {
DstBlock "Product1"
DstPort 2
}
}
Branch {
Points [5, 0]
DstBlock "Out1"
DstPort 1
}
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Out2"
DstPort 1
}
Branch {
Points [0, 70]
Branch {
Points [0, 35]
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, 15; -410, 0; 0, -120]
DstBlock "Sum"
DstPort 1
}
}
Branch {
DstBlock "Gain2"
DstPort 1
}
}
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Out3"
DstPort 1
}
Branch {
Points [0, 110]
Branch {
Points [0, 60]
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "Gain3"
DstPort 1
}
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, -5]
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [14, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [-1, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [-50, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [-20, 0]
DstBlock "Sum1"
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [4, 1]
Position [800, 392, 840, 453]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem2"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [95, 28, 125, 42]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [70, 75, 100, 90]
Orientation "down"
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In3"
Position [70, 138, 100, 152]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In4"
Position [25, 185, 55, 200]
Orientation "up"
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1]
Position [265, 52, 270, 148]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [160, 26, 205, 59]
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [160, 81, 205, 114]
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [165, 141, 210, 174]
RndMeth "Floor"
}
Block {
BlockType Outport
Name "Out1"
Position [295, 93, 325, 107]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In4"
SrcPort 1
Points [0, 0; 0, -15]
Branch {
DstBlock "Product2"
DstPort 2
}
Branch {
Points [0, -60]
Branch {
DstBlock "Product1"
DstPort 2
}
Branch {
Points [0, -55]
DstBlock "Product"
DstPort 2
}
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [20, 0; 0, 25]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [15, 0; 0, -30]
DstBlock "Mux2"
DstPort 3
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
Points [60, 0]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "In3"
SrcPort 1
Points [0, 5]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [370, 475, 390, 495]
ShowName off
IconShape "round"
Inputs "|-+"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [415, 500, 435, 520]
ShowName off
IconShape "round"
Inputs "|-+"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [465, 525, 485, 545]
ShowName off
IconShape "round"
Inputs "|-+"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [1045, 415, 1065, 435]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType SubSystem
Name "f1"
Ports [3, 3]
Position [660, 630, 700, 690]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "f1"
Location [2, 82, 1014, 721]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -