📄 simul.mdl
字号:
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType DiscreteTransferFcn
Name "Discrete\nTransfer Fcn"
Position [200, 302, 260, 338]
Numerator "[0.5 0.5]"
Denominator "[1 -1]"
}
Block {
BlockType Gain
Name "Gain"
Position [120, 125, 150, 155]
Gain "Kdebit"
}
Block {
BlockType Gain
Name "Gain1"
Position [395, 225, 425, 255]
Orientation "left"
Gain "Kdebit"
}
Block {
BlockType Gain
Name "Gain2"
Position [90, 305, 120, 335]
Gain "Kdebit"
}
Block {
BlockType Gain
Name "Gain3"
Position [365, 405, 395, 435]
Orientation "left"
Gain "Kdebit"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [240, 125, 270, 155]
}
Block {
BlockType Reference
Name "LTI System"
Ports [1, 1]
Position [430, 122, 525, 158]
SourceBlock "cstblocks/LTI System"
SourceType "LTI Block"
sys "tf(sys)"
IC "[]"
}
Block {
BlockType Reference
Name "LTI System1"
Ports [1, 1]
Position [400, 302, 495, 338]
SourceBlock "cstblocks/LTI System"
SourceType "LTI Block"
sys "tf(sys)"
IC "[]"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [700, 211, 705, 249]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [600, 124, 630, 156]
Location [192, 182, 740, 510]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [570, 304, 600, 336]
Location [6, 143, 554, 471]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [730, 209, 760, 241]
Location [168, 505, 716, 833]
Open on
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
}
Block {
BlockType Step
Name "Step"
Position [50, 125, 80, 155]
Time "0.03"
SampleTime "0"
}
Block {
BlockType Step
Name "Step1"
Position [20, 305, 50, 335]
Time "0.03"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [170, 130, 190, 150]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [140, 310, 160, 330]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Description "B0"
Position [325, 122, 385, 158]
Denominator "[0.5 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Description "B0"
Position [290, 302, 350, 338]
Denominator "[0.5 1]"
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Step"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "LTI System"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "LTI System"
SrcPort 1
Points [25, 0]
Branch {
Points [-15, 0; 0, 100]
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-210, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Step1"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "LTI System1"
DstPort 1
}
Branch {
Labels [2, 0]
Points [0, -60; 315, 0]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "LTI System1"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 100]
DstBlock "Gain3"
DstPort 1
}
Branch {
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [-210, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Discrete\nTransfer Fcn"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, -5]
DstBlock "Scope2"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Discrete\nTransfer Fcn"
SrcPort 1
DstBlock "Transfer Fcn1"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -