📄 main.mdl
字号:
Name "Display"
Ports [1]
Position [745, 274, 835, 356]
Decimation "1"
Lockdown off
}
Block {
BlockType Reference
Name "Error Rate\nCalculation"
Ports [2, 1]
Position [765, 407, 840, 458]
Orientation "left"
NamePlacement "alternate"
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "0"
st_delay "33650"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType FrameConversion
Name "Frame Conversion"
Position [370, 90, 425, 130]
OutFrame "Frame based"
}
Block {
BlockType Reference
Name "Integer Delay"
Ports [1, 1]
Position [923, 350, 957, 385]
Orientation "down"
NamePlacement "alternate"
SourceBlock "simulink/Discrete/Integer Delay"
SourceType "Integer Delay"
vinit "0.0"
samptime "-1"
NumDelays "13160"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [600, 470, 630, 500]
Operator "transpose"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [690, 157, 720, 188]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 1]
Position [580, 193, 640, 277]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem"
Location [2, 78, 1022, 747]
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 "100"
Block {
BlockType Inport
Name "In1"
Position [25, 28, 55, 42]
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [80, 27, 110, 58]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
Position [80, 150, 110, 180]
Value "2*pi"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType Constant
Name "Constant1"
Position [80, 205, 110, 235]
Value "j"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [300, 170, 330, 200]
}
Block {
BlockType Product
Name "Product"
Ports [3, 1]
Position [230, 169, 260, 201]
Inputs "3"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [75, 79, 115, 121]
Orientation "left"
SampleTime "-1"
}
Block {
BlockType Outport
Name "Out1"
Position [355, 178, 385, 192]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [-15, 0; 0, -50]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
Points [50, 0; 0, 55]
Branch {
Points [0, 75]
DstBlock "Product"
DstPort 1
}
Branch {
DstBlock "Unit Delay"
DstPort 1
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [40, 0; 0, 20]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [50, 0; 0, -25]
DstBlock "Product"
DstPort 3
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [590, 86, 640, 134]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType SubSystem
Name "add cp null"
Ports [1, 1]
Position [300, 80, 340, 140]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "add cp null"
Location [282, 172, 882, 284]
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 "100"
Block {
BlockType Inport
Name "In1"
Position [25, 48, 55, 62]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Buffer"
Ports [1, 1]
Position [170, 30, 220, 80]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "1008"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Transpose"
Ports [1, 1]
Position [265, 35, 320, 75]
SourceBlock "dspmtrx3/Transpose"
SourceType "Transpose"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Hermitian off
overflowFlag off
}
Block {
BlockType MATLABFcn
Name "add cp"
Position [365, 40, 425, 70]
MATLABFcn "cp_add"
}
Block {
BlockType Reference
Name "add null"
Ports [1, 1]
Position [475, 37, 520, 73]
DialogControllerArgs "DataTag1"
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "Beginning"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "1152"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
truncOrWrapMode "Truncate"
trunc_flag "None"
wrap_flag "None"
isVarDimsMode off
outputMode "Same as input"
outputWordLength "16"
outputFracLength "15"
accumMode "Same as input"
accumWordLength "32"
accumFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType SubSystem
Name "p to s"
Ports [1, 1]
Position [80, 25, 120, 85]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "p to s"
Location [516, 156, 831, 256]
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 "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
IconDisplay "Port number"
}
Block {
BlockType FrameConversion
Name "Frame Conversion"
Position [80, 30, 135, 70]
OutFrame "Frame based"
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [185, 26, 235, 74]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Outport
Name "Out1"
Position [260, 43, 290, 57]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Frame Conversion"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Frame Conversion"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [545, 48, 575, 62]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "p to s"
SrcPort 1
DstBlock "Buffer"
DstPort 1
}
Line {
SrcBlock "Buffer"
SrcPort 1
DstBlock "Transpose"
DstPort 1
}
Line {
SrcBlock "Transpose"
SrcPort 1
DstBlock "add cp"
DstPort 1
}
Line {
SrcBlock "add cp"
SrcPort 1
DstBlock "add null"
DstPort 1
}
Line {
SrcBlock "add null"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "p to s"
DstPort 1
}
}
}
Block {
BlockType MATLABFcn
Name "de2bi(u,5)"
Position [505, 470, 565, 500]
MATLABFcn "de2bi(u,5)"
OutputSignalType "real"
Output1D off
}
Block {
BlockType SubSystem
Name "fft-qam-feq adjust"
Ports [2, 2]
Position [325, 470, 365, 530]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "fft-qam-feq adjust"
Location [30, 187, 910, 674]
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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -