📄 nn_tbx_410.mdl
字号:
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('weight')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "IW{1,1}"
Location [480, 85, 980, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "pd{1,1}"
Position [40, 60, 60, 80]
BackgroundColor "magenta"
Port "1"
PortDimensions "3"
SampleTime "1"
Interpolate on
}
Block {
BlockType Constant
Name "IW{1,1}(1,:)'"
Position [140, 40, 180, 60]
BackgroundColor "lightBlue"
Value "[0.95675675675675709;0.963513513513"
"514;1.0364864864864864]"
VectorParams1D on
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"
DisplayOption "none"
}
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 "iz{1,1}"
Position [420, 60, 440, 80]
BackgroundColor "magenta"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "iz{1,1}"
DstPort 1
}
Line {
SrcBlock "dotprod1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "pd{1,1}"
SrcPort 1
DstBlock "dotprod1"
DstPort 2
}
Line {
SrcBlock "IW{1,1}(1,:)'"
SrcPort 1
DstBlock "dotprod1"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "b{1}"
Position [160, 80, 200, 100]
BackgroundColor "lightBlue"
Value "0.098648648648647655"
VectorParams1D on
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"
IconShape "rectangular"
Inputs "2"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "purelin"
Ports [1, 1]
Position [300, 60, 320, 80]
BackgroundColor "lightBlue"
SourceBlock "neural/Transfer Functions/purelin"
SourceType ""
}
Block {
BlockType Outport
Name "a{1}"
Position [360, 60, 380, 80]
BackgroundColor "magenta"
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
}
Line {
SrcBlock "purelin"
SrcPort 1
DstBlock "a{1}"
DstPort 1
}
Line {
SrcBlock "netsum"
SrcPort 1
DstBlock "purelin"
DstPort 1
}
Line {
SrcBlock "b{1}"
SrcPort 1
DstBlock "netsum"
DstPort 2
}
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 Outport
Name "y{1}"
Position [380, 80, 400, 100]
BackgroundColor "magenta"
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
}
Line {
SrcBlock "Layer 1"
SrcPort 1
DstBlock "y{1}"
DstPort 1
}
Line {
SrcBlock "p{1}"
SrcPort 1
DstBlock "Layer 1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [4, 1]
Position [285, 170, 315, 200]
ShowName off
IconShape "round"
Inputs "|++++"
SaturateOnIntegerOverflow on
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [100, 20, 125, 50]
VariableName "t"
MaxDataPoints "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [370, 85, 395, 115]
VariableName "y"
MaxDataPoints "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [105, 100, 140, 140]
FontSize 10
X0 "1"
SampleTime "1"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [170, 100, 195, 140]
FontSize 10
X0 "3"
SampleTime "1"
}
Block {
BlockType Reference
Name "X(2Y)\n Graph"
Ports [3]
Position [360, 147, 395, 193]
FontSize 10
SourceBlock "chou/X(2Y)\n Graph"
SourceType "X(2Y) scope."
xmin "0"
xmax "5"
ymin "-1"
ymax "1"
st "-1"
}
Block {
BlockType Scope
Name "y{1}"
Ports [1]
Position [325, 310, 345, 330]
Floating off
Location [12, 56, 283, 295]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "Array"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Unit Delay1"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "From\nWorkspace"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 0]
Branch {
DstBlock "Unit Delay"
DstPort 1
}
Branch {
Points [0, -30; 225, 0; 0, 80]
DstBlock "X(2Y)\n Graph"
DstPort 2
}
}
Branch {
Points [0, 100]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Neural Network"
DstPort 1
}
}
}
Line {
SrcBlock "Clock"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "To Workspace"
DstPort 1
}
Branch {
Points [0, 40; 260, 0; 0, 80]
DstBlock "X(2Y)\n Graph"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [4, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [5, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [14, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [35, 0]
DstBlock "Sum"
DstPort 4
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "X(2Y)\n Graph"
DstPort 3
}
Branch {
Points [0, -85]
DstBlock "To Workspace1"
DstPort 1
}
}
Line {
SrcBlock "Neural Network"
SrcPort 1
DstBlock "y{1}"
DstPort 1
}
Annotation {
Position [259, 30]
Text "nn_tbx_410.mdl. Jun.,3,2001\nThere is some wron"
"g in delay IC sequence."
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -