📄 module_mqam_threetr.mdl
字号:
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "channel"
SrcPort 1
Points [50, 0; 0, 5]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 1
Points [15, 0; 0, -25]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 2
Points [30, 0; 0, -5]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [5, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "MQAM_SNR_GSC"
Ports [2, 1]
Position [305, 75, 405, 115]
Orientation "left"
BackgroundColor "yellow"
DropShadow on
TreatAsAtomicUnit off
System {
Name "MQAM_SNR_GSC"
Location [237, 235, 735, 535]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "channel"
Position [25, 73, 55, 87]
}
Block {
BlockType Inport
Name "In2"
Position [25, 148, 55, 162]
Port "2"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag1"
Ports [1, 2]
Position [95, 138, 125, 167]
Output "Real and imag"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [325, 101, 330, 139]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [180, 69, 185, 171]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [355, 103, 385, 132]
Input "Real and imag"
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [230, 105, 290, 135]
FunctionName "MQAM_SNR_GSC_threeTR"
Parameters "L,BitRate,sel_num"
}
Block {
BlockType Outport
Name "Out1"
Position [420, 113, 450, 127]
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Complex to\nReal-Imag1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "channel"
SrcPort 1
Points [50, 0; 0, 5]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 1
Points [15, 0; 0, -25]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 2
Points [30, 0; 0, -5]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [5, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "MQAM_SNR_SC"
Ports [2, 1]
Position [115, 80, 215, 120]
Orientation "left"
BackgroundColor "yellow"
DropShadow on
TreatAsAtomicUnit off
System {
Name "MQAM_SNR_SC"
Location [237, 235, 735, 535]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "channel"
Position [25, 73, 55, 87]
}
Block {
BlockType Inport
Name "In2"
Position [25, 148, 55, 162]
Port "2"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag1"
Ports [1, 2]
Position [95, 138, 125, 167]
Output "Real and imag"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [325, 101, 330, 139]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [180, 69, 185, 171]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [355, 103, 385, 132]
Input "Real and imag"
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1]
Position [230, 105, 290, 135]
FunctionName "MQAM_SNR_SC_threeTR"
Parameters "L,BitRate"
}
Block {
BlockType Outport
Name "Out1"
Position [420, 113, 450, 127]
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Complex to\nReal-Imag1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "channel"
SrcPort 1
Points [50, 0; 0, 5]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 1
Points [15, 0; 0, -25]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 2
Points [30, 0; 0, -5]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [5, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -