📄 mud.mdl
字号:
SrcPort 1
DstBlock "Subsystem1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [15, 0; 0, -30]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
Points [40, 0; 0, -10]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -45]
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 30]
DstBlock "Out2"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "user3"
Ports [0, 2]
Position [55, 186, 95, 224]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "user3"
Location [229, 139, 844, 360]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator"
Ports [0, 1]
Position [25, 23, 105, 67]
FontName "Arial"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
P "0.5"
seed "6415"
Ts "1"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType Constant
Name "Constant1"
Position [215, 155, 245, 185]
}
Block {
BlockType Reference
Name "Gold Sequence\nGenerator"
Ports [0, 1]
Position [35, 108, 115, 152]
SourceBlock "commseqgen2/Gold Sequence\nGenerator"
SourceType "Gold Sequence Generator"
ShowPortLabels on
genPoly1 "[1 0 0 1 0 1]"
iniState1 "[0 0 0 0 1]"
genPoly2 "[1 1 1 1 0 1]"
iniState2 "[0 0 0 0 1]"
index "0"
shift "4"
ts "1/31"
frameBased off
sampPerFrame "1"
reset off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [430, 62, 460, 93]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [325, 122, 355, 153]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 1]
Position [145, 23, 185, 67]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem"
Location [509, 143, 764, 278]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 28, 55, 42]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [145, 37, 175, 68]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
Position [25, 70, 55, 100]
Value "2"
}
Block {
BlockType Constant
Name "Constant1"
Position [90, 80, 120, 110]
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [80, 27, 110, 58]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [200, 48, 230, 62]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, -35]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, -35]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [1, 1]
Position [145, 108, 185, 152]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem1"
Location [509, 143, 764, 278]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 28, 55, 42]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [145, 37, 175, 68]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
Position [25, 70, 55, 100]
Value "2"
}
Block {
BlockType Constant
Name "Constant1"
Position [90, 80, 120, 110]
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [80, 27, 110, 58]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [200, 48, 230, 62]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, -35]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [0, -35]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [485, 73, 515, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [490, 148, 520, 162]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Bernoulli Binary\nGenerator"
SrcPort 1
DstBlock "Subsystem"
DstPort 1
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [30, 0; 0, 25]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Gold Sequence\nGenerator"
SrcPort 1
DstBlock "Subsystem1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [30, 0; 0, -25]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [25, 0]
Branch {
Points [0, -55]
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 15]
DstBlock "Out2"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "user4"
Ports [0, 2]
Position [60, 256, 100, 294]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "user4"
Location [217, 186, 867, 398]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Bernoulli Binary\nGenerator"
Ports [0, 1]
Position [25, 23, 105, 67]
FontName "Arial"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels "on"
P "0.5"
seed "946456"
Ts "1"
frameBased "off"
sampPerFrame "1"
orient "off"
}
Block {
BlockType Constant
Name "Constant1"
Position [240, 150, 270, 180]
}
Block {
BlockType Reference
Name "Gold Sequence\nGenerator"
Ports [0, 1]
Position [35, 108, 115, 152]
SourceBlock "commseqgen2/Gold Sequence\nGenerator"
SourceType "Gold Sequence Generator"
ShowPortLabels "on"
genPoly1 "[1 0 0 1 0 1]"
iniState1 "[0 0 0 0 1]"
genPoly2 "[1 1 1 1 0 1]"
iniState2 "[0 0 0 0 1]"
index "0"
shift "6"
ts "1/31"
frameBased "off"
sampPerFrame "1"
reset "off"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [440, 57, 470, 88]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [335, 117, 365, 148]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 1]
Position [145, 23, 185, 67]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem"
Location [509, 143, 764, 278]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 28, 55, 42]
Port "1"
IconDisplay "Port number"
LatchInput off
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -