📄 ofdm_slm.mdl
字号:
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [90, 95, 120, 125]
BackgroundColor "yellow"
Value "[5 7 3 0 7"
" 2 4 2 2 5 6 6 4"
" 6 2 5 5 2 6 4 5"
" 0 7 4 6 5 4 0 5"
" 4 5 1 3 0 2 0 6"
" 1 0 2 2 4 0 2 0"
" 3 6 2 4 3 6 5 5"
" 5 6 3 0 7 2 0 2"
" 0 6 1]"
}
Block {
BlockType Gain
Name "Gain"
Position [180, 95, 210, 125]
BackgroundColor "yellow"
Gain "-j*pi/4"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [270, 95, 300, 125]
BackgroundColor "yellow"
}
Block {
BlockType Outport
Name "Out1"
Position [360, 103, 390, 117]
BackgroundColor "green"
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "CON rotate phase2"
Ports [0, 1]
Position [295, 309, 395, 351]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MaskDisplay "disp('CON rotate phase');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "CON rotate phase2"
Location [214, 207, 712, 507]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [90, 95, 120, 125]
BackgroundColor "yellow"
Value "[2 6 4 7 3"
" 7 4 0 1 5 1 7 6"
" 3 5 2 3 4 4 4 2"
" 1 1 0 7 6 4 5 6"
" 4 5 5 5 1 1 5 3"
" 6 1 7 1 5 1 0 1"
" 7 1 6 1 3 0 0 3"
" 1 1 5 2 1 5 6 6"
" 3 1 4]"
}
Block {
BlockType Gain
Name "Gain"
Position [180, 95, 210, 125]
BackgroundColor "yellow"
Gain "-j*pi/4"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [270, 95, 300, 125]
BackgroundColor "yellow"
}
Block {
BlockType Outport
Name "Out1"
Position [360, 103, 390, 117]
BackgroundColor "green"
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "CON rotate phase3"
Ports [0, 1]
Position [295, 419, 395, 461]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MaskDisplay "disp('CON rotate phase');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "CON rotate phase3"
Location [214, 207, 712, 507]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [90, 95, 120, 125]
BackgroundColor "yellow"
Value "[7 6 1 2 2"
" 0 6 4 1 0 4 5 1"
" 6 0 0 1 5 0 1 0"
" 2 7 6 5 7 2 2 1"
" 5 4 7 0 4 2 3 5"
" 0 4 1 2 2 4 5 1"
" 4 1 2 4 1 0 2 5"
" 1 1 7 4 7 3 3 6"
" 4 4 2]"
}
Block {
BlockType Gain
Name "Gain"
Position [180, 95, 210, 125]
BackgroundColor "yellow"
Gain "-j*pi/4"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [270, 95, 300, 125]
BackgroundColor "yellow"
}
Block {
BlockType Outport
Name "Out1"
Position [360, 103, 390, 117]
BackgroundColor "green"
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Frame Status\nConversion"
Ports [1, 1]
Position [450, 82, 500, 118]
BackgroundColor "yellow"
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Frame Status\nConversion1"
Ports [1, 1]
Position [450, 197, 500, 233]
BackgroundColor "yellow"
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Frame Status\nConversion2"
Ports [1, 1]
Position [450, 312, 500, 348]
BackgroundColor "yellow"
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType Reference
Name "Frame Status\nConversion3"
Ports [1, 1]
Position [445, 422, 495, 458]
BackgroundColor "yellow"
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch"
Ports [5, 1]
Position [785, 256, 830, 334]
BackgroundColor "orange"
InputSameDT off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [565, 76, 610, 109]
BackgroundColor "yellow"
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [565, 191, 610, 224]
BackgroundColor "yellow"
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [575, 306, 620, 339]
BackgroundColor "yellow"
InputSameDT off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [575, 416, 620, 449]
BackgroundColor "yellow"
InputSameDT off
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [2, 4]
Position [125, 245, 205, 300]
BackgroundColor "orange"
FunctionName "switchinput"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Outport
Name "Signal_out"
Position [880, 288, 910, 302]
BackgroundColor "green"
}
Line {
SrcBlock "Index"
SrcPort 1
Points [40, 0]
Branch {
Points [0, 20]
DstBlock "S-Function"
DstPort 1
}
Branch {
Points [0, -215; 680, 0]
DstBlock "Multiport\nSwitch"
DstPort 1
}
}
Line {
SrcBlock "Signal"
SrcPort 1
Points [40, 0; 0, -15]
DstBlock "S-Function"
DstPort 2
}
Line {
SrcBlock "CON rotate phase"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "CON rotate phase1"
SrcPort 1
DstBlock "Frame Status\nConversion1"
DstPort 1
}
Line {
SrcBlock "CON rotate phase2"
SrcPort 1
DstBlock "Frame Status\nConversion2"
DstPort 1
}
Line {
SrcBlock "CON rotate phase3"
SrcPort 1
DstBlock "Frame Status\nConversion3"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [125, 0; 0, 185]
DstBlock "Multiport\nSwitch"
DstPort 2
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [135, 0; 0, -110]
DstBlock "Multiport\nSwitch"
DstPort 5
}
Line {
SrcBlock "S-Function"
SrcPort 1
Points [35, 0; 0, -195; 280, 0; 0, 30]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 2
Points [60, 0; 0, -100; 260, 0; 0, 35]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 3
Points [315, 0; 0, 35]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 4
Points [55, 0; 0, 95; 260, 0; 0, 35]
DstBlock "Product3"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [100, 0; 0, 85]
DstBlock "Multiport\nSwitch"
DstPort 3
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [90, 0; 0, -15]
DstBlock "Multiport\nSwitch"
DstPort 4
}
Line {
SrcBlock "Multiport\nSwitch"
SrcPort 1
DstBlock "Signal_out"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Frame Status\nConversion1"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Frame Status\nConversion2"
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Frame Status\nConversion3"
SrcPort 1
DstBlock "Product3"
DstPort 2
}
}
}
Block {
BlockType DigitalClock
Name "Digital Clock"
Position [285, 117, 345, 133]
ShowName off
SampleTime "8e-5"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [410, 283, 500, 347]
BackgroundColor "yellow"
Decimation "1"
}
Block {
BlockType Display
Name "Display1"
Ports [1]
Position [610, 110, 700, 140]
BackgroundColor "cyan"
Decimation "1"
}
Block {
BlockType Display
Name "Display2"
Ports [1]
Position [385, 113, 460, 137]
ShowName off
FontSize 9
Decimation "1"
}
Block {
BlockType Reference
Name "Error Rate\nCalculation"
Ports [2, 1]
Position [265, 287, 340, 338]
BackgroundColor "yellow"
SourceBlock "commsink2/Error Rate\nCalculation"
SourceType "Error Rate Calculation"
N "128"
st_delay "0"
cp_mode "Entire frame"
subframe "[]"
PMode "Port"
WsName "ErrorVec"
RsMode2 off
stop off
numErr "100"
maxBits "1e6"
}
Block {
BlockType Reference
Name "FFT"
Ports [1, 1]
Position [725, 435, 765, 465]
Orientation "left"
BackgroundColor "yellow"
NamePlacement "alternate"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -