?? ofdm_gito.mdl
字號:
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [185, 43, 215, 57]
Orientation "left"
}
Block {
BlockType Reference
Name "Binary-Output\nRS Decoder"
Ports [1, 2]
Position [80, 28, 160, 72]
Orientation "left"
ShowName off
SourceBlock "commblkcod2/Binary-Output\nRS Decoder"
SourceType "Binary-Output RS Decoder"
n "15"
k "11"
specPrimPoly off
primPoly "[1 0 1 1]"
specGenPoly off
genPoly "rsgenpoly(7,3)"
showNumErr on
}
Block {
BlockType Terminator
Name "Terminator"
Position [90, 110, 110, 130]
}
Block {
BlockType Outport
Name "Out1"
Position [25, 33, 55, 47]
Orientation "left"
}
Line {
SrcBlock "Binary-Output\nRS Decoder"
SrcPort 2
Points [-10, 0; 0, 60]
DstBlock "Terminator"
DstPort 1
}
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 [340, 135, 390, 175]
ShowName off
TreatAsAtomicUnit 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 "usletter"
PaperUnits "inches"
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 "16e-5/2/31"
frameBased on
sampPerFrame "31"
reset off
}
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"
M "2"
polarity "Positive"
}
Block {
BlockType Outport
Name "Out1"
Position [260, 38, 290, 52]
}
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 "Subsystem14"
Ports [2, 1]
Position [130, 291, 190, 344]
ShowName off
TreatAsAtomicUnit off
MaskDisplay "disp('SER\\nCalculation')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem14"
Location [44, 275, 337, 585]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [50, 25, 80, 40]
Orientation "down"
}
Block {
BlockType Inport
Name "In2"
Position [50, 270, 80, 285]
Orientation "up"
Port "2"
}
Block {
BlockType Reference
Name "Error Rate Calculation"
Ports [2, 1]
Position [130, 126, 215, 179]
ShowName off
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "22"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "inf"
maxBits "2e4"
}
Block {
BlockType Reference
Name "QPSK\nModulator\nBaseband1"
Ports [1, 1]
Position [27, 75, 103, 125]
Orientation "down"
ShowName off
SourceBlock "commdigbbndpm2/QPSK\nModulator\nBaseband"
SourceType "QPSK Modulator Baseband"
InType "Bit"
Enc "Gray"
Ph "pi/4"
numSamp "1"
}
Block {
BlockType Reference
Name "QPSK\nModulator\nBaseband2"
Ports [1, 1]
Position [27, 195, 103, 245]
Orientation "up"
ShowName off
SourceBlock "commdigbbndpm2/QPSK\nModulator\nBaseband"
SourceType "QPSK Modulator Baseband"
InType "Bit"
Enc "Gray"
Ph "pi/4"
numSamp "1"
}
Block {
BlockType Outport
Name "Out1"
Position [240, 148, 270, 162]
}
Line {
SrcBlock "QPSK\nModulator\nBaseband1"
SrcPort 1
Points [0, 10]
DstBlock "Error Rate Calculation"
DstPort 1
}
Line {
SrcBlock "QPSK\nModulator\nBaseband2"
SrcPort 1
Points [0, -25]
DstBlock "Error Rate Calculation"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "QPSK\nModulator\nBaseband1"
DstPort 1
}
Line {
SrcBlock "Error Rate Calculation"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "QPSK\nModulator\nBaseband2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem15"
Ports [2, 1]
Position [460, 289, 525, 351]
ShowName off
TreatAsAtomicUnit off
MaskDisplay "disp('SER\\nCalculation')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem15"
Location [44, 275, 337, 585]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [50, 25, 80, 40]
Orientation "down"
}
Block {
BlockType Inport
Name "In2"
Position [50, 270, 80, 285]
Orientation "up"
Port "2"
}
Block {
BlockType Reference
Name "Error Rate Calculation"
Ports [2, 1]
Position [125, 131, 210, 184]
ShowName off
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "30"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "inf"
maxBits "2e4"
}
Block {
BlockType Reference
Name "QPSK\nModulator\nBaseband1"
Ports [1, 1]
Position [27, 75, 103, 125]
Orientation "down"
ShowName off
SourceBlock "commdigbbndpm2/QPSK\nModulator\nBaseband"
SourceType "QPSK Modulator Baseband"
InType "Bit"
Enc "Gray"
Ph "pi/4"
numSamp "1"
}
Block {
BlockType Reference
Name "QPSK\nModulator\nBaseband2"
Ports [1, 1]
Position [27, 195, 103, 245]
Orientation "up"
ShowName off
SourceBlock "commdigbbndpm2/QPSK\nModulator\nBaseband"
SourceType "QPSK Modulator Baseband"
InType "Bit"
Enc "Gray"
Ph "pi/4"
numSamp "1"
}
Block {
BlockType Outport
Name "Out1"
Position [240, 153, 270, 167]
}
Line {
SrcBlock "QPSK\nModulator\nBaseband1"
SrcPort 1
Points [0, 15]
DstBlock "Error Rate Calculation"
DstPort 1
}
Line {
SrcBlock "QPSK\nModulator\nBaseband2"
SrcPort 1
Points [0, -20]
DstBlock "Error Rate Calculation"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "QPSK\nModulator\nBaseband1"
DstPort 1
}
Line {
SrcBlock "Error Rate Calculation"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "QPSK\nModulator\nBaseband2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [1, 1]
Position [820, 175, 860, 235]
ShowName off
TreatAsAtomicUnit off
MaskDisplay "disp('P/S')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem2"
Location [432, 137, 985, 328]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 2]
Position [190, 113, 220, 142]
Output "Real and imag"
}
Block {
BlockType Goto
Name "Goto"
Position [320, 114, 380, 126]
ShowName off
GotoTag "real_tx"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto1"
Position [295, 90, 380, 110]
ShowName off
GotoTag "spektrum_kirim"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto2"
Position [320, 129, 380, 141]
ShowName off
GotoTag "im_tx"
TagVisibility "global"
}
Block {
BlockType Reference
Name "Unbuffer3"
Ports [1, 1]
Position [90, 26, 140, 74]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Outport
Name "Out1"
Position [350, 43, 380, 57]
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Unbuffer3"
DstPort 1
}
Line {
SrcBlock "Unbuffer3"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Out1"
DstPort 1
}
Branch {
Points [0, 50]
Branch {
Points [0, 30]
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Branch {
DstBlock "Goto1"
DstPort 1
}
}
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
DstBlock "Goto"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 2
DstBlock "Goto2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem3"
Ports [1, 1]
Position [885, 405, 925, 465]
Orientation "left"
ShowName off
TreatAsAtomicUnit off
MaskDisplay "disp('S/P')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem3"
Location [391, 340, 810, 584]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -