📄 ofdm_16qam.mdl
字号:
Labels [0, 0]
SrcBlock "Remove\nPilots"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Remove\nPilots"
SrcPort 2
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Remove Cyclic\nPrefix"
SrcPort 1
DstBlock "FFT"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "OFDM\nSymbols"
Ports [1, 1]
Position [285, 73, 340, 117]
ShowName off
FontSize 8
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskDisplay "disp(' OFDM \\n Modulation');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "OFDM\nSymbols"
Location [20, 115, 1032, 777]
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 "In"
Position [15, 178, 45, 192]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name " "
Position [265, 144, 300, 166]
ShowName off
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name " 1"
Position [180, 26, 305, 44]
ShowName off
Value "complex(0,0)*ones(28,1)"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name "."
Position [270, 84, 305, 106]
ShowName off
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Selector
Name "Add Cyclic\nPrefix"
Ports [1, 1]
Position [430, 166, 480, 204]
InputPortWidth "256"
IndexOptions "Index vector (dialog)"
Indices "[193:256 1:256]"
OutputSizes "1"
}
Block {
BlockType Constant
Name "Constant"
Position [70, 16, 135, 34]
ShowName off
Value "complex(1,0)"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant2"
Position [175, 326, 300, 344]
ShowName off
Value "complex(0,0)*ones(27,1)"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Constant3"
Position [215, 176, 300, 194]
ShowName off
Value "complex(0,0)"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "IFFT"
Ports [1, 1]
Position [365, 169, 405, 201]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag1"
SourceBlock "dspxfrm3/IFFT"
SourceType "IFFT"
CompMethod "Table lookup"
TableOpt "Speed"
BitRevOrder off
cs_in off
SkipNorm off
InheritFFTLength on
FFTLength "64"
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 Concatenate
Name "Matrix\nConcatenation"
Ports [21, 1]
Position [330, 35, 340, 335]
NumInputs "21"
Mode "Multidimensional array"
}
Block {
BlockType Reference
Name "Multiport\nSelector"
Ports [1, 10]
Position [70, 37, 135, 333]
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Rows"
idxCellArray "{1:12, 13:36, 37:60, 61:84, 85:96, 97:108, 109:132, 133:156, 157:180, 181:192}"
idxErrMode "Clip Index"
}
Block {
BlockType Outport
Name "Out"
Position [505, 178, 535, 192]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Multiport\nSelector"
DstPort 1
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 9
DstBlock "Matrix\nConcatenation"
DstPort 18
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 8
DstBlock "Matrix\nConcatenation"
DstPort 16
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 7
DstBlock "Matrix\nConcatenation"
DstPort 14
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 6
DstBlock "Matrix\nConcatenation"
DstPort 12
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 5
DstBlock "Matrix\nConcatenation"
DstPort 10
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 4
DstBlock "Matrix\nConcatenation"
DstPort 8
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 3
DstBlock "Matrix\nConcatenation"
DstPort 6
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 2
DstBlock "Matrix\nConcatenation"
DstPort 4
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Line {
SrcBlock "Multiport\nSelector"
SrcPort 10
DstBlock "Matrix\nConcatenation"
DstPort 20
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [35, 0; 0, 40]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 3
}
Branch {
Points [0, 30]
Branch {
Points [0, 30]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 7
}
Branch {
Points [0, 30]
Branch {
DstBlock " "
DstPort 1
}
Branch {
Points [0, 60]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 13
}
Branch {
Points [0, 30]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 15
}
Branch {
Points [0, 30]
Branch {
Points [0, 30]
DstBlock "Matrix\nConcatenation"
DstPort 19
}
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 17
}
}
}
}
}
}
Branch {
DstBlock "."
DstPort 1
}
}
}
Line {
SrcBlock " 1"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 21
}
Line {
SrcBlock "."
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 5
}
Line {
SrcBlock " "
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 9
}
Line {
SrcBlock "Constant3"
SrcPort 1
DstBlock "Matrix\nConcatenation"
DstPort 11
}
Line {
SrcBlock "IFFT"
SrcPort 1
DstBlock "Add Cyclic\nPrefix"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "IFFT"
DstPort 1
}
Line {
SrcBlock "Add Cyclic\nPrefix"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [6, 1]
Position [90, 263, 145, 327]
ShowName off
FontName "Arial"
FontSize 8
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskDisplay "disp('System\\nPerformance\\nTests');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem"
Location [7, 92, 1002, 447]
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 "206"
Block {
BlockType Inport
Name "In1"
Position [15, 38, 45, 52]
FontSize 8
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "In2"
Position [15, 68, 45, 82]
FontSize 8
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "In3"
Position [15, 98, 45, 112]
FontSize 8
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "In4"
Position [15, 148, 45, 162]
FontSize 8
Port "4"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "In5"
Position [15, 198, 45, 212]
FontSize 8
Port "5"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "In6"
Position [15, 248, 45, 262]
FontSize 8
Port "6"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "Buffer"
Ports [1, 1]
Position [70, 192, 90, 218]
ShowName off
FontName "Arial"
FontSize 8
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "256"
V "0"
ic "0"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -