📄 ofdm_pts.mdl
字号:
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "block1"
Position [45, 103, 75, 117]
BackgroundColor "green"
}
Block {
BlockType Inport
Name "block2"
Position [45, 173, 75, 187]
BackgroundColor "green"
Port "2"
}
Block {
BlockType Inport
Name "block3"
Position [45, 238, 75, 252]
BackgroundColor "green"
Port "3"
}
Block {
BlockType Inport
Name "block4"
Position [45, 323, 75, 337]
BackgroundColor "green"
Port "4"
}
Block {
BlockType From
Name "From"
Position [625, 36, 665, 64]
BackgroundColor "yellow"
CloseFcn "tagdialog Close"
FontName "Arial"
FontSize 9
GotoTag "Block1"
}
Block {
BlockType From
Name "From1"
Position [625, 131, 665, 159]
BackgroundColor "yellow"
CloseFcn "tagdialog Close"
FontName "Arial"
FontSize 9
GotoTag "Block2"
}
Block {
BlockType From
Name "From2"
Position [625, 241, 665, 269]
BackgroundColor "yellow"
CloseFcn "tagdialog Close"
FontName "Arial"
FontSize 9
GotoTag "Block3"
}
Block {
BlockType From
Name "From3"
Position [625, 346, 665, 374]
BackgroundColor "yellow"
CloseFcn "tagdialog Close"
FontName "Arial"
FontSize 9
GotoTag "Block4"
}
Block {
BlockType Goto
Name "Goto"
Position [130, 65, 170, 95]
BackgroundColor "yellow"
FontName "Arial"
FontSize 9
GotoTag "Block1"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto1"
Position [130, 130, 170, 160]
BackgroundColor "yellow"
FontName "Arial"
FontSize 9
GotoTag "Block2"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto2"
Position [125, 265, 165, 295]
BackgroundColor "yellow"
FontName "Arial"
FontSize 9
GotoTag "Block3"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto3"
Position [125, 355, 165, 385]
BackgroundColor "yellow"
FontName "Arial"
FontSize 9
GotoTag "Block4"
TagVisibility "local"
}
Block {
BlockType Reference
Name "Multiport\nSelector1"
Ports [1, 4]
Position [360, 218, 440, 262]
BackgroundColor "[0.533333, 0.760784, 0.513725]"
SourceBlock "dspindex/Multiport\nSelector"
SourceType "Multiport Selector"
rowsOrCols "Rows"
idxCellArray "{1,2,3,4}"
idxErrMode "Clip Index"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [710, 34, 795, 101]
BackgroundColor "orange"
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [710, 129, 795, 196]
BackgroundColor "orange"
InputSameDT off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [710, 239, 795, 306]
BackgroundColor "orange"
InputSameDT off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [710, 344, 795, 411]
BackgroundColor "orange"
InputSameDT off
}
Block {
BlockType "S-Function"
Name "SLMsolver"
Ports [4, 1]
Position [235, 202, 325, 273]
BackgroundColor "lightBlue"
FunctionName "SLMsolver"
}
Block {
BlockType Sum
Name "Sum"
Ports [4, 1]
Position [885, 189, 945, 271]
BackgroundColor "magenta"
ShowName off
Inputs "++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType SubSystem
Name "rotate phase"
Ports [1, 1]
Position [525, 68, 585, 102]
BackgroundColor "darkGreen"
TreatAsAtomicUnit off
MaskDisplay "disp('phase');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "rotate phase"
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 [30, 48, 60, 62]
BackgroundColor "green"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [290, 75, 330, 115]
BackgroundColor "yellow"
ShowAdditionalParam on
InputSameDT off
OutDataTypeMode "double"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Complex\nExponential"
Ports [1, 1]
Position [375, 77, 420, 113]
BackgroundColor "yellow"
SourceBlock "dspmathops/Complex\nExponential"
SourceType "Complex Exponential"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 1]
Position [110, 40, 140, 70]
BackgroundColor "yellow"
Output "Real"
}
Block {
BlockType Constant
Name "Constant"
Position [175, 115, 205, 145]
BackgroundColor "yellow"
Value "0.25*pi"
}
Block {
BlockType Gain
Name "Gain"
Position [185, 40, 215, 70]
BackgroundColor "yellow"
Gain "0.5*pi"
}
Block {
BlockType Outport
Name "Out1"
Position [480, 88, 510, 102]
BackgroundColor "green"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [35, 0; 0, -25]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [25, 0; 0, 30]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Complex\nExponential"
DstPort 1
}
Line {
SrcBlock "Complex\nExponential"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "rotate phase1"
Ports [1, 1]
Position [525, 162, 585, 198]
BackgroundColor "darkGreen"
TreatAsAtomicUnit off
MaskDisplay "disp('phase');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "rotate phase1"
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 [45, 88, 75, 102]
BackgroundColor "green"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [305, 115, 345, 155]
BackgroundColor "yellow"
ShowAdditionalParam on
InputSameDT off
OutDataTypeMode "double"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Complex\nExponential"
Ports [1, 1]
Position [395, 117, 440, 153]
BackgroundColor "yellow"
SourceBlock "dspmathops/Complex\nExponential"
SourceType "Complex Exponential"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 1]
Position [125, 80, 155, 110]
BackgroundColor "yellow"
Output "Real"
}
Block {
BlockType Constant
Name "Constant"
Position [190, 155, 220, 185]
BackgroundColor "yellow"
Value "0.25*pi"
}
Block {
BlockType Gain
Name "Gain"
Position [200, 80, 230, 110]
BackgroundColor "yellow"
Gain "0.5*pi"
}
Block {
BlockType Outport
Name "Out1"
Position [495, 128, 525, 142]
BackgroundColor "green"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [35, 0; 0, -25]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [25, 0; 0, 30]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Complex\nExponential"
DstPort 1
}
Line {
SrcBlock "Complex\nExponential"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "rotate phase2"
Ports [1, 1]
Position [520, 273, 580, 307]
BackgroundColor "darkGreen"
TreatAsAtomicUnit off
MaskDisplay "disp('phase');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "rotate phase2"
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 [35, 83, 65, 97]
BackgroundColor "green"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [295, 110, 335, 150]
BackgroundColor "yellow"
ShowAdditionalParam on
InputSameDT off
OutDataTypeMode "double"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Complex\nExponential"
Ports [1, 1]
Position [375, 112, 420, 148]
BackgroundColor "yellow"
SourceBlock "dspmathops/Complex\nExponential"
SourceType "Complex Exponential"
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 1]
Position [115, 75, 145, 105]
BackgroundColor "yellow"
Output "Real"
}
Block {
BlockType Constant
Name "Constant"
Position [180, 150, 210, 180]
BackgroundColor "yellow"
Value "0.25*pi"
}
Block {
BlockType Gain
Name "Gain"
Position [190, 75, 220, 105]
BackgroundColor "yellow"
Gain "0.5*pi"
}
Block {
BlockType Outport
Name "Out1"
Position [480, 123, 510, 137]
BackgroundColor "green"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -