📄 jiandanshengya_z_kuanfanwei.mdl
字号:
GotoTag "tp194953"
}
Block {
BlockType From
Name "From4"
Position [15, 156, 85, 184]
GotoTag "tp194960"
}
Block {
BlockType From
Name "From5"
Position [15, 201, 85, 229]
GotoTag "tp194968"
}
Block {
BlockType From
Name "From6"
Position [15, 246, 85, 274]
GotoTag "tp194976"
}
Block {
BlockType From
Name "From7"
Position [15, 291, 85, 319]
GotoTag "tp194984"
}
Block {
BlockType Mux
Name "Mux"
Ports [7, 1]
Position [325, 270, 330, 610]
ShowName off
Inputs "[1 1 1 1 1 1 1]"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "gates"
Position [390, 433, 420, 447]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "gates"
DstPort 1
}
Line {
SrcBlock "From1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "From2"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "From3"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "From4"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "From5"
SrcPort 1
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "From6"
SrcPort 1
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "From7"
SrcPort 1
DstBlock "Mux"
DstPort 7
}
}
}
Block {
BlockType SubSystem
Name "Sources"
Ports [0, 1]
Position [15, 52, 80, 78]
FontSize 14
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Sources"
Location [16, 100, 737, 762]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType From
Name "From1"
Position [15, 21, 85, 49]
GotoTag "tp194948"
}
Block {
BlockType From
Name "From10"
Position [15, 426, 85, 454]
GotoTag "tp194995"
}
Block {
BlockType From
Name "From2"
Position [15, 66, 85, 94]
GotoTag "tp194956"
}
Block {
BlockType From
Name "From3"
Position [15, 111, 85, 139]
GotoTag "tp194964"
}
Block {
BlockType From
Name "From4"
Position [15, 156, 85, 184]
GotoTag "tp194971"
}
Block {
BlockType From
Name "From5"
Position [15, 201, 85, 229]
GotoTag "tp194979"
}
Block {
BlockType From
Name "From6"
Position [15, 246, 85, 274]
GotoTag "tp194987"
}
Block {
BlockType From
Name "From7"
Position [15, 291, 85, 319]
GotoTag "tp194996"
}
Block {
BlockType From
Name "From8"
Position [15, 336, 85, 364]
GotoTag "tp194998"
}
Block {
BlockType From
Name "From9"
Position [15, 381, 85, 409]
GotoTag "tp194929"
}
Block {
BlockType Mux
Name "Mux"
Ports [10, 1]
Position [325, 272, 330, 613]
Inputs "[1 1 1 1 1 1 1 1 3 1]"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux_u"
Ports [2, 1]
Position [465, 374, 470, 461]
Inputs "[1 12]"
DisplayOption "bar"
}
Block {
BlockType Constant
Name "SwitchCurrents"
Position [350, 379, 430, 411]
NamePlacement "alternate"
Value "zeros(1,1)"
}
Block {
BlockType Outport
Name "u"
Position [505, 413, 535, 427]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, -5]
DstBlock "Mux_u"
DstPort 2
}
Line {
SrcBlock "SwitchCurrents"
SrcPort 1
DstBlock "Mux_u"
DstPort 1
}
Line {
SrcBlock "Mux_u"
SrcPort 1
DstBlock "u"
DstPort 1
}
Line {
SrcBlock "From1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "From2"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "From3"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "From4"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "From5"
SrcPort 1
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "From6"
SrcPort 1
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "From7"
SrcPort 1
DstBlock "Mux"
DstPort 7
}
Line {
SrcBlock "From8"
SrcPort 1
DstBlock "Mux"
DstPort 8
}
Line {
SrcBlock "From9"
SrcPort 1
DstBlock "Mux"
DstPort 9
}
Line {
SrcBlock "From10"
SrcPort 1
DstBlock "Mux"
DstPort 10
}
}
}
Block {
BlockType "S-Function"
Name "State-Space"
Ports [2, 2]
Position [115, 35, 245, 155]
FontSize 14
FunctionName "sfun_spssw_contc"
Parameters "A, B, C, D, x0, SwitchResistance ,Switc"
"hType, SwitchGateInitialValue, OutputsToResetToZero "
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType SubSystem
Name "Status"
Ports [1]
Position [280, 113, 345, 137]
FontSize 14
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Status"
Location [124, 85, 631, 971]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "status"
Position [15, 373, 45, 387]
IconDisplay "Port number"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 7]
Position [100, 191, 105, 569]
BackgroundColor "black"
ShowName off
Outputs "[1 1 1 1 1 1 1]"
DisplayOption "bar"
}
Block {
BlockType Goto
Name "Goto1"
Position [325, 21, 395, 49]
GotoTag "tp194993"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto2"
Position [325, 66, 395, 94]
GotoTag "tp194946"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [325, 111, 395, 139]
GotoTag "tp194954"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [325, 156, 395, 184]
GotoTag "tp194962"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto5"
Position [325, 201, 395, 229]
GotoTag "tp194970"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto6"
Position [325, 246, 395, 274]
GotoTag "tp194978"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto7"
Position [325, 291, 395, 319]
GotoTag "tp194985"
TagVisibility "global"
}
Line {
SrcBlock "status"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Goto1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Goto2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Goto3"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "Goto4"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 5
DstBlock "Goto5"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 6
DstBlock "Goto6"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 7
DstBlock "Goto7"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Yout"
Ports [1]
Position [280, 53, 345, 77]
FontSize 14
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSyst
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -