📄 final.mdl
字号:
}
Block {
BlockType SubSystem
Name "code1"
Ports [0, 1]
Position [745, 190, 785, 250]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "code1"
Location [637, 192, 917, 335]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Reference
Name "Hadamard\nCode Generator"
Ports [0, 1]
Position [25, 48, 110, 92]
SourceBlock "commseqgen2/Hadamard\nCode Generator"
SourceType "Hadamard Code Generator"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
length "32"
index "22"
ts "1/32"
frameBased off
sampPerFrame "1"
outDataType "double"
}
Block {
BlockType Saturate
Name "Saturation2"
Position [145, 25, 175, 55]
UpperLimit "1"
LowerLimit "0"
}
Block {
BlockType Scope
Name "code"
Ports [1]
Position [135, 84, 165, 116]
Floating off
Location [951, 115, 1275, 354]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData9"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "code1"
Ports [1]
Position [215, 39, 245, 71]
Floating off
Location [951, 115, 1275, 354]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData13"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Outport
Name "Out1"
Position [225, 38, 255, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Hadamard\nCode Generator"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "code"
DstPort 1
}
Branch {
Points [10, 0]
DstBlock "Saturation2"
DstPort 1
}
}
Line {
SrcBlock "Saturation2"
SrcPort 1
Points [0, 5; 25, 0]
Branch {
Points [0, 10]
DstBlock "code1"
DstPort 1
}
Branch {
DstBlock "Out1"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "code2"
Ports [0, 1]
Position [765, 435, 805, 495]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "code2"
Location [637, 192, 917, 335]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Reference
Name "Hadamard\nCode Generator"
Ports [0, 1]
Position [25, 48, 110, 92]
SourceBlock "commseqgen2/Hadamard\nCode Generator"
SourceType "Hadamard Code Generator"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
length "32"
index "22"
ts "1/32"
frameBased off
sampPerFrame "1"
outDataType "double"
}
Block {
BlockType Saturate
Name "Saturation2"
Position [145, 25, 175, 55]
UpperLimit "1"
LowerLimit "0"
}
Block {
BlockType Scope
Name "code"
Ports [1]
Position [135, 84, 165, 116]
Floating off
Location [951, 115, 1275, 354]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData9"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "code1"
Ports [1]
Position [215, 39, 245, 71]
Floating off
Location [951, 115, 1275, 354]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData13"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Outport
Name "Out1"
Position [225, 38, 255, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Hadamard\nCode Generator"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "code"
DstPort 1
}
Branch {
Points [10, 0]
DstBlock "Saturation2"
DstPort 1
}
}
Line {
SrcBlock "Saturation2"
SrcPort 1
Points [0, 5; 25, 0]
Branch {
Points [0, 10]
DstBlock "code1"
DstPort 1
}
Branch {
DstBlock "Out1"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "code3"
Ports [0, 1]
Position [775, 565, 815, 625]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "code3"
Location [637, 192, 917, 335]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Reference
Name "Hadamard\nCode Generator"
Ports [0, 1]
Position [25, 48, 110, 92]
SourceBlock "commseqgen2/Hadamard\nCode Generator"
SourceType "Hadamard Code Generator"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
length "32"
index "22"
ts "1/32"
frameBased off
sampPerFrame "1"
outDataType "double"
}
Block {
BlockType Saturate
Name "Saturation2"
Position [145, 25, 175, 55]
UpperLimit "1"
LowerLimit "0"
}
Block {
BlockType Scope
Name "code"
Ports [1]
Position [135, 84, 165, 116]
Floating off
Location [951, 115, 1275, 354]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData9"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "code1"
Ports [1]
Position [215, 39, 245, 71]
Floating off
Location [951, 115, 1275, 354]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData13"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Outport
Name "Out1"
Position [225, 38, 255, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Hadamard\nCode Generator"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "code"
DstPort 1
}
Branch {
Points [10, 0]
DstBlock "Saturation2"
DstPort 1
}
}
Line {
SrcBlock "Saturation2"
SrcPort 1
Points [0, 5; 25, 0]
Branch {
Points [0, 10]
DstBlock "code1"
DstPort 1
}
Branch {
DstBlock "Out1"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "code4"
Ports [0, 1]
Position [785, 710, 825, 770]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "code4"
Location [637, 192, 917, 335]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Reference
Name "Hadamard\nCode Generator"
Ports [0, 1]
Position [25, 48, 110, 92]
SourceBlock "commseqgen2/Hadamard\nCode Generator"
SourceType "Hadamard Code Generator"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
length "32"
index "22"
ts "1/32"
frameBased off
sampPerFrame "1"
outDataType "double"
}
Block {
BlockType Saturate
Name "Saturation2"
Position [145, 25, 175, 55]
UpperLimit "1"
LowerLimit "0"
}
Block {
BlockType Scope
Name "code"
Ports [1]
Position [135, 84, 165, 116]
Floating off
Location [951, 115, 1275, 354]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData9"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "code1"
Ports [1]
Position [215, 39, 245, 71]
Floating off
Location [951, 115, 1275, 354]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData13"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Outport
Name "Out1"
Position [225, 38, 255, 52]
IconDisplay "Port number"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -