📄 hrdsss.mdl
字号:
BlockType RelationalOperator
Name "Comparator"
Position [210, 112, 240, 143]
Operator ">"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [155, 26, 160, 64]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [85, 110, 90, 145]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Reference
Name "Format1"
Ports [1, 1]
Position [190, 64, 240, 96]
SourceBlock "dspsigattribs/Frame Status\nConve"
"rsion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Reference
Name "Format2"
Ports [1, 1]
Position [120, 104, 170, 136]
SourceBlock "dspsigattribs/Frame Status\nConve"
"rsion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Reference
Name "Format3"
Ports [1, 1]
Position [120, 149, 170, 181]
SourceBlock "dspsigattribs/Frame Status\nConve"
"rsion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Reference
Name "Format4"
Ports [1, 1]
Position [190, 19, 240, 51]
SourceBlock "dspsigattribs/Frame Status\nConve"
"rsion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Constant
Name "P1"
Position [210, 160, 240, 190]
Value "1"
VectorParams1D on
}
Block {
BlockType Constant
Name "P2"
Position [210, 205, 240, 235]
Value "2"
VectorParams1D on
}
Block {
BlockType Switch
Name "Switch1"
Position [295, 335, 325, 365]
Threshold "0.5"
}
Block {
BlockType Switch
Name "Switch2"
Position [295, 30, 325, 60]
Threshold "0.5"
}
Block {
BlockType Switch
Name "Switch3"
Position [295, 180, 325, 210]
Threshold "0.5"
}
Block {
BlockType Outport
Name "SS"
Position [345, 38, 375, 52]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "PS"
Position [355, 188, 385, 202]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "MS"
Position [350, 343, 380, 357]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Comparator"
SrcPort 1
Points [15, 0; 5, 0]
Branch {
Points [0, -85]
DstBlock "Switch2"
DstPort 2
}
Branch {
Points [0, 65]
Branch {
DstBlock "Switch3"
DstPort 2
}
Branch {
Points [0, 155]
DstBlock "Switch1"
DstPort 2
}
}
}
Line {
SrcBlock "P1"
SrcPort 1
Points [35, 0]
DstBlock "Switch3"
DstPort 1
}
Line {
SrcBlock "P2"
SrcPort 1
Points [35, 0]
DstBlock "Switch3"
DstPort 3
}
Line {
SrcBlock "Switch2"
SrcPort 1
DstBlock "SS"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 1
DstBlock "Format2"
DstPort 1
}
Line {
SrcBlock "Switch3"
SrcPort 1
DstBlock "PS"
DstPort 1
}
Line {
SrcBlock "M"
SrcPort 1
DstBlock "Demux2"
DstPort 1
}
Line {
SrcBlock "S"
SrcPort 1
Points [50, 0]
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Switch1"
SrcPort 1
DstBlock "MS"
DstPort 1
}
Line {
SrcBlock "Format2"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Comparator"
DstPort 1
}
Branch {
Points [0, 220]
DstBlock "Switch1"
DstPort 1
}
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Format4"
DstPort 1
}
Line {
SrcBlock "Format4"
SrcPort 1
DstBlock "Switch2"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [10, 0]
DstBlock "Format1"
DstPort 1
}
Line {
SrcBlock "Format1"
SrcPort 1
Points [35, 0]
DstBlock "Switch2"
DstPort 3
}
Line {
SrcBlock "Demux2"
SrcPort 2
Points [10, 0]
DstBlock "Format3"
DstPort 1
}
Line {
SrcBlock "Format3"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, -30]
DstBlock "Comparator"
DstPort 2
}
Branch {
Points [0, 195]
DstBlock "Switch1"
DstPort 3
}
}
}
}
Block {
BlockType SubSystem
Name "1Lcomp2"
Ports [2, 3]
Position [150, 97, 195, 133]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "1Lcomp2"
Location [420, 212, 838, 612]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "S"
Position [30, 38, 60, 52]
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "M"
Position [30, 123, 60, 137]
Port "2"
Interpolate on
}
Block {
BlockType RelationalOperator
Name "Comparator"
Position [210, 112, 240, 143]
Operator ">"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [155, 26, 160, 64]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [85, 110, 90, 145]
BackgroundColor "black"
ShowName off
Outputs "2"
BusSelectionMode off
}
Block {
BlockType Reference
Name "Format1"
Ports [1, 1]
Position [190, 64, 240, 96]
SourceBlock "dspsigattribs/Frame Status\nConve"
"rsion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Reference
Name "Format2"
Ports [1, 1]
Position [120, 104, 170, 136]
SourceBlock "dspsigattribs/Frame Status\nConve"
"rsion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Reference
Name "Format3"
Ports [1, 1]
Position [120, 149, 170, 181]
SourceBlock "dspsigattribs/Frame Status\nConve"
"rsion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Reference
Name "Format4"
Ports [1, 1]
Position [190, 19, 240, 51]
SourceBlock "dspsigattribs/Frame Status\nConve"
"rsion"
SourceType "Frame Status Conversion"
growRefPort off
outframe "Sample-based"
}
Block {
BlockType Constant
Name "P1"
Position [210, 160, 240, 190]
Value "3"
VectorParams1D on
}
Block {
BlockType Constant
Name "P2"
Position [210, 205, 240, 235]
Value "4"
VectorParams1D on
}
Block {
BlockType Switch
Name "Switch1"
Position [295, 335, 325, 365]
Threshold "0.5"
}
Block {
BlockType Switch
Name "Switch2"
Position [295, 30, 325, 60]
Threshold "0.5"
}
Block {
BlockType Switch
Name "Switch3"
Position [295, 180, 325, 210]
Threshold "0.5"
}
Block {
BlockType Outport
Name "SS"
Position [345, 38, 375, 52]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "PS"
Position [355, 188, 385, 202]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "MS"
Position [350, 343, 380, 357]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Comparator"
SrcPort 1
Points [15, 0; 5, 0]
Branch {
Points [0, -85]
DstBlock "Switch2"
DstPort 2
}
Branch {
Points [0, 65]
Branch {
DstBlock "Switch3"
DstPort 2
}
Branch {
Points [0, 155]
DstBlock "Switch1"
DstPort 2
}
}
}
Line {
SrcBlock "P1"
SrcPort 1
Points [35, 0]
DstBlock "Switch3"
DstPort 1
}
Line {
SrcBlock "P2"
SrcPort 1
Points [35, 0]
DstBlock "Switch3"
DstPort 3
}
Line {
SrcBlock "Switch2"
SrcPort 1
DstBlock "SS"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 1
DstBlock "Format2"
DstPort 1
}
Line {
SrcBlock "Switch3"
SrcPort 1
DstBlock "PS"
DstPort 1
}
Line {
SrcBlock "M"
SrcPort 1
DstBlock "Demux2"
DstPort 1
}
Line {
SrcBlock "S"
SrcPort 1
Points [50, 0]
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Switch1"
SrcPort 1
DstBlock "MS"
DstPort 1
}
Line {
SrcBlock "Format2"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Comparator"
DstPort 1
}
Branch {
Points [0, 220]
DstBlock "Switch1"
DstPort 1
}
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Format4"
DstPort 1
}
Line {
SrcBlock "Format4"
SrcPort 1
DstBlock "Switch2"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [10, 0]
DstBlock "Format1"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -