📄 sensing.mdl
字号:
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "random1"
SrcPort 1
DstBlock "General QAM\nModulator\nPassband"
DstPort 1
}
Line {
SrcBlock "General QAM\nModulator\nPassband"
SrcPort 1
Points [25, 0; 0, -125]
DstBlock "Product"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "signal 2"
Ports [0, 1]
Position [25, 110, 65, 170]
TreatAsAtomicUnit off
System {
Name "signal 2"
Location [209, 117, 830, 689]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "General QAM\nModulator\nPassband"
Ports [1, 1]
Position [150, 167, 225, 223]
SourceBlock "commdigpbndam2/General QAM\nModulator\n"
"Passband"
SourceType "General QAM Modulator Passband"
SigCon "[exp(2*pi*i*[0:6]/7)]"
td "1/100"
numSamp "1"
Fc "220"
Ph "0"
OutSamp "0.001"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [300, 46, 345, 79]
InputSameDT off
}
Block {
BlockType SubSystem
Name "random1"
Ports [0, 1]
Position [30, 25, 70, 85]
TreatAsAtomicUnit off
System {
Name "random1"
Location [484, 370, 774, 547]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [25, 25, 55, 55]
}
Block {
BlockType Constant
Name "Constant1"
Position [25, 120, 55, 150]
Value "0"
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [90, 65, 120, 95]
Seed "19"
SampleTime "1"
}
Block {
BlockType Switch
Name "Switch"
Position [180, 65, 210, 95]
InputSameDT off
}
Block {
BlockType Outport
Name "Out1"
Position [235, 73, 265, 87]
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [105, 0]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Random\nNumber"
SrcPort 1
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [105, 0]
DstBlock "Switch"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "random2"
Ports [0, 1]
Position [35, 165, 75, 225]
TreatAsAtomicUnit off
System {
Name "random2"
Location [484, 370, 774, 547]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [25, 25, 55, 55]
}
Block {
BlockType Constant
Name "Constant1"
Position [25, 120, 55, 150]
Value "0"
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [90, 65, 120, 95]
SampleTime "1"
}
Block {
BlockType Switch
Name "Switch"
Position [180, 65, 210, 95]
InputSameDT off
}
Block {
BlockType Outport
Name "Out1"
Position [235, 73, 265, 87]
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [105, 0]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Random\nNumber"
SrcPort 1
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [105, 0]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [370, 58, 400, 72]
}
Line {
SrcBlock "random1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "random2"
SrcPort 1
DstBlock "General QAM\nModulator\nPassband"
DstPort 1
}
Line {
SrcBlock "General QAM\nModulator\nPassband"
SrcPort 1
Points [25, 0; 0, -125]
DstBlock "Product"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "signal 3"
Ports [0, 1]
Position [25, 205, 65, 265]
TreatAsAtomicUnit off
System {
Name "signal 3"
Location [429, 312, 898, 747]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "General QAM\nModulator\nPassband"
Ports [1, 1]
Position [130, 167, 205, 223]
SourceBlock "commdigpbndam2/General QAM\nModulator\n"
"Passband"
SourceType "General QAM Modulator Passband"
SigCon "[exp(2*pi*i*[0:6]/7)]"
td "1/100"
numSamp "1"
Fc "240"
Ph "0"
OutSamp "0.001"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [275, 46, 320, 79]
InputSameDT off
}
Block {
BlockType SubSystem
Name "random1"
Ports [0, 1]
Position [35, 25, 75, 85]
TreatAsAtomicUnit off
System {
Name "random1"
Location [484, 370, 774, 547]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [25, 25, 55, 55]
}
Block {
BlockType Constant
Name "Constant1"
Position [25, 120, 55, 150]
Value "0"
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [90, 65, 120, 95]
Seed "41"
SampleTime "1"
}
Block {
BlockType Switch
Name "Switch"
Position [180, 65, 210, 95]
InputSameDT off
}
Block {
BlockType Outport
Name "Out1"
Position [235, 73, 265, 87]
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [105, 0]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Random\nNumber"
SrcPort 1
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [105, 0]
DstBlock "Switch"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "random2"
Ports [0, 1]
Position [15, 165, 55, 225]
TreatAsAtomicUnit off
System {
Name "random2"
Location [484, 370, 774, 547]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [25, 25, 55, 55]
}
Block {
BlockType Constant
Name "Constant1"
Position [25, 120, 55, 150]
Value "0"
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [90, 65, 120, 95]
SampleTime "1"
}
Block {
BlockType Switch
Name "Switch"
Position [180, 65, 210, 95]
InputSameDT off
}
Block {
BlockType Outport
Name "Out1"
Position [235, 73, 265, 87]
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [105, 0]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Random\nNumber"
SrcPort 1
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [105, 0]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [345, 58, 375, 72]
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "random2"
SrcPort 1
DstBlock "General QAM\nModulator\nPassband"
DstPort 1
}
Line {
SrcBlock "General QAM\nModulator\nPassband"
SrcPort 1
Points [25, 0; 0, -125]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "random1"
SrcPort 1
DstBlock "Product"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [425, 218, 455, 232]
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "signal 1"
SrcPort 1
Points [65, 0; 0, 100; 40, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 350]
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "signal 2"
SrcPort 1
Points [55, 0; 0, 55; 25, 0]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
Points [0, 300; 175, 0]
DstBlock "Scope1"
DstPort 2
}
}
Line {
SrcBlock "signal 3"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "Sum"
DstPort 3
}
Branch {
Points [0, 250; 230, 0]
DstBlock "Scope1"
DstPort 3
}
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [30, 0]
Branch {
Points [35, 0; 0, -50]
DstBlock "Sum"
DstPort 4
}
Branch {
Points [0, 145; 275, 0]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -