📄 slide_example_linear_t.mdl
字号:
TreatAsAtomicUnit off
System {
Name "plant"
Location [304, 193, 939, 660]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "u1"
Position [60, 73, 90, 87]
Port {
PortNumber 1
Name "u1"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Inport
Name "u2"
Position [25, 308, 55, 322]
Port "2"
Port {
PortNumber 1
Name "u2"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Inport
Name "d1"
Position [125, 28, 155, 42]
Port "3"
Port {
PortNumber 1
Name "d1"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Inport
Name "d2"
Position [95, 253, 125, 267]
Port "4"
Port {
PortNumber 1
Name "d2"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType From
Name "From8"
Position [85, 335, 125, 365]
BackgroundColor "lightBlue"
CloseFcn "tagdialog Close"
GotoTag "den"
}
Block {
BlockType Gain
Name "Gain1"
Position [190, 65, 210, 95]
Gain "1/mu1"
}
Block {
BlockType Goto
Name "Goto"
Position [385, 25, 425, 55]
BackgroundColor "green"
GotoTag "x2"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto1"
Position [400, 260, 440, 290]
BackgroundColor "red"
GotoTag "x4"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto2"
Position [525, 25, 565, 55]
BackgroundColor "cyan"
GotoTag "x1"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [540, 255, 580, 285]
BackgroundColor "darkGreen"
GotoTag "x3"
TagVisibility "global"
}
Block {
BlockType InitialCondition
Name "IC4"
Position [485, 310, 510, 340]
Value "0.349"
}
Block {
BlockType InitialCondition
Name "IC5"
Position [355, 310, 380, 340]
Value "0.987"
}
Block {
BlockType InitialCondition
Name "IC6"
Position [340, 65, 365, 95]
Value "-0.2"
}
Block {
BlockType InitialCondition
Name "IC7"
Position [470, 65, 490, 95]
Value "-0.15"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [290, 65, 320, 95]
Port {
PortNumber 1
Name "x2=x1dot"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [405, 65, 435, 95]
Port {
PortNumber 1
Name "x1"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [305, 310, 335, 340]
Port {
PortNumber 1
Name "x4=x3dot"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Integrator
Name "Integrator3"
Ports [1, 1]
Position [425, 310, 455, 340]
Port {
PortNumber 1
Name "x3"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [165, 306, 200, 339]
Inputs "*/"
InputSameDT off
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [0, 1]
Position [280, 185, 320, 245]
Orientation "left"
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [117, 416, 890, 618]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [515, 25, 545, 55]
Value "a"
}
Block {
BlockType Constant
Name "Constant1"
Position [585, 85, 615, 115]
Orientation "left"
NamePlacement "alternate"
Value "M"
}
Block {
BlockType From
Name "From2"
Position [680, 70, 720, 100]
Orientation "left"
BackgroundColor "cyan"
NamePlacement "alternate"
CloseFcn "tagdialog Close"
GotoTag "x1"
}
Block {
BlockType From
Name "From4"
Position [320, 45, 360, 75]
Orientation "left"
BackgroundColor "green"
NamePlacement "alternate"
CloseFcn "tagdialog Close"
GotoTag "x2"
}
Block {
BlockType From
Name "From6"
Position [260, 120, 300, 150]
Orientation "left"
BackgroundColor "red"
NamePlacement "alternate"
CloseFcn "tagdialog Close"
GotoTag "x4"
}
Block {
BlockType From
Name "From8"
Position [190, 150, 230, 180]
Orientation "left"
BackgroundColor "lightBlue"
NamePlacement "alternate"
CloseFcn "tagdialog Close"
GotoTag "den"
}
Block {
BlockType Gain
Name "Gain3"
Position [515, 115, 535, 145]
Orientation "left"
Gain "u"
}
Block {
BlockType Gain
Name "Gain5"
Position [345, 85, 365, 115]
Orientation "left"
Gain "-2"
}
Block {
BlockType Goto
Name "Goto5"
Position [115, 15, 155, 45]
BackgroundColor "yellow"
GotoTag "f2"
TagVisibility "global"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [115, 85, 165, 120]
Orientation "left"
NamePlacement "alternate"
Inputs "*/"
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [260, 75, 295, 110]
Orientation "left"
NamePlacement "alternate"
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [515, 75, 550, 110]
Orientation "left"
NamePlacement "alternate"
InputSameDT off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [195, 75, 230, 110]
Orientation "left"
NamePlacement "alternate"
InputSameDT off
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [575, 50, 595, 70]
Orientation "left"
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "++|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [465, 85, 485, 105]
Orientation "left"
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Out1"
Position [15, 100, 45, 110]
Orientation "left"
NamePlacement "alternate"
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "From4"
SrcPort 1
Points [-5, 0]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Sum5"
SrcPort 1
Points [-70, 0; 0, 5]
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [-5, 0; 0, -10]
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "From6"
SrcPort 1
Points [-10, 0]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Product3"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "From8"
SrcPort 1
Points [-5, 0]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [-30, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "Goto5"
DstPort 1
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, -5]
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [0, 25]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Sum5"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [-35, 0]
DstBlock "Sum5"
DstPort 2
}
Line {
SrcBlock "From2"
SrcPort 1
Points [0, 0; -45, 0]
Branch {
Points [0, -25]
DstBlock "Sum4"
DstPort 2
}
Branch {
Points [0, 45]
DstBlock "Gain3"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -