📄 apf1.mdl
字号:
SrcPort 1
Points [15, 0; 0, -50]
DstBlock "Matrix\nConcatenation2"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation2"
SrcPort 1
Points [115, 0; 0, 55]
DstBlock "Matrix Multiply"
DstPort 1
}
Line {
SrcBlock "In3"
SrcPort 1
Points [340, 0]
DstBlock "Matrix\nConcatenation3"
DstPort 1
}
Line {
SrcBlock "In4"
SrcPort 1
Points [340, 0]
DstBlock "Matrix\nConcatenation3"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation3"
SrcPort 1
Points [20, 0; 0, -45]
DstBlock "Matrix Multiply"
DstPort 2
}
Line {
SrcBlock "Matrix Multiply"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [40, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [40, 0]
DstBlock "Out2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [4, 1]
Position [585, 52, 625, 113]
TreatAsAtomicUnit off
System {
Name "Subsystem1"
Location [17, 96, 762, 332]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 28, 55, 42]
}
Block {
BlockType Inport
Name "In2"
Position [25, 63, 55, 77]
Port "2"
}
Block {
BlockType Inport
Name "In3"
Position [25, 173, 55, 187]
Port "3"
}
Block {
BlockType Inport
Name "In4"
Position [25, 198, 55, 212]
Port "4"
}
Block {
BlockType Reference
Name " LU Inverse"
Ports [1, 1]
Position [415, 30, 490, 90]
FontName "Helvetica"
FontSize 10
SourceBlock "dspinverses/ LU Inverse"
SourceType "LU Inverse"
}
Block {
BlockType Gain
Name "Gain"
Position [130, 115, 160, 145]
Gain "-1"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation"
Ports [2, 1]
Position [160, 29, 215, 71]
FontSize 10
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation1"
Ports [2, 1]
Position [220, 99, 275, 141]
FontSize 10
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation2"
Ports [2, 1]
Position [325, 39, 380, 81]
FontSize 10
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation3"
Ports [2, 1]
Position [415, 159, 470, 201]
FontSize 10
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Matrix Multiply"
Ports [2, 1]
Position [535, 106, 590, 144]
SourceBlock "dspmtrx3/Matrix Multiply"
SourceType "Matrix Multiply"
numInputPorts "2"
OptimizationLevel "None"
}
Block {
BlockType Outport
Name "Out1"
Position [630, 118, 660, 132]
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 95]
DstBlock "Gain"
DstPort 1
}
Branch {
Points [25, 0; 0, 5]
DstBlock "Matrix\nConcatenation"
DstPort 1
}
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, 0; 40, 0]
Branch {
Points [0, 40]
DstBlock "Matrix\nConcatenation1"
DstPort 1
}
Branch {
Points [0, -10]
DstBlock "Matrix\nConcatenation"
DstPort 2
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Matrix\nConcatenation1"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Matrix\nConcatenation2"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation1"
SrcPort 1
Points [15, 0; 0, -50]
DstBlock "Matrix\nConcatenation2"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation2"
SrcPort 1
DstBlock " LU Inverse"
DstPort 1
}
Line {
SrcBlock "In3"
SrcPort 1
Points [340, 0]
DstBlock "Matrix\nConcatenation3"
DstPort 1
}
Line {
SrcBlock "In4"
SrcPort 1
Points [340, 0]
DstBlock "Matrix\nConcatenation3"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation3"
SrcPort 1
Points [20, 0; 0, -45]
DstBlock "Matrix Multiply"
DstPort 2
}
Line {
SrcBlock " LU Inverse"
SrcPort 1
Points [5, 0; 0, 55]
DstBlock "Matrix Multiply"
DstPort 1
}
Line {
SrcBlock "Matrix Multiply"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [750, 75, 770, 95]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType SubSystem
Name "电流源"
Ports [0, 3]
Position [85, 145, 125, 205]
TreatAsAtomicUnit off
System {
Name "电流源"
Location [530, 120, 700, 276]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType FromFile
Name "From File"
Position [25, 28, 90, 52]
FileName "Ex007.mat"
SampleTime "0"
}
Block {
BlockType FromFile
Name "From File1"
Position [25, 68, 90, 92]
FileName "Ex008.mat"
SampleTime "0"
}
Block {
BlockType FromFile
Name "From File2"
Position [25, 108, 90, 132]
FileName "Ex009.mat"
SampleTime "0"
}
Block {
BlockType Outport
Name "ia"
Position [115, 33, 145, 47]
}
Block {
BlockType Outport
Name "ib"
Position [115, 73, 145, 87]
Port "2"
}
Block {
BlockType Outport
Name "ic"
Position [115, 113, 145, 127]
Port "3"
}
Line {
SrcBlock "From File"
SrcPort 1
DstBlock "ia"
DstPort 1
}
Line {
SrcBlock "From File1"
SrcPort 1
DstBlock "ib"
DstPort 1
}
Line {
SrcBlock "From File2"
SrcPort 1
DstBlock "ic"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "电压源"
Ports [0, 3]
Position [85, 60, 125, 120]
TreatAsAtomicUnit off
System {
Name "电压源"
Location [530, 120, 700, 276]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType FromFile
Name "From File"
Position [25, 28, 90, 52]
FileName "Ex004.mat"
SampleTime "0"
}
Block {
BlockType FromFile
Name "From File1"
Position [25, 68, 90, 92]
FileName "Ex005.mat"
SampleTime "0"
}
Block {
BlockType FromFile
Name "From File2"
Position [25, 108, 90, 132]
FileName "Ex006.mat"
SampleTime "0"
}
Block {
BlockType Outport
Name "ua"
Position [115, 33, 145, 47]
}
Block {
BlockType Outport
Name "ub"
Position [115, 73, 145, 87]
Port "2"
}
Block {
BlockType Outport
Name "uc"
Position [115, 113, 145, 127]
Port "3"
}
Line {
SrcBlock "From File"
SrcPort 1
DstBlock "ua"
DstPort 1
}
Line {
SrcBlock "From File1"
SrcPort 1
DstBlock "ub"
DstPort 1
}
Line {
SrcBlock "From File2"
SrcPort 1
DstBlock "uc"
DstPort 1
}
}
}
Line {
SrcBlock "电压源"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "电压源"
SrcPort 2
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "电压源"
SrcPort 3
Points [20, 0; 0, -10]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "电流源"
SrcPort 2
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "电流源"
SrcPort 3
Points [20, 0; 0, -10]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "电流源"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Matrix\nGain"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Matrix\nGain1"
DstPort 1
}
Branch {
Points [0, 55; 550, 0]
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Matrix\nGain"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Matrix\nGain1"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Subsystem"
DstPort 1
}
Branch {
Points [0, -30; 245, 0; 0, 10]
DstBlock "Subsystem1"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [25, 0; 0, -5]
Branch {
DstBlock "Subsystem"
DstPort 2
}
Branch {
Points [0, -30; 195, 0; 0, 10]
DstBlock "Subsystem1"
DstPort 2
}
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [25, 0; 0, -55]
DstBlock "Subsystem"
DstPort 3
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [50, 0]
DstBlock "Subsystem"
DstPort 4
}
Line {
SrcBlock "Subsystem"
SrcPort 1
DstBlock "LPF"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 2
DstBlock "LPF"
DstPort 2
}
Line {
SrcBlock "LPF"
SrcPort 1
DstBlock "Subsystem1"
DstPort 3
}
Line {
SrcBlock "LPF"
SrcPort 2
Points [40, 0; 0, -15]
DstBlock "Subsystem1"
DstPort 4
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
DstBlock "Matrix\nGain2"
DstPort 1
}
Line {
SrcBlock "Matrix\nGain2"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -