📄 state_respose.mdl
字号:
Multiplication "Matrix(K*u)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain8"
Position [500, 213, 555, 267]
Gain "C"
Multiplication "Matrix(K*u)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain9"
Position [305, 133, 360, 187]
Orientation "left"
Gain "lp"
Multiplication "Matrix(K*u)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [340, 225, 370, 255]
IgnoreLimit off
}
Block {
BlockType Scope
Name "Scope5"
Ports [1]
Position [430, 79, 460, 111]
Location [284, 457, 608, 696]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType StateSpace
Name "State-Space1"
Position [310, 28, 370, 62]
A "A"
B "B"
C "C"
D "D"
X0 "[1,0]"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [80, 35, 100, 55]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [605, 255, 625, 275]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [665, 38, 695, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "State-Space1"
SrcPort 1
Points [0, 0; 270, 0]
Branch {
DstBlock "Add1"
DstPort 1
}
Branch {
DstBlock "Out1"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-255, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "State-Space1"
DstPort 1
}
Branch {
Points [0, 195]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Gain3"
DstPort 1
}
}
}
Line {
SrcBlock "Add1"
SrcPort 1
Points [-245, 0; 0, -45]
DstBlock "Gain9"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Add2"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [385, 0]
DstBlock "Sum5"
DstPort 2
}
Line {
SrcBlock "Gain9"
SrcPort 1
Points [-30, 0]
DstBlock "Add2"
DstPort 1
}
Line {
SrcBlock "Gain10"
SrcPort 1
Points [-90, 0]
DstBlock "Add2"
DstPort 3
}
Line {
SrcBlock "Sum5"
SrcPort 1
Points [15, 0]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Gain8"
SrcPort 1
Points [30, 0]
DstBlock "Sum5"
DstPort 1
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [60, 0]
Branch {
Points [35, 0]
Branch {
DstBlock "Gain8"
DstPort 1
}
Branch {
Points [0, 55]
DstBlock "Gain10"
DstPort 1
}
}
Branch {
Points [0, 150]
DstBlock "Gain1"
DstPort 1
}
}
Branch {
Points [30, 0]
DstBlock "Scope5"
DstPort 1
}
}
Line {
SrcBlock "Add2"
SrcPort 1
Points [0, 0]
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [5, 0]
DstBlock "Sum2"
DstPort 1
}
}
}
Block {
BlockType StateSpace
Name "obj2"
Position [425, 308, 485, 342]
A "Ao"
B "Bo"
C "Co"
D "Do"
X0 "[0 0]"
}
Block {
BlockType StateSpace
Name "obj3"
Position [430, 123, 490, 157]
A "A1"
B "B1"
C "C1"
D "D1"
X0 "[1 0]"
}
Block {
BlockType StateSpace
Name "obj4"
Position [430, 78, 490, 112]
A "A2"
B "B2"
C "C2"
D "D2"
X0 "[1 0]"
}
Block {
BlockType StateSpace
Name "sys1"
Position [280, 263, 340, 297]
A "A"
B "B"
C "C"
D "D"
X0 "[1 0]"
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [5, 0; 0, 30]
DstBlock "obj2"
DstPort 1
}
Line {
SrcBlock "sys1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "Mux"
DstPort 3
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [15, 0; 0, -90]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Multiport\nSwitch"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 125]
DstBlock "Mux1"
DstPort 2
}
Branch {
Points [20, 0; 0, 10]
Branch {
Points [0, -100]
DstBlock "obj4"
DstPort 1
}
Branch {
Points [0, 10]
Branch {
Points [0, -65]
DstBlock "obj3"
DstPort 1
}
Branch {
Points [0, 5]
Branch {
DstBlock "sys1"
DstPort 1
}
Branch {
DstBlock "Subsystem"
DstPort 1
}
}
}
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [60, 0]
DstBlock "Multiport\nSwitch"
DstPort 1
}
Line {
SrcBlock "Step"
SrcPort 1
Points [15, 0; 0, 20]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "Step1"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Mux2"
SrcPort 1
Points [10, 0; 0, 5]
DstBlock "Multiport\nSwitch"
DstPort 2
}
Line {
SrcBlock "Mux3"
SrcPort 1
Points [0, -50]
DstBlock "Multiport\nSwitch"
DstPort 3
}
Line {
SrcBlock "Mux4"
SrcPort 1
Points [15, 0; 0, -110]
DstBlock "Multiport\nSwitch"
DstPort 4
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [10, 0; 0, -10]
DstBlock "Mux3"
DstPort 1
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "Mux3"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [15, 0; 0, -45]
DstBlock "Mux4"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [25, 0]
DstBlock "Mux4"
DstPort 2
}
Line {
SrcBlock "obj4"
SrcPort 1
Points [150, 0]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "obj3"
SrcPort 1
Points [140, 0; 0, 85]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Scope1"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "Mux"
DstPort 5
}
}
Line {
SrcBlock "obj2"
SrcPort 1
Points [25, 0; 0, -70]
DstBlock "Mux"
DstPort 4
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -