📄 networke.mdl
字号:
DstPort 10
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "iz{1,1}"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "b{1}"
Position [160, 80, 200, 100]
BackgroundColor "lightBlue"
Value "[5.1304006744805246;-3.3294945161257861"
";2.5823591079979993;-1.0872848938603856;0.34145486026301475;-0.34463654901432"
"339;-1.4831724647196061;1.4772334423204552;2.2703887635396418;3.0509519730387"
"935]"
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 "tansig"
Ports [1, 1]
Position [300, 60, 320, 80]
BackgroundColor "lightBlue"
SourceBlock "neural/Transfer Functions/tansig"
SourceType ""
}
Block {
BlockType Outport
Name "a{1}"
Position [360, 60, 380, 80]
BackgroundColor "magenta"
InitialOutput "[0;0;0;0;0;0;0;0;0;0]"
}
Line {
SrcBlock "p{1}"
SrcPort 1
DstBlock "Delays 1"
DstPort 1
}
Line {
SrcBlock "Delays 1"
SrcPort 1
DstBlock "IW{1,1}"
DstPort 1
}
Line {
SrcBlock "IW{1,1}"
SrcPort 1
DstBlock "netsum"
DstPort 1
}
Line {
SrcBlock "b{1}"
SrcPort 1
DstBlock "netsum"
DstPort 2
}
Line {
SrcBlock "netsum"
SrcPort 1
DstBlock "tansig"
DstPort 1
}
Line {
SrcBlock "tansig"
SrcPort 1
DstBlock "a{1}"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Layer 2"
Ports [1, 1]
Position [190, 80, 250, 100]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
System {
Name "Layer 2"
Location [480, 85, 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"
PortDimensions "10"
}
Block {
BlockType SubSystem
Name "Delays 1"
Ports [1, 1]
Position [100, 40, 120, 60]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MaskDisplay "disp('TDL')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Delays 1"
Location [480, 85, 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"
PortDimensions "10"
}
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"
}
Line {
SrcBlock "p{2}"
SrcPort 1
DstBlock "mux"
DstPort 1
}
Line {
SrcBlock "mux"
SrcPort 1
DstBlock "pd{2,1}"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "LW{2,1}"
Ports [1, 1]
Position [160, 40, 200, 60]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MaskDisplay "disp('weight')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "LW{2,1}"
Location [480, 85, 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"
PortDimensions "10"
}
Block {
BlockType Constant
Name "IW{2,1}(1,:)'"
Position [140, 40, 180, 60]
BackgroundColor "lightBlue"
Value "[-0.31064382885665143;-0.4285847322"
"0129617;0.84549946167579992;0.77808788247057203;-0.11272459395843998;0.118953"
"25715752303;0.42500556251810706;0.47893595023626101;-0.3792305626721254;0.320"
"17358347996144]"
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 ""
}
Block {
BlockType Outport
Name "lz{2,1}"
Position [420, 60, 440, 80]
BackgroundColor "magenta"
}
Line {
SrcBlock "IW{2,1}(1,:)'"
SrcPort 1
DstBlock "dotprod1"
DstPort 1
}
Line {
SrcBlock "ad{2,1}"
SrcPort 1
DstBlock "dotprod1"
DstPort 2
}
Line {
SrcBlock "dotprod1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "lz{2,1}"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "b{2}"
Position [160, 80, 200, 100]
BackgroundColor "lightBlue"
Value "-0.23051467723993624"
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 "tansig"
Ports [1, 1]
Position [300, 60, 320, 80]
BackgroundColor "lightBlue"
SourceBlock "neural/Transfer Functions/tansig"
SourceType ""
}
Block {
BlockType Outport
Name "a{2}"
Position [360, 60, 380, 80]
BackgroundColor "magenta"
InitialOutput "0"
}
Line {
SrcBlock "a{1} "
SrcPort 1
DstBlock "Delays 1"
DstPort 1
}
Line {
SrcBlock "Delays 1"
SrcPort 1
DstBlock "LW{2,1}"
DstPort 1
}
Line {
SrcBlock "LW{2,1}"
SrcPort 1
DstBlock "netsum"
DstPort 1
}
Line {
SrcBlock "b{2}"
SrcPort 1
DstBlock "netsum"
DstPort 2
}
Line {
SrcBlock "netsum"
SrcPort 1
DstBlock "tansig"
DstPort 1
}
Line {
SrcBlock "tansig"
SrcPort 1
DstBlock "a{2}"
DstPort 1
}
}
}
Block {
BlockType Goto
Name "a{1}"
Position [380, 40, 400, 60]
GotoTag "feedback1"
TagVisibility "local"
MaskDisplay "plot(cos(0:.1:2*pi),sin(0:.1:2*pi))"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Outport
Name "y{1}"
Position [380, 120, 400, 140]
BackgroundColor "magenta"
InitialOutput "0"
}
Line {
SrcBlock "p{1}"
SrcPort 1
DstBlock "Layer 1"
DstPort 1
}
Line {
SrcBlock "Layer 1"
SrcPort 1
DstBlock "a{1}"
DstPort 1
}
Line {
SrcBlock " a{1} "
SrcPort 1
DstBlock "Layer 2"
DstPort 1
}
Line {
SrcBlock "Layer 2"
SrcPort 1
DstBlock "y{1}"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "p{1}"
Position [40, 40, 80, 60]
Value "[0.91;0.56;0.23]"
MaskDisplay "disp('Input 1 ')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Scope
Name "y{1}"
Ports [1]
Position [300, 40, 320, 60]
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "Array"
}
Line {
SrcBlock "p{1}"
SrcPort 1
DstBlock "Neural Network"
DstPort 1
}
Line {
SrcBlock "Neural Network"
SrcPort 1
DstBlock "y{1}"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -