📄 test_channel.mdl
字号:
BlockType Reference
Name "Multipath Rayleigh\nFading Channel 4"
Ports [1, 1]
Position [370, 416, 465, 474]
SourceBlock "commchan3/Multipath Rayleigh\nFading Channel"
SourceType "Multipath Rayleigh Fading Channel"
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"
maxDopplerShift "0.01"
pathDelays "[0, 0.2e-6, 0.6e-6, 1.6e-6, 2.4e-6, 5.0e-6]"
avgPathGaindB "[-3, 0, -2, -6, -8, -10]"
normalizePathGains on
seed "39"
enableProbe "0"
openVisAtStart off
outPathGains off
outDelay off
}
Block {
BlockType SubSystem
Name "OFDM Receiver 1"
Ports [1, 1]
Position [500, 74, 600, 116]
ShowName off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "disp('OFDM Receiver')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "OFDM Receiver 1"
Location [514, 377, 1223, 715]
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 [35, 73, 65, 87]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "FFT"
Ports [1, 1]
Position [210, 63, 250, 97]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag8"
SourceBlock "dspxfrm3/FFT"
SourceType "FFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
additionalParams off
SkipNorm on
allowOverrides on
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Inherit via internal rule"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType FrameConversion
Name "Frame Conversion"
Position [375, 60, 430, 100]
OutFrame "Frame based"
}
Block {
BlockType Gain
Name "Gain"
Position [295, 60, 345, 100]
Gain "1 / 32"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Selector
Name "Remove Cyclic Prefix"
Ports [1, 1]
Position [120, 61, 160, 99]
InputType "Vector"
ElementSrc "Internal"
Elements "[129 : 1152]"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "1152"
IndexIsStartValue off
}
Block {
BlockType Outport
Name "Out1"
Position [465, 73, 495, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Remove Cyclic Prefix"
DstPort 1
}
Line {
SrcBlock "Remove Cyclic Prefix"
SrcPort 1
DstBlock "FFT"
DstPort 1
}
Line {
SrcBlock "FFT"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Frame Conversion"
DstPort 1
}
Line {
SrcBlock "Frame Conversion"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "OFDM Receiver 2"
Ports [1, 1]
Position [510, 184, 610, 226]
ShowName off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "disp('OFDM Receiver')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "OFDM Receiver 2"
Location [514, 377, 1223, 715]
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 [35, 73, 65, 87]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "FFT"
Ports [1, 1]
Position [210, 63, 250, 97]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag9"
SourceBlock "dspxfrm3/FFT"
SourceType "FFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
additionalParams off
SkipNorm on
allowOverrides on
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Inherit via internal rule"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType FrameConversion
Name "Frame Conversion"
Position [375, 60, 430, 100]
OutFrame "Frame based"
}
Block {
BlockType Gain
Name "Gain"
Position [295, 60, 345, 100]
Gain "1 / 32"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Selector
Name "Remove Cyclic Prefix"
Ports [1, 1]
Position [120, 61, 160, 99]
InputType "Vector"
ElementSrc "Internal"
Elements "[129 : 1152]"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "1152"
IndexIsStartValue off
}
Block {
BlockType Outport
Name "Out1"
Position [465, 73, 495, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Remove Cyclic Prefix"
DstPort 1
}
Line {
SrcBlock "Remove Cyclic Prefix"
SrcPort 1
DstBlock "FFT"
DstPort 1
}
Line {
SrcBlock "FFT"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Frame Conversion"
DstPort 1
}
Line {
SrcBlock "Frame Conversion"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "OFDM Receiver 3"
Ports [1, 1]
Position [515, 304, 615, 346]
ShowName off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "disp('OFDM Receiver')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "OFDM Receiver 3"
Location [514, 377, 1223, 715]
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 [35, 73, 65, 87]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "FFT"
Ports [1, 1]
Position [210, 63, 250, 97]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag10"
SourceBlock "dspxfrm3/FFT"
SourceType "FFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
additionalParams off
SkipNorm on
allowOverrides on
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
outputMode "Inherit via internal rule"
outputWordLength "16"
outputFracLength "15"
accumMode "Inherit via internal rule"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType FrameConversion
Name "Frame Conversion"
Position [375, 60, 430, 100]
OutFrame "Frame based"
}
Block {
BlockType Gain
Name "Gain"
Position [295, 60, 345, 100]
Gain "1 / 32"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Selector
Name "Remove Cyclic Prefix"
Ports [1, 1]
Position [120, 61, 160, 99]
InputType "Vector"
ElementSrc "Internal"
Elements "[129 : 1152]"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "1152"
IndexIsStartValue off
}
Block {
BlockType Outport
Name "Out1"
Position [465, 73, 495, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Frame Conversion"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Frame Conversion"
DstPort 1
}
Line {
SrcBlock "FFT"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Remove Cyclic Prefix"
SrcPort 1
DstBlock "FFT"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Remove Cyclic Prefix"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "OFDM Receiver 4"
Ports [1, 1]
Position [520, 424, 620, 466]
ShowName off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "disp('OFDM Receiver')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "OFDM Receiver 4"
Location [514, 377, 1223, 715]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -