📄 neural_pdsin.mdl
字号:
Ports [2, 1]
Position [240, 100, 260, 140]
BackgroundColor "lightBlue"
SourceBlock "neural/Weight Functions/dotprod"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Reference
Name "dotprod3"
Ports [2, 1]
Position [240, 160, 260, 200]
BackgroundColor "lightBlue"
SourceBlock "neural/Weight Functions/dotprod"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Reference
Name "dotprod4"
Ports [2, 1]
Position [240, 220, 260, 260]
BackgroundColor "lightBlue"
SourceBlock "neural/Weight Functions/dotprod"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Reference
Name "dotprod5"
Ports [2, 1]
Position [240, 280, 260, 320]
BackgroundColor "lightBlue"
SourceBlock "neural/Weight Functions/dotprod"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Reference
Name "dotprod6"
Ports [2, 1]
Position [240, 340, 260, 380]
BackgroundColor "lightBlue"
SourceBlock "neural/Weight Functions/dotprod"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Outport
Name "iz{1,1}"
Position [420, 210, 440, 230]
BackgroundColor "magenta"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "IW{1,1}(1,:)'"
SrcPort 1
DstBlock "dotprod1"
DstPort 1
}
Line {
SrcBlock "pd{1,1}"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "dotprod1"
DstPort 2
}
Branch {
DstBlock "dotprod2"
DstPort 2
}
Branch {
DstBlock "dotprod3"
DstPort 2
}
Branch {
DstBlock "dotprod4"
DstPort 2
}
Branch {
DstBlock "dotprod5"
DstPort 2
}
Branch {
DstBlock "dotprod6"
DstPort 2
}
}
Line {
SrcBlock "dotprod1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "IW{1,1}(2,:)'"
SrcPort 1
DstBlock "dotprod2"
DstPort 1
}
Line {
SrcBlock "dotprod2"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "IW{1,1}(3,:)'"
SrcPort 1
DstBlock "dotprod3"
DstPort 1
}
Line {
SrcBlock "dotprod3"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "IW{1,1}(4,:)'"
SrcPort 1
DstBlock "dotprod4"
DstPort 1
}
Line {
SrcBlock "dotprod4"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "IW{1,1}(5,:)'"
SrcPort 1
DstBlock "dotprod5"
DstPort 1
}
Line {
SrcBlock "dotprod5"
SrcPort 1
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "IW{1,1}(6,:)'"
SrcPort 1
DstBlock "dotprod6"
DstPort 1
}
Line {
SrcBlock "dotprod6"
SrcPort 1
DstBlock "Mux"
DstPort 6
}
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 "[4.1108832319427817;5.292235885650987;-"
"2.4088968173669643;0.0079776474447154789;-1.6717842512283443;4.90345062047277"
"12]"
MaskDisplay "disp('bias')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Reference
Name "logsig"
Ports [1, 1]
Position [300, 60, 320, 80]
BackgroundColor "lightBlue"
SourceBlock "neural/Transfer Functions/logsig"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Sum
Name "netsum"
Ports [2, 1]
Position [240, 60, 260, 80]
BackgroundColor "lightBlue"
Inputs "2"
}
Block {
BlockType Outport
Name "a{1}"
Position [360, 60, 380, 80]
BackgroundColor "magenta"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "[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 "logsig"
DstPort 1
}
Line {
SrcBlock "logsig"
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
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 "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "a{1} "
Position [40, 40, 60, 60]
BackgroundColor "magenta"
Port "1"
IconDisplay "Port number"
PortDimensions "6"
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 "usletter"
PaperUnits "inches"
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 "6"
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 "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
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 "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "ad{2,1}"
Position [40, 630, 60, 650]
BackgroundColor "magenta"
Port "1"
IconDisplay "Port number"
PortDimensions "6"
LatchInput off
}
Block {
BlockType Constant
Name "IW{2,1}(1,:)'"
Position [140, 40, 180, 60]
BackgroundColor "lightBlue"
Value "[3.1000828977569594;-4.398773085551"
"3307;-3.7823910044699587;-3.7299336480856886;-0.73846687840069414;-7.19922540"
"31681977]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{2,1}(10,:)'"
Position [140, 580, 180, 600]
BackgroundColor "lightBlue"
Value "[1.494862097100456;6.79590624276133"
"41;-5.7912540458364834;4.4963232135589211;0.76989458262896504;0.3937749187511"
"1126]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{2,1}(11,:)'"
Position [140, 640, 180, 660]
BackgroundColor "lightBlue"
Value "[6.2875708838299902;2.5653300899451"
"255;-1.2468333556613513;3.2849936617056623;2.0166935242625543;-5.911405911720"
"2524]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{2,1}(12,:)'"
Position [140, 700, 180, 720]
BackgroundColor "lightBlue"
Value "[5.6947180562611077;-1.034443105888"
"3303;-2.2596777569794471;-3.2628866889499024;-5.7085283796114856;-0.396606039"
"34391198]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{2,1}(13,:)'"
Position [140, 760, 180, 780]
BackgroundColor "lightBlue"
Value "[0.11836058817342686;0.049813205971"
"702287;4.7676454742051204;4.8238669025540615;-5.7259715925644974;2.7541167135"
"436795]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{2,1}(14,:)'"
Position [140, 820, 180, 840]
BackgroundColor "lightBlue"
Value "[4.1861672335404911;-1.846618589808"
"1;-5.4851194814587769;1.4310761999360715;-3.5016363227947522;4.41044479668033"
"33]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{2,1}(15,:)'"
Position [140, 880, 180, 900]
BackgroundColor "lightBlue"
Value "[-4.9812486545610648;-1.06468216824"
"72245;4.0463001611051075;-5.4908004599985611;1.3299528967915446;-3.3532559170"
"027758]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Constant
Name "IW{2,1}(16,:)'"
Position [140, 940, 180, 960]
BackgroundColor "lightBlue"
Value "[4.6435690415171633;-2.824183056863"
"3124;4.8591389106927583;-2.5520703980867667;-4.2486157910529592;-2.4190376553"
"979447]"
MaskDisplay "disp('weights')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -