📄 sensing.mdl
字号:
Ports [0, 1]
Position [30, 25, 70, 85]
TreatAsAtomicUnit off
System {
Name "random2"
Location [285, 366, 575, 543]
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 "5"
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 [380, 58, 410, 72]
}
Line {
SrcBlock "random2"
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 "Subsystem1"
Ports [0, 1]
Position [30, 395, 70, 455]
TreatAsAtomicUnit off
System {
Name "Subsystem1"
Location [308, 162, 911, 705]
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 [135, 167, 210, 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 "280"
Ph "0"
OutSamp "0.001"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [285, 46, 330, 79]
InputSameDT off
}
Block {
BlockType SubSystem
Name "random1"
Ports [0, 1]
Position [25, 25, 65, 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 "213432"
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 [20, 165, 60, 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 [355, 58, 385, 72]
}
Line {
SrcBlock "random1"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product1"
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 "Product1"
DstPort 2
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [5, 1]
Position [215, 131, 260, 339]
ShowName off
Inputs "+++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType SubSystem
Name "signal 1"
Ports [0, 1]
Position [25, 25, 65, 85]
TreatAsAtomicUnit off
System {
Name "signal 1"
Location [142, 373, 806, 726]
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 [165, 172, 240, 228]
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 "200"
Ph "0"
OutSamp "0.001"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [315, 51, 360, 84]
InputSameDT off
}
Block {
BlockType SubSystem
Name "random"
Ports [0, 1]
Position [35, 30, 75, 90]
TreatAsAtomicUnit off
System {
Name "random"
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]
Mean "1"
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 SubSystem
Name "random1"
Ports [0, 1]
Position [50, 170, 90, 230]
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]
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 [385, 63, 415, 77]
}
Line {
SrcBlock "random"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -