📄 xxx.mdl
字号:
Line {
SrcBlock "dotprod1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "pd{1,2}"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "dotprod8"
DstPort 2
}
Branch {
DstBlock "dotprod7"
DstPort 2
}
Branch {
DstBlock "dotprod6"
DstPort 2
}
Branch {
DstBlock "dotprod5"
DstPort 2
}
Branch {
DstBlock "dotprod4"
DstPort 2
}
Branch {
DstBlock "dotprod3"
DstPort 2
}
Branch {
DstBlock "dotprod2"
DstPort 2
}
Branch {
DstBlock "dotprod1"
DstPort 2
}
}
Line {
SrcBlock "IW{1,2}(1,:)'"
SrcPort 1
DstBlock "dotprod1"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "b{1}"
Position [160, 120, 200, 140]
BackgroundColor "lightBlue"
Value "[x(17:24)]'"
MaskDisplay "disp('bias')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Sum
Name "netsum"
Ports [3, 1]
Position [240, 75, 260, 105]
BackgroundColor "lightBlue"
Inputs "3"
}
Block {
BlockType Reference
Name "tansig"
Ports [1, 1]
Position [300, 80, 320, 100]
BackgroundColor "lightBlue"
SourceBlock "neural/Transfer Functions/tansig"
SourceType "Unknown"
ShowPortLabels "on"
}
Block {
BlockType Outport
Name "a{1}"
Position [360, 80, 380, 100]
BackgroundColor "magenta"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "[0;0;0;0;0;0;0;0]"
}
Line {
SrcBlock "tansig"
SrcPort 1
DstBlock "a{1}"
DstPort 1
}
Line {
SrcBlock "netsum"
SrcPort 1
DstBlock "tansig"
DstPort 1
}
Line {
SrcBlock "b{1}"
SrcPort 1
DstBlock "netsum"
DstPort 3
}
Line {
SrcBlock "IW{1,2}"
SrcPort 1
DstBlock "netsum"
DstPort 2
}
Line {
SrcBlock "Delays 2"
SrcPort 1
DstBlock "IW{1,2}"
DstPort 1
}
Line {
SrcBlock "p{2}"
SrcPort 1
DstBlock "Delays 2"
DstPort 1
}
Line {
SrcBlock "IW{1,1}"
SrcPort 1
DstBlock "netsum"
DstPort 1
}
Line {
SrcBlock "Delays 1"
SrcPort 1
DstBlock "IW{1,1}"
DstPort 1
}
Line {
SrcBlock "p{1}"
SrcPort 1
DstBlock "Delays 1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Layer 2"
Ports [1, 1]
Position [190, 100, 250, 120]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Layer 2"
Location [480, 93, 1060, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "a{1} "
Position [40, 40, 60, 60]
BackgroundColor "magenta"
Port "1"
IconDisplay "Port number"
PortDimensions "8"
SampleTime "1"
LatchInput off
}
Block {
BlockType SubSystem
Name "Delays 1"
Ports [1, 1]
Position [100, 40, 120, 60]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('TDL')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Delays 1"
Location [480, 93, 1060, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "p{2}"
Position [60, 40, 80, 60]
Orientation "down"
BackgroundColor "magenta"
NamePlacement "alternate"
Port "1"
IconDisplay "Port number"
PortDimensions "8"
SampleTime "1"
LatchInput off
}
Block {
BlockType Mux
Name "mux"
Ports [1, 1]
Position [200, 60, 240, 80]
BackgroundColor "lightBlue"
Inputs "1"
}
Block {
BlockType Outport
Name "pd{2,1}"
Position [300, 60, 320, 80]
BackgroundColor "magenta"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "mux"
SrcPort 1
DstBlock "pd{2,1}"
DstPort 1
}
Line {
SrcBlock "p{2}"
SrcPort 1
DstBlock "mux"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "LW{2,1}"
Ports [1, 1]
Position [160, 40, 200, 60]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('weight')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "LW{2,1}"
Location [480, 93, 1060, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ad{2,1}"
Position [40, 60, 60, 80]
BackgroundColor "magenta"
Port "1"
IconDisplay "Port number"
PortDimensions "8"
SampleTime "1"
LatchInput off
}
Block {
BlockType Constant
Name "IW{2,1}(1,:)'"
Position [140, 40, 180, 60]
BackgroundColor "lightBlue"
Value "[x(25:32)]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Mux
Name "Mux"
Ports [1, 1]
Position [340, 60, 380, 80]
Inputs "1"
}
Block {
BlockType Reference
Name "dotprod1"
Ports [2, 1]
Position [240, 40, 260, 80]
BackgroundColor "lightBlue"
SourceBlock "neural/Weight Functions/dotprod"
SourceType "Unknown"
ShowPortLabels "on"
}
Block {
BlockType Outport
Name "lz{2,1}"
Position [420, 60, 440, 80]
BackgroundColor "magenta"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "lz{2,1}"
DstPort 1
}
Line {
SrcBlock "dotprod1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "ad{2,1}"
SrcPort 1
DstBlock "dotprod1"
DstPort 2
}
Line {
SrcBlock "IW{2,1}(1,:)'"
SrcPort 1
DstBlock "dotprod1"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "b{2}"
Position [160, 80, 200, 100]
BackgroundColor "lightBlue"
Value "x(33)"
MaskDisplay "disp('bias')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Sum
Name "netsum"
Ports [2, 1]
Position [240, 60, 260, 80]
BackgroundColor "lightBlue"
Inputs "2"
}
Block {
BlockType Reference
Name "purelin"
Ports [1, 1]
Position [300, 60, 320, 80]
BackgroundColor "lightBlue"
SourceBlock "neural/Transfer Functions/purelin"
SourceType "Unknown"
ShowPortLabels "on"
}
Block {
BlockType Outport
Name "a{2}"
Position [360, 60, 380, 80]
BackgroundColor "magenta"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "purelin"
SrcPort 1
DstBlock "a{2}"
DstPort 1
}
Line {
SrcBlock "netsum"
SrcPort 1
DstBlock "purelin"
DstPort 1
}
Line {
SrcBlock "b{2}"
SrcPort 1
DstBlock "netsum"
DstPort 2
}
Line {
SrcBlock "LW{2,1}"
SrcPort 1
DstBlock "netsum"
DstPort 1
}
Line {
SrcBlock "Delays 1"
SrcPort 1
DstBlock "LW{2,1}"
DstPort 1
}
Line {
SrcBlock "a{1} "
SrcPort 1
DstBlock "Delays 1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Layer 3"
Ports [2, 1]
Position [190, 140, 250, 180]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Layer 3"
Location [480, 93, 1060, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "p{1}"
Position [40, 40, 60, 60]
BackgroundColor "magenta"
Port "1"
IconDisplay "Port number"
PortDimensions "2"
SampleTime "1"
LatchInput off
}
Block {
BlockType Inport
Name "a{2} "
Position [40, 80, 60, 100]
BackgroundColor "magenta"
Port "2"
IconDisplay "Port number"
PortDimensions "1"
SampleTime "1"
LatchInput off
}
Block {
BlockType SubSystem
Name "Delays 1"
Ports [1, 1]
Position [100, 40, 120, 60]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('TDL')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Delays 1"
Location [480, 93, 1060, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "p{3}"
Position [60, 40, 80, 60]
Orientation "down"
BackgroundColor "magenta"
NamePlacement "alternate"
Port "1"
IconDisplay "Port number"
PortDimensions "2"
SampleTime "1"
LatchInput off
}
Block {
BlockType Mux
Name "mux"
Ports [1, 1]
Position [200, 60, 240, 80]
BackgroundColor "lightBlue"
Inputs "1"
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -