📄 rbf_ge_sim.mdl
字号:
Ports [2, 1]
Position [415, 404, 445, 431]
ShowName off
Inputs "2"
}
Block {
BlockType Mux
Name "Mux7"
Ports [2, 1]
Position [415, 478, 445, 507]
ShowName off
Inputs "2"
}
Block {
BlockType Mux
Name "Mux8"
Ports [2, 1]
Position [395, 548, 425, 577]
ShowName off
Inputs "2"
}
Block {
BlockType ToWorkspace
Name "Position"
Position [870, 45, 930, 75]
VariableName "x"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "Position1"
Position [835, 285, 895, 315]
VariableName "tol"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [205, 216, 270, 244]
FunctionName "rbf_Ge_s"
}
Block {
BlockType "S-Function"
Name "S-Function1"
Ports [1, 1]
Position [455, 224, 540, 256]
FunctionName "rbf_Ge_plant"
}
Block {
BlockType "S-Function"
Name "S-Function2"
Ports [0, 1]
Position [25, 199, 115, 231]
FunctionName "rbf_Ge_input"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [125, 456, 170, 484]
VariableName "t"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "Velocity"
Position [875, 155, 935, 185]
VariableName "dx"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Line {
SrcBlock "S-Function2"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -145]
DstBlock "Demux3"
DstPort 1
}
Branch {
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "Demux3"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Demux3"
SrcPort 4
Points [100, 0; 0, -25]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Demux4"
SrcPort 1
Points [0, 5; 175, 0]
Branch {
Points [0, 190]
DstBlock "Mux4"
DstPort 1
}
Branch {
Points [0, -105]
DstBlock "Mux1"
DstPort 3
}
}
Line {
SrcBlock "Demux4"
SrcPort 3
Points [190, 0]
Branch {
Points [0, 195]
DstBlock "Mux4"
DstPort 3
}
Branch {
Points [0, -110]
DstBlock "Mux1"
DstPort 4
}
}
Line {
SrcBlock "Demux3"
SrcPort 2
Points [70, 0; 0, 80]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "Demux3"
SrcPort 5
Points [515, 0; 0, 65]
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Velocity"
DstPort 1
}
Line {
SrcBlock "Demux4"
SrcPort 2
Points [100, 0; 60, 0]
Branch {
DstBlock "Mux2"
DstPort 3
}
Branch {
Points [0, 195]
DstBlock "Mux4"
DstPort 2
}
}
Line {
SrcBlock "Demux4"
SrcPort 4
Points [100, 0; 100, 0]
Branch {
DstBlock "Mux2"
DstPort 4
}
Branch {
Points [0, 195]
DstBlock "Mux4"
DstPort 4
}
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [65, 0; 0, 25]
DstBlock "Mux3"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "S-Function1"
DstPort 1
}
Line {
SrcBlock "S-Function1"
SrcPort 1
DstBlock "Demux4"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Mux4"
SrcPort 1
Points [-565, 0; 0, -145]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock " "
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [40, 0; 0, 180]
DstBlock "Mux6"
DstPort 1
}
Line {
SrcBlock "Demux4"
SrcPort 5
Points [70, 0; 0, 230; -285, 0; 0, -35]
DstBlock "Mux6"
DstPort 2
}
Line {
SrcBlock "Mux7"
SrcPort 1
DstBlock " "
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 4
Points [25, 0; 0, 240]
DstBlock "Mux7"
DstPort 1
}
Line {
SrcBlock "Mux8"
SrcPort 1
DstBlock " "
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 5
Points [10, 0; 0, 295]
DstBlock "Mux8"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Position"
DstPort 1
}
Line {
SrcBlock "Demux4"
SrcPort 6
Points [80, 0; 0, 280; -305, 0; 0, -25]
DstBlock "Mux7"
DstPort 2
}
Line {
SrcBlock "Demux4"
SrcPort 7
Points [60, 0; 0, 340; -315, 0; 0, -30]
DstBlock "Mux8"
DstPort 2
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "To Workspace"
DstPort 1
}
Line {
SrcBlock "Demux4"
SrcPort 8
Points [50, 0; 0, 75]
DstBlock "Derivative"
DstPort 1
}
Line {
SrcBlock "Derivative"
SrcPort 1
Points [-60, 0; 0, -95]
DstBlock "Mux3"
DstPort 3
}
Line {
SrcBlock "Mux5"
SrcPort 1
DstBlock "Position1"
DstPort 1
}
Line {
SrcBlock "Demux4"
SrcPort 9
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "Demux4"
SrcPort 10
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [55, 0; 0, 25]
DstBlock "Mux3"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -