📄 ofdm_fh.mdl
字号:
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem11"
Location [498, 239, 762, 352]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 48, 55, 62]
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain"
Position [170, 40, 200, 70]
Gain "1/0.75"
}
Block {
BlockType Reference
Name "QPSK\nModulator\nBaseband"
Ports [1, 1]
Position [75, 31, 150, 79]
ShowName off
SourceBlock "commdigbbndpm2/QPSK\nModulator\nBaseband"
SourceType "QPSK Modulator Baseband"
ShowPortLabels on
InType "Bit"
Enc "Gray"
Ph "pi/4"
numSamp "1"
}
Block {
BlockType Outport
Name "Out1"
Position [225, 48, 255, 62]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "QPSK\nModulator\nBaseband"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "QPSK\nModulator\nBaseband"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem12"
Ports [1, 1]
Position [110, 313, 165, 357]
Orientation "left"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('RS(15,11)\\nDecoder')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem12"
Location [485, 379, 725, 533]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [185, 43, 215, 57]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Binary-Output\nRS Decoder"
Ports [1, 1]
Position [80, 28, 160, 72]
Orientation "left"
ShowName off
SourceBlock "commblkcod2/Binary-Output\nRS Decoder"
SourceType "Binary-Output RS Decoder"
ShowPortLabels on
n "15"
k "11"
specPrimPoly off
primPoly "[1 0 1 1]"
specGenPoly off
genPoly "rsgenpoly(7,3)"
showNumErr off
outDType "double"
}
Block {
BlockType Outport
Name "Out1"
Position [25, 43, 55, 57]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Binary-Output\nRS Decoder"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Binary-Output\nRS Decoder"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem13"
Ports [0, 1]
Position [365, 95, 415, 125]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('Training')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem13"
Location [232, 120, 599, 240]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "PN Sequence\nGenerator"
Ports [0, 1]
Position [25, 23, 105, 67]
SourceBlock "commseqgen2/PN Sequence\nGenerator"
SourceType "PN Sequence Generator"
poly "[1 0 0 0 0 1 1]"
ini_sta "[0 0 0 0 0 1]"
shift "0"
Ts "4.4e-5/31"
frameBased on
sampPerFrame "31"
reset off
outDataType "double"
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter"
Ports [1, 1]
Position [135, 21, 215, 69]
SourceBlock "commutil2/Unipolar to\nBipolar\nConverter"
SourceType "Unipolar to Bipolar Converter"
ShowPortLabels on
M "2"
polarity "Positive"
}
Block {
BlockType Outport
Name "Out1"
Position [260, 38, 290, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
DstBlock "Unipolar to\nBipolar\nConverter"
DstPort 1
}
Line {
SrcBlock "Unipolar to\nBipolar\nConverter"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [1, 1]
Position [630, 317, 670, 353]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('S/P\\nconvert')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem2"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [280, 98, 310, 112]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "s/p"
Ports [1, 1]
Position [175, 80, 225, 130]
Orientation "left"
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "160"
V "0"
ic "0"
}
Block {
BlockType Outport
Name "Out1"
Position [100, 98, 130, 112]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "s/p"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "s/p"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem4"
Ports [1, 2]
Position [495, 305, 605, 365]
Orientation "left"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('OFDM Demodulator\\nand\\nRemove Cyclic pr"
"efix')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem4"
Location [188, 178, 821, 323]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [600, 38, 630, 52]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "FFT"
Ports [1, 1]
Position [340, 28, 380, 62]
Orientation "left"
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag3"
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 Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [205, 29, 255, 61]
Orientation "left"
SourceBlock "dspobslib/Frame Status\nConversion"
SourceType "Frame Status Conversion"
ShowPortLabels off
growRefPort off
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Multiport\nSelector"
Ports [1, 2]
Position [105, 15, 180, 70]
Orientation "left"
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Columns"
idxCellArray "{1,2}"
idxErrMode "Clip Index"
}
Block {
BlockType Selector
Name "Selector1"
Ports [1, 1]
Position [280, 26, 320, 64]
Orientation "left"
InputType "Matrix"
Elements "[50:64,1:16]"
Rows "[50:64,1:16]"
Columns "-1"
InputPortWidth "64"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 1]
Position [400, 14, 470, 76]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('Remove\\nCyclic Prefix')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem"
Location [474, 387, 674, 477]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [145, 38, 175, 52]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType Selector
Name "Selector4"
Ports [1, 1]
Position [80, 26, 120, 64]
Orientation "left"
InputType "Matrix"
Elements "[15:78]"
Rows "[17:80]"
Columns "-1"
InputPortWidth "78"
}
Block {
BlockType Outport
Name "Out1"
Position [25, 38, 55, 52]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Selector4"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Selector4"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem6"
Ports [1, 1]
Position [490, 16, 540, 74]
Orientation "left"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "disp('Training\\nSeparation')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem6"
Location [177, 206, 609, 316]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [350, 43, 380, 57]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -