📄 fig7_61.mdl
字号:
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [105, 320, 135, 350]
Amplitude "1"
Frequency "1"
Phase "0"
SampleTime ".01"
VectorParams1D on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [645, 375, 665, 395]
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [435, 355, 455, 375]
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1]
Position [200, 325, 220, 345]
ShowName off
IconShape "round"
Inputs "|-+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum7"
Ports [2, 1]
Position [345, 380, 365, 400]
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum8"
Ports [2, 1]
Position [600, 510, 620, 530]
Orientation "left"
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum9"
Ports [2, 1]
Position [570, 375, 590, 395]
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [175, 190, 235, 220]
VariableName "r"
MaxDataPoints "inf"
Decimation "1"
SampleTime ".01"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [875, 245, 935, 275]
VariableName "y"
MaxDataPoints "inf"
Decimation "1"
SampleTime "0.01"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace2"
Position [320, 205, 380, 235]
VariableName "e"
MaxDataPoints "inf"
Decimation "1"
SampleTime "0.01"
SaveFormat "Array"
}
Block {
BlockType Outport
Name "Out1"
Position [900, 308, 930, 322]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Sum7"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [90, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 20]
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [10, 0]
Branch {
Points [15, 0]
Branch {
DstBlock "Integrator3"
DstPort 1
}
Branch {
DstBlock "Gain2"
DstPort 1
}
}
Branch {
DstBlock "Gain5"
DstPort 1
}
}
Line {
SrcBlock "Sum6"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 55]
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, -70]
Branch {
DstBlock "Scope1"
DstPort 1
}
Branch {
Points [0, -45]
DstBlock "To Workspace2"
DstPort 1
}
}
}
Line {
SrcBlock "Integrator3"
SrcPort 1
Points [30, 0]
Branch {
Points [20, 0]
Branch {
Points [-20, 0; 0, 255; -630, 0]
DstBlock "Sum6"
DstPort 2
}
Branch {
DstBlock "Scope"
DstPort 1
}
Branch {
Points [0, -70]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
DstBlock "To Workspace1"
DstPort 1
}
}
}
Branch {
Points [0, 195]
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [-60, 0]
DstBlock "Sum8"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum8"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum7"
DstPort 1
}
Line {
SrcBlock "Sum8"
SrcPort 1
Points [-15, 0]
DstBlock "Sum9"
DstPort 2
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [-25, 0]
DstBlock "Sum7"
DstPort 2
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [-35, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 95]
DstBlock "Gain4"
DstPort 1
}
Branch {
DstBlock "Sum9"
DstPort 1
}
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Sum6"
DstPort 1
}
Branch {
Points [0, -70]
Branch {
DstBlock "Scope2"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "To Workspace"
DstPort 1
}
}
}
Line {
SrcBlock "Sum9"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Annotation {
Position [231, 317]
Text "e"
}
Annotation {
Position [612, 377]
Text "u"
}
Annotation {
Position [758, 377]
Text "x2"
}
Annotation {
Position [824, 375]
Text "x1"
}
Annotation {
Position [174, 318]
Text "r"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -