📄 main.mdl
字号:
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [20, 173, 50, 187]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In2"
Position [25, 318, 55, 332]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType SubSystem
Name "12p to s"
Ports [12, 1]
Position [750, 30, 795, 345]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "12p to s"
Location [141, 90, 581, 388]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "92"
Block {
BlockType Inport
Name "In1"
Position [25, 48, 55, 62]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In2"
Position [25, 68, 55, 82]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In3"
Position [25, 88, 55, 102]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In4"
Position [25, 108, 55, 122]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In5"
Position [25, 128, 55, 142]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In6"
Position [25, 148, 55, 162]
Port "6"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In7"
Position [25, 168, 55, 182]
Port "7"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In8"
Position [25, 188, 55, 202]
Port "8"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In9"
Position [25, 208, 55, 222]
Port "9"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In10"
Position [25, 228, 55, 242]
Port "10"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In11"
Position [25, 248, 55, 262]
Port "11"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In12"
Position [25, 268, 55, 282]
Port "12"
IconDisplay "Port number"
}
Block {
BlockType FrameConversion
Name "Frame Conversion1"
Position [250, 145, 305, 185]
OutFrame "Frame based"
}
Block {
BlockType Mux
Name "Mux"
Ports [12, 1]
Position [80, 29, 85, 301]
ShowName off
Inputs "12"
DisplayOption "bar"
}
Block {
BlockType Reference
Name "Unbuffer1"
Ports [1, 1]
Position [350, 141, 400, 189]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType MATLABFcn
Name "reshape12,1"
Position [140, 150, 200, 180]
MATLABFcn "reshape(u,12,1)"
Output1D off
}
Block {
BlockType Outport
Name "Out1"
Position [425, 158, 455, 172]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "reshape12,1"
DstPort 1
}
Line {
SrcBlock "reshape12,1"
SrcPort 1
DstBlock "Frame Conversion1"
DstPort 1
}
Line {
SrcBlock "Frame Conversion1"
SrcPort 1
DstBlock "Unbuffer1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "In4"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "In5"
SrcPort 1
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "In6"
SrcPort 1
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "Unbuffer1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In7"
SrcPort 1
DstBlock "Mux"
DstPort 7
}
Line {
SrcBlock "In8"
SrcPort 1
DstBlock "Mux"
DstPort 8
}
Line {
SrcBlock "In9"
SrcPort 1
DstBlock "Mux"
DstPort 9
}
Line {
SrcBlock "In10"
SrcPort 1
DstBlock "Mux"
DstPort 10
}
Line {
SrcBlock "In11"
SrcPort 1
DstBlock "Mux"
DstPort 11
}
Line {
SrcBlock "In12"
SrcPort 1
DstBlock "Mux"
DstPort 12
}
}
}
Block {
BlockType SubSystem
Name "16QAM Demodulator"
Ports [12, 12]
Position [620, 26, 675, 349]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "16QAM Demodulator"
Location [2, 83, 1014, 744]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [65, 73, 95, 87]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In2"
Position [315, 73, 345, 87]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In3"
Position [570, 73, 600, 87]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In4"
Position [570, 168, 600, 182]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In5"
Position [315, 168, 345, 182]
Port "5"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In6"
Position [65, 168, 95, 182]
Port "6"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In7"
Position [570, 268, 600, 282]
Port "7"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In8"
Position [315, 268, 345, 282]
Port "8"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In9"
Position [60, 273, 90, 287]
Port "9"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In10"
Position [570, 363, 600, 377]
Port "10"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In11"
Position [315, 363, 345, 377]
Port "11"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In12"
Position [60, 368, 90, 382]
Port "12"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Rectangular QAM\nDemodulator\nBaseband"
Ports [1, 1]
Position [625, 54, 700, 106]
DialogController "commDDGCreate"
DialogControllerArgs "DataTag2"
SourceBlock "commdigbbndam3/Rectangular QAM\nDemodul"
"ator\nBaseband"
SourceType "Rectangular QAM Demodulator Baseband"
M "32"
PowType "Min. distance between symbols"
MinDist "1"
AvgPow "1"
PeakPow "1"
Ph "0"
Dec "Binary"
Mapping "[0:15]"
OutType "Integer"
DecType "Hard decision"
VarSource "Dialog"
Variance "1"
outDtype1 "double"
outDtype2 "double"
}
Block {
BlockType Reference
Name "Rectangular QAM\nDemodulator\nBaseband1"
Ports [1, 1]
Position [625, 149, 700, 201]
DialogController "commDDGCreate"
DialogControllerArgs "DataTag3"
SourceBlock "commdigbbndam3/Rectangular QAM\nDemodul"
"ator\nBaseband"
SourceType "Rectangular QAM Demodulator Baseband"
M "32"
PowType "Min. distance between symbols"
MinDist "1"
AvgPow "1"
PeakPow "1"
Ph "0"
Dec "Binary"
Mapping "[0:15]"
OutType "Integer"
DecType "Hard decision"
VarSource "Dialog"
Variance "1"
outDtype1 "double"
outDtype2 "double"
}
Block {
BlockType Reference
Name "Rectangular QAM\nDemodulator\nBaseband1"
"0"
Ports [1, 1]
Position [135, 254, 210, 306]
DialogController "commDDGCreate"
DialogControllerArgs "DataTag4"
SourceBlock "commdigbbndam3/Rectangular QAM\nDemodul"
"ator\nBaseband"
SourceType "Rectangular QAM Demodulator Baseband"
M "32"
PowType "Min. distance between symbols"
MinDist "1"
AvgPow "1"
PeakPow "1"
Ph "0"
Dec "Binary"
Mapping "[0:15]"
OutType "Integer"
DecType "Hard decision"
VarSource "Dialog"
Variance "1"
outDtype1 "double"
outDtype2 "double"
}
Block {
BlockType Reference
Name "Rectangular QAM\nDemodulator\nBaseband1"
"1"
Ports [1, 1]
Position [135, 349, 210, 401]
DialogController "commDDGCreate"
DialogControllerArgs "DataTag5"
SourceBlock "commdigbbndam3/Rectangular QAM\nDemodul"
"ator\nBaseband"
SourceType "Rectangular QAM Demodulator Baseband"
M "32"
PowType "Min. distance between symbols"
MinDist "1"
AvgPow "1"
PeakPow "1"
Ph "0"
Dec "Binary"
Mapping "[0:15]"
OutType "Integer"
DecType "Hard decision"
VarSource "Dialog"
Variance "1"
outDtype1 "double"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -