📄 dvbt_sim0.mdl
字号:
Block {
BlockType Inport
Name "In1"
Position [30, 78, 60, 92]
FontName "MS Sans Serif"
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [115, 15, 135, 35]
}
Block {
BlockType Reference
Name "Discrete-Time\nScatter Plot\nScope"
Tag "ScatterPlot"
Ports [1]
Position [145, 56, 210, 114]
Diagnostics "AllowInheritedTsInSrc"
SourceBlock "commsink2/Discrete-Time\nScatter Plot\n"
"Scope"
SourceType "Discrete-Time Scatter Plot Scope"
ShowPortLabels on
sampPerSymb "1"
offsetEye "0"
numTraces "5000"
numNewFrames "3000"
LineMarkers "."
LineColors "b"
fading off
render off
AxisGrid on
xMin "-1.5"
xMax "1.5"
yMin "-1.5"
yMax "1.5"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
openScopeAtSimStart on
FrameNumber off
FigPos "[512 133 451 451]"
figTitle "Scatter Plot"
numLinesMax "50"
block_type_ "scatter"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Discrete-Time\nScatter Plot\nScope"
DstPort 1
}
}
}
Block {
BlockType Step
Name "Step"
Position [90, 15, 120, 45]
Time ".001"
SampleTime ".000224"
}
Line {
SrcBlock "Step"
SrcPort 1
Points [40, 0]
DstBlock "Enabled\nScatter Plot"
DstPort enable
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Enabled\nScatter Plot"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Demapper"
Ports [1, 1]
Position [695, 424, 770, 476]
Orientation "left"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "DVB-T 64-QAM Demapper"
MaskDisplay "disp('DVB-T\\n64-QAM\\nDemapper')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Demapper"
Location [152, 120, 985, 351]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 153, 45, 167]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Abs
Name "Abs1"
Position [330, 100, 360, 130]
ShowName off
}
Block {
BlockType Abs
Name "Abs2"
Position [460, 55, 490, 85]
ShowName off
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 1]
Position [135, 133, 185, 157]
ShowName off
Output "Imag"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag1"
Ports [1, 1]
Position [135, 158, 185, 182]
ShowName off
Output "Real"
}
Block {
BlockType Constant
Name "Constant1"
Position [360, 64, 380, 86]
ShowName off
Value "4"
}
Block {
BlockType Constant
Name "Constant2"
Position [490, 14, 510, 36]
ShowName off
Value "2"
}
Block {
BlockType Gain
Name "Gain"
Position [80, 145, 110, 175]
Gain "sqrt(42)"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation"
Ports [2, 1]
Position [205, 131, 260, 184]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation1"
Ports [3, 1]
Position [595, 46, 655, 184]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatena"
"tion"
SourceType "Matrix Concatenation"
numInports "3"
catMethod "Vertical"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [695, 95, 745, 135]
ShowName off
Elements "reshape(reshape(1:9072,1512,6)',9072,1)"
InputPortWidth "9072"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [390, 105, 410, 125]
ShowName off
IconShape "round"
Inputs "-+|"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [530, 60, 550, 80]
ShowName off
IconShape "round"
Inputs "-+|"
}
Block {
BlockType Outport
Name "Out1"
Position [770, 108, 800, 122]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
Points [25, 0]
Branch {
Points [0, -45]
DstBlock "Abs1"
DstPort 1
}
Branch {
DstBlock "Matrix\nConcatenation1"
DstPort 3
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Branch {
DstBlock "Complex to\nReal-Imag1"
DstPort 1
}
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Abs2"
DstPort 1
}
Branch {
DstBlock "Matrix\nConcatenation1"
DstPort 2
}
}
Line {
SrcBlock "Abs1"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [15, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [25, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Abs2"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Matrix\nConcatenation1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation1"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
}
}
Block {
BlockType Display
Name "Display1"
Ports [1]
Position [250, 264, 330, 326]
ShowName off
Decimation "1"
}
Block {
BlockType Display
Name "Display2"
Ports [1]
Position [570, 259, 650, 321]
ShowName off
Decimation "1"
}
Block {
BlockType Reference
Name "Error Rate Calculation1"
Ports [2, 1]
Position [145, 275, 230, 315]
ShowName off
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "188*17*8"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "e2"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "Error Rate Calculation2"
Ports [2, 1]
Position [460, 270, 545, 310]
ShowName off
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "1632*6"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "e1"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType SubSystem
Name "Inner Coder"
Ports [1, 1]
Position [460, 112, 535, 168]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('Rate 3/4\\nPunctured\\nConvolutional\\nCo"
"de');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Inner Coder"
Location [167, 198, 766, 343]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Uncoded symbols"
Position [60, 58, 90, 72]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Convolutional \nEncoder"
Ports [1, 1]
Position [135, 42, 220, 88]
SourceBlock "commcnvcod2/Convolutional\nEncoder"
SourceType "Convolutional Encoder"
trellis "poly2trellis(7, [171 133])"
reset "None"
}
Block {
BlockType Reference
Name "Puncture"
Ports [1, 1]
Position [265, 43, 345, 87]
SourceBlock "commsequence2/Puncture"
SourceType "Puncture"
punctureVector "[1 1 0 1 1 0]'"
}
Block {
BlockType Outport
Name "Coded bits"
Position [505, 58, 535, 72]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Convolutional \nEncoder"
SrcPort 1
DstBlock "Puncture"
DstPort 1
}
Line {
SrcBlock "Uncoded symbols"
SrcPort 1
DstBlock "Convolutional \nEncoder"
DstPort 1
}
Line {
SrcBlock "Puncture"
SrcPort 1
DstBlock "Coded bits"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Inner Decoder"
Ports [1, 1]
Position [460, 423, 535, 477]
Orientation "left"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('Viterbi\\nDecoder')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Inner Decoder"
Location [117, 363, 698, 519]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -