📄 ofdm_slm.mdl
字号:
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [60, 103, 90, 117]
BackgroundColor "green"
}
Block {
BlockType Abs
Name "Abs"
Position [125, 95, 155, 125]
BackgroundColor "yellow"
}
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [375, 125, 415, 165]
BackgroundColor "orange"
Inputs "*/"
ShowAdditionalParam on
InputSameDT off
OutDataTypeMode "double"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [300, 95, 330, 125]
BackgroundColor "yellow"
Operator "magnitude^2"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [300, 170, 330, 200]
BackgroundColor "yellow"
Operator "magnitude^2"
}
Block {
BlockType Reference
Name "Maximum"
Ports [1, 1]
Position [210, 90, 265, 130]
BackgroundColor "yellow"
SourceBlock "dspstat3/Maximum"
SourceType "Maximum"
fcn "Value"
reset "None"
}
Block {
BlockType Reference
Name "Mean"
Ports [1, 1]
Position [210, 165, 265, 205]
BackgroundColor "yellow"
SourceBlock "dspstat3/Mean"
SourceType "Mean"
run "off"
reset_popup "None"
}
Block {
BlockType Outport
Name "Out1"
Position [450, 138, 480, 152]
BackgroundColor "green"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Abs"
DstPort 1
}
Line {
SrcBlock "Abs"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Maximum"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Mean"
DstPort 1
}
}
Line {
SrcBlock "Maximum"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Mean"
SrcPort 1
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [10, 0; 0, 25]
DstBlock "Divide"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "Divide"
DstPort 2
}
Line {
SrcBlock "Divide"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [1, 1]
Position [245, 89, 345, 131]
BackgroundColor "orange"
TreatAsAtomicUnit off
MaskDisplay "disp('OFDM PAR');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem1"
Location [2, 82, 790, 549]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [60, 103, 90, 117]
BackgroundColor "green"
}
Block {
BlockType Abs
Name "Abs"
Position [125, 95, 155, 125]
BackgroundColor "yellow"
}
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [375, 125, 415, 165]
BackgroundColor "orange"
Inputs "*/"
ShowAdditionalParam on
InputSameDT off
OutDataTypeMode "double"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [300, 95, 330, 125]
BackgroundColor "yellow"
Operator "magnitude^2"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [300, 170, 330, 200]
BackgroundColor "yellow"
Operator "magnitude^2"
}
Block {
BlockType Reference
Name "Maximum"
Ports [1, 1]
Position [210, 90, 265, 130]
BackgroundColor "yellow"
SourceBlock "dspstat3/Maximum"
SourceType "Maximum"
fcn "Value"
reset "None"
}
Block {
BlockType Reference
Name "Mean"
Ports [1, 1]
Position [210, 165, 265, 205]
BackgroundColor "yellow"
SourceBlock "dspstat3/Mean"
SourceType "Mean"
run "off"
reset_popup "None"
}
Block {
BlockType Outport
Name "Out1"
Position [450, 138, 480, 152]
BackgroundColor "green"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Abs"
DstPort 1
}
Line {
SrcBlock "Abs"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Maximum"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Mean"
DstPort 1
}
}
Line {
SrcBlock "Maximum"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Mean"
SrcPort 1
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [10, 0; 0, 25]
DstBlock "Divide"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "Divide"
DstPort 2
}
Line {
SrcBlock "Divide"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [1, 1]
Position [245, 154, 345, 196]
BackgroundColor "orange"
TreatAsAtomicUnit off
MaskDisplay "disp('OFDM PAR');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem2"
Location [2, 82, 790, 549]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [60, 103, 90, 117]
BackgroundColor "green"
}
Block {
BlockType Abs
Name "Abs"
Position [125, 95, 155, 125]
BackgroundColor "yellow"
}
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [375, 125, 415, 165]
BackgroundColor "orange"
Inputs "*/"
ShowAdditionalParam on
InputSameDT off
OutDataTypeMode "double"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [300, 95, 330, 125]
BackgroundColor "yellow"
Operator "magnitude^2"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [300, 170, 330, 200]
BackgroundColor "yellow"
Operator "magnitude^2"
}
Block {
BlockType Reference
Name "Maximum"
Ports [1, 1]
Position [210, 90, 265, 130]
BackgroundColor "yellow"
SourceBlock "dspstat3/Maximum"
SourceType "Maximum"
fcn "Value"
reset "None"
}
Block {
BlockType Reference
Name "Mean"
Ports [1, 1]
Position [210, 165, 265, 205]
BackgroundColor "yellow"
SourceBlock "dspstat3/Mean"
SourceType "Mean"
run "off"
reset_popup "None"
}
Block {
BlockType Outport
Name "Out1"
Position [450, 138, 480, 152]
BackgroundColor "green"
}
Line {
SrcBlock "Divide"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
Points [10, 0; 0, -30]
DstBlock "Divide"
DstPort 2
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [10, 0; 0, 25]
DstBlock "Divide"
DstPort 1
}
Line {
SrcBlock "Mean"
SrcPort 1
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "Maximum"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Abs"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 75]
DstBlock "Mean"
DstPort 1
}
Branch {
DstBlock "Maximum"
DstPort 1
}
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Abs"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem3"
Ports [1, 1]
Position [245, 214, 345, 256]
BackgroundColor "orange"
TreatAsAtomicUnit off
MaskDisplay "disp('OFDM PAR');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem3"
Location [2, 82, 790, 549]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [60, 103, 90, 117]
BackgroundColor "green"
}
Block {
BlockType Abs
Name "Abs"
Position [125, 95, 155, 125]
BackgroundColor "yellow"
}
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [375, 125, 415, 165]
BackgroundColor "orange"
Inputs "*/"
ShowAdditionalParam on
InputSameDT off
OutDataTypeMode "double"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [300, 95, 330, 125]
BackgroundColor "yellow"
Operator "magnitude^2"
}
Block {
BlockType Math
Name "Math\nFunction1"
Ports [1, 1]
Position [300, 170, 330, 200]
BackgroundColor "yellow"
Operator "magnitude^2"
}
Block {
BlockType Reference
Name "Maximum"
Ports [1, 1]
Position [210, 90, 265, 130]
BackgroundColor "yellow"
SourceBlock "dspstat3/Maximum"
SourceType "Maximum"
fcn "Value"
reset "None"
}
Block {
BlockType Reference
Name "Mean"
Ports [1, 1]
Position [210, 165, 265, 205]
BackgroundColor "yellow"
SourceBlock "dspstat3/Mean"
SourceType "Mean"
run "off"
reset_popup "None"
}
Block {
BlockType Outport
Name "Out1"
Position [450, 138, 480, 152]
BackgroundColor "green"
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -