📄 ofdm.mdl
字号:
InitialOutput "[]"
}
Line {
SrcBlock "Sign2"
SrcPort 1
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Constant6"
SrcPort 1
Points [5, 0]
DstBlock "Sum6"
DstPort 2
}
Line {
SrcBlock "Sum6"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Sign2"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "2Scale\nto bit3"
Ports [1, 1]
Position [135, 79, 195, 101]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "2Scale\nto bit3"
Location [570, 178, 911, 597]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In1"
Position [40, 38, 70, 52]
Port "1"
Interpolate on
}
Block {
BlockType Constant
Name "Constant6"
Position [100, 85, 130, 115]
Value "1"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain5"
Position [205, 40, 235, 70]
Gain "1/2"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Signum
Name "Sign2"
Position [100, 30, 130, 60]
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1]
Position [155, 35, 180, 70]
ShowName off
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Out1"
Position [265, 48, 295, 62]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Sign2"
SrcPort 1
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Constant6"
SrcPort 1
Points [5, 0]
DstBlock "Sum6"
DstPort 2
}
Line {
SrcBlock "Sum6"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Sign2"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag1"
Ports [1, 2]
Position [80, 53, 110, 82]
Output "RealAndImag"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [220, 49, 230, 91]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Out1"
Position [255, 63, 285, 77]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 1
Points [5, 0]
DstBlock "2Scale\nto bit2"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 2
Points [5, 0]
DstBlock "2Scale\nto bit3"
DstPort 1
}
Line {
SrcBlock "2Scale\nto bit2"
SrcPort 1
Points [5, 0]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "2Scale\nto bit3"
SrcPort 1
Points [5, 0]
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Complex to\nReal-Imag1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "D4QAM4"
Ports [1, 1]
Position [120, 198, 185, 222]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "D4QAM4"
Location [204, 374, 752, 629]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In1"
Position [25, 63, 55, 77]
Port "1"
Interpolate on
}
Block {
BlockType SubSystem
Name "2Scale\nto bit2"
Ports [1, 1]
Position [135, 34, 195, 56]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "2Scale\nto bit2"
Location [574, 174, 915, 593]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In1"
Position [40, 38, 70, 52]
Port "1"
Interpolate on
}
Block {
BlockType Constant
Name "Constant6"
Position [100, 85, 130, 115]
Value "1"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain5"
Position [205, 40, 235, 70]
Gain "1/2"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Signum
Name "Sign2"
Position [100, 30, 130, 60]
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1]
Position [155, 35, 180, 70]
ShowName off
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Out1"
Position [265, 48, 295, 62]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Sign2"
SrcPort 1
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Constant6"
SrcPort 1
Points [5, 0]
DstBlock "Sum6"
DstPort 2
}
Line {
SrcBlock "Sum6"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Sign2"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "2Scale\nto bit3"
Ports [1, 1]
Position [135, 79, 195, 101]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "2Scale\nto bit3"
Location [570, 178, 911, 597]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In1"
Position [40, 38, 70, 52]
Port "1"
Interpolate on
}
Block {
BlockType Constant
Name "Constant6"
Position [100, 85, 130, 115]
Value "1"
VectorParams1D on
}
Block {
BlockType Gain
Name "Gain5"
Position [205, 40, 235, 70]
Gain "1/2"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Signum
Name "Sign2"
Position [100, 30, 130, 60]
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1]
Position [155, 35, 180, 70]
ShowName off
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Out1"
Position [265, 48, 295, 62]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Sign2"
SrcPort 1
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Constant6"
SrcPort 1
Points [5, 0]
DstBlock "Sum6"
DstPort 2
}
Line {
SrcBlock "Sum6"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Sign2"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag1"
Ports [1, 2]
Position [80, 53, 110, 82]
Output "RealAndImag"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [220, 49, 230, 91]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Out1"
Position [255, 63, 285, 77]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 1
Points [5, 0]
DstBlock "2Scale\nto bit2"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag1"
SrcPort 2
Points [5, 0]
DstBlock "2Scale\nto bit3"
DstPort 1
}
Line {
SrcBlock "2Scale\nto bit2"
SrcPort 1
Points [5, 0]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "2Scale\nto bit3"
SrcPort 1
Points [5, 0]
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Complex to\nReal-Imag1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "D4QAM5"
Ports [1, 1]
Position [120, 238, 185, 262]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "D4QAM5"
Location [204, 374, 752, 629]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -