📄 test_channel.mdl
字号:
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Inherit via internal rule"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Outport
Name "Out1"
Position [425, 108, 455, 122]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Add Cyclic Prefix"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Add Cyclic Prefix"
DstPort 1
}
Line {
SrcBlock "IFFT"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "IFFT"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "OFDM Transmitter 4"
Ports [1, 1]
Position [215, 424, 315, 466]
ShowName off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "disp('OFDM Transmitter')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "OFDM Transmitter 4"
Location [215, 302, 713, 602]
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 [50, 108, 80, 122]
IconDisplay "Port number"
}
Block {
BlockType Selector
Name "Add Cyclic Prefix"
Ports [1, 1]
Position [320, 96, 360, 134]
InputType "Vector"
ElementSrc "Internal"
Elements "[897:1024, 1:1024]"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "1024"
IndexIsStartValue off
}
Block {
BlockType Gain
Name "Gain"
Position [220, 100, 250, 130]
Gain "32"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "IFFT"
Ports [1, 1]
Position [130, 99, 170, 131]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag15"
SourceBlock "dspxfrm3/IFFT"
SourceType "IFFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
cs_in off
SkipNorm off
mode "Complex"
additionalParams off
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 Outport
Name "Out1"
Position [425, 108, 455, 122]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Add Cyclic Prefix"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Add Cyclic Prefix"
DstPort 1
}
Line {
SrcBlock "IFFT"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "IFFT"
DstPort 1
}
}
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [145, 78, 175, 107]
ShowName off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex1"
Ports [2, 1]
Position [145, 188, 175, 217]
ShowName off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex2"
Ports [2, 1]
Position [145, 308, 175, 337]
ShowName off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex3"
Ports [2, 1]
Position [145, 428, 175, 457]
ShowName off
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [775, 240, 835, 270]
VariableName "channel_u"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Line {
SrcBlock "Bernoulli Binary\nGenerator"
SrcPort 1
Points [15, 0; 0, 20]
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "Bernoulli Binary\nGenerator1"
SrcPort 1
Points [15, 0; 0, -25]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "OFDM Transmitter 1"
DstPort 1
}
Line {
SrcBlock "OFDM Transmitter 1"
SrcPort 1
DstBlock "Multipath Rayleigh\nFading Channel 1"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel 1"
SrcPort 1
DstBlock "OFDM Receiver 1"
DstPort 1
}
Line {
SrcBlock "Bernoulli Binary\nGenerator2"
SrcPort 1
Points [15, 0; 0, 15]
DstBlock "Real-Imag to\nComplex1"
DstPort 1
}
Line {
SrcBlock "Bernoulli Binary\nGenerator3"
SrcPort 1
Points [15, 0; 0, -30]
DstBlock "Real-Imag to\nComplex1"
DstPort 2
}
Line {
SrcBlock "Real-Imag to\nComplex1"
SrcPort 1
DstBlock "OFDM Transmitter 2"
DstPort 1
}
Line {
SrcBlock "OFDM Transmitter 2"
SrcPort 1
DstBlock "Multipath Rayleigh\nFading Channel 2"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel 2"
SrcPort 1
DstBlock "OFDM Receiver 2"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel 3"
SrcPort 1
DstBlock "OFDM Receiver 3"
DstPort 1
}
Line {
SrcBlock "OFDM Transmitter 3"
SrcPort 1
DstBlock "Multipath Rayleigh\nFading Channel 3"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex2"
SrcPort 1
DstBlock "OFDM Transmitter 3"
DstPort 1
}
Line {
SrcBlock "Bernoulli Binary\nGenerator5"
SrcPort 1
Points [15, 0; 0, -20]
DstBlock "Real-Imag to\nComplex2"
DstPort 2
}
Line {
SrcBlock "Bernoulli Binary\nGenerator4"
SrcPort 1
Points [15, 0; 0, 20]
DstBlock "Real-Imag to\nComplex2"
DstPort 1
}
Line {
SrcBlock "Multipath Rayleigh\nFading Channel 4"
SrcPort 1
DstBlock "OFDM Receiver 4"
DstPort 1
}
Line {
SrcBlock "OFDM Transmitter 4"
SrcPort 1
DstBlock "Multipath Rayleigh\nFading Channel 4"
DstPort 1
}
Line {
SrcBlock "Real-Imag to\nComplex3"
SrcPort 1
DstBlock "OFDM Transmitter 4"
DstPort 1
}
Line {
SrcBlock "Bernoulli Binary\nGenerator7"
SrcPort 1
Points [15, 0; 0, -15]
DstBlock "Real-Imag to\nComplex3"
DstPort 2
}
Line {
SrcBlock "Bernoulli Binary\nGenerator6"
SrcPort 1
Points [15, 0; 0, 30]
DstBlock "Real-Imag to\nComplex3"
DstPort 1
}
Line {
SrcBlock "OFDM Receiver 1"
SrcPort 1
Points [45, 0; 0, 115]
DstBlock "Matrix\nConcatenate"
DstPort 1
}
Line {
SrcBlock "OFDM Receiver 2"
SrcPort 1
Points [25, 0; 0, 35]
DstBlock "Matrix\nConcatenate"
DstPort 2
}
Line {
SrcBlock "OFDM Receiver 3"
SrcPort 1
Points [20, 0; 0, -55]
DstBlock "Matrix\nConcatenate"
DstPort 3
}
Line {
SrcBlock "OFDM Receiver 4"
SrcPort 1
Points [40, 0]
DstBlock "Matrix\nConcatenate"
DstPort 4
}
Line {
SrcBlock "Matrix\nConcatenate"
SrcPort 1
DstBlock "To Workspace"
DstPort 1
}
}
}
MatData {
NumRecords 16
DataRecord {
Tag DataTag15
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"$ 0 0 0 249&5 "
}
DataRecord {
Tag DataTag14
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"$ 0 0 0 249&5 "
}
DataRecord {
Tag DataTag13
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"$ 0 0 0 249&5 "
}
DataRecord {
Tag DataTag12
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"$ 0 0 0 249&5 "
}
DataRecord {
Tag DataTag11
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"# 0 0 , 1D94 "
}
DataRecord {
Tag DataTag10
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"# 0 0 , 1D94 "
}
DataRecord {
Tag DataTag9
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"# 0 0 , 1D94 "
}
DataRecord {
Tag DataTag8
Data " %)30 . 8 8 ( 0 % "
"\" $ ! 0 . , 8 ( ! % \" $ "
"# 0 0 , 1D94 "
}
DataRecord {
Tag DataTag7
Data " %)30 . > 8 ( 0 % "
"\" $ ! 0 . 2 8 ( ! % \" $ "
"2 0 0 $@ $)E<FYO=6QL:4)I;F%R>4=E;@ "
}
DataRecord {
Tag DataTag6
Data " %)30 . > 8 ( 0 % "
"\" $ ! 0 . 2 8 ( ! % \" $ "
"2 0 0 $@ $)E<FYO=6QL:4)I;F%R>4=E;@ "
}
DataRecord {
Tag DataTag5
Data " %)30 . > 8 ( 0 % "
"\" $ ! 0 . 2 8 ( ! % \" $ "
"2 0 0 $@ $)E<FYO=6QL:4)I;F%R>4=E;@ "
}
DataRecord {
Tag DataTag4
Data " %)30 . > 8 ( 0 % "
"\" $ ! 0 . 2 8 ( ! % \" $ "
"2 0 0 $@ $)E<FYO=6QL:4)I;F%R>4=E;@ "
}
DataRecord {
Tag DataTag3
Data " %)30 . > 8 ( 0 % "
"\" $ ! 0 . 2 8 ( ! % \" $ "
"2 0 0 $@ $)E<FYO=6QL:4)I;F%R>4=E;@ "
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -