📄 ofdm.mdl
字号:
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 "Out"
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 "Out"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Complex to\nReal-Imag1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "D4QAM1"
Ports [1, 1]
Position [115, 78, 180, 102]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "D4QAM1"
Location [206, 372, 754, 627]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In"
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 [576, 172, 917, 591]
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 "Out"
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 "Out"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Complex to\nReal-Imag1"
DstPort 1
}
}
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [80, 29, 85, 116]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [215, 28, 220, 112]
ShowName off
Inputs "[2 2]"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Out"
Position [245, 63, 275, 77]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Demux2"
SrcPort 2
DstBlock "D4QAM1"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 1
DstBlock "D4QAM"
DstPort 1
}
Line {
SrcBlock "D4QAM"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "D4QAM1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -