📄 kuoping.mdl
字号:
SourceType "Random Integer Generator"
mul "2"
seed "37"
Ts "1"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType Relay
Name "Relay"
Position [170, 35, 200, 65]
OffOutputValue "-1"
}
Block {
BlockType Relay
Name "Relay1"
Position [170, 135, 200, 165]
OffOutputValue "-1"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [835, 19, 865, 51]
Location [1, 56, 1025, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
MaxDataPoints "10000"
}
Block {
BlockType Scope
Name "Scope10"
Ports [1]
Position [625, 23, 655, 57]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
DataFormat "StructureWithTime"
MaxDataPoints "10000"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [965, 319, 995, 351]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [815, 104, 845, 136]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [330, 174, 360, 206]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleInput on
}
Block {
BlockType Scope
Name "Scope5"
Ports [1]
Position [670, 339, 700, 371]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [405, 169, 435, 201]
Location [-26, 65, 998, 443]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData6"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope7"
Ports [1]
Position [470, 249, 500, 281]
Location [340, 492, 664, 731]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData7"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope8"
Ports [1]
Position [465, 164, 495, 196]
Location [5, 387, 944, 741]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData8"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Scope9"
Ports [1]
Position [910, 159, 940, 191]
Location [5, 185, 1029, 504]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
SaveName "ScopeData9"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Sin
Name "Sine Wave"
Position [250, 130, 280, 160]
SineType "Time based"
Frequency "100*pi"
SampleTime "0"
VectorParams1D off
}
Block {
BlockType Sin
Name "Sine Wave1"
Position [745, 200, 775, 230]
SineType "Time based"
Frequency "100*pi"
SampleTime "0"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [395, 86, 430, 124]
SampleTime "0.001"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [585, 86, 620, 124]
SampleTime "0.001"
}
Line {
SrcBlock "Random Integer\nGenerator"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "PN Sequence\nGenerator"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 35]
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, -40; 525, 0]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Relay1"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -50]
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 90; 220, 0]
Branch {
Points [0, 25]
DstBlock "Scope7"
DstPort 1
}
Branch {
Points [185, 0]
DstBlock "Product2"
DstPort 2
}
}
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 45]
DstBlock "Scope4"
DstPort 1
}
Branch {
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Scope10"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Scope9"
DstPort 1
}
Branch {
Points [0, 75]
DstBlock "Analog\nFilter Design1"
DstPort 1
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Zero-Order\nHold"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Scope6"
DstPort 1
}
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -70]
DstBlock "Mux1"
DstPort 2
}
Branch {
Points [0, 25; 80, 0]
Branch {
Points [0, -20]
DstBlock "Scope3"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Product3"
DstPort 1
}
}
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -75]
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Scope8"
DstPort 1
}
Branch {
DstBlock "AWGN\nChannel"
DstPort 1
}
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
Points [5, 0; 0, -35]
DstBlock "Product3"
DstPort 2
}
Line {
SrcBlock "Analog\nFilter Design1"
SrcPort 1
Points [10, 0; 0, 65]
Branch {
DstBlock "Scope2"
DstPort 1
}
Branch {
Points [-375, 0; 0, 40]
DstBlock "Greater Than\nConstant"
DstPort 1
}
}
Line {
SrcBlock "AWGN\nChannel"
SrcPort 1
DstBlock "Zero-Order\nHold1"
DstPort 1
}
Line {
SrcBlock "Greater Than\nConstant"
SrcPort 1
DstBlock "Scope5"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -