📄 three_spwm_inverter_xiebo.mdl
字号:
BlockType SubSystem
Name "Sources"
Ports [0, 1]
Position [15, 51, 80, 79]
FontName "Arial"
FontSize 14
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Sources"
Location [20, 127, 741, 789]
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 "tp143146"
}
Block {
BlockType From
Name "From10"
Position [15, 426, 85, 454]
GotoTag "tp143225"
}
Block {
BlockType From
Name "From11"
Position [15, 471, 85, 499]
GotoTag "tp143232"
}
Block {
BlockType From
Name "From12"
Position [15, 516, 85, 544]
GotoTag "tp143240"
}
Block {
BlockType From
Name "From13"
Position [15, 561, 85, 589]
GotoTag "tp143248"
}
Block {
BlockType From
Name "From14"
Position [15, 606, 85, 634]
GotoTag "tp143145"
}
Block {
BlockType From
Name "From15"
Position [15, 651, 85, 679]
GotoTag "tp143154"
}
Block {
BlockType From
Name "From16"
Position [15, 696, 85, 724]
GotoTag "tp143164"
}
Block {
BlockType From
Name "From17"
Position [15, 741, 85, 769]
GotoTag "tp143173"
}
Block {
BlockType From
Name "From18"
Position [15, 786, 85, 814]
GotoTag "tp143182"
}
Block {
BlockType From
Name "From19"
Position [15, 831, 85, 859]
GotoTag "tp143192"
}
Block {
BlockType From
Name "From2"
Position [15, 66, 85, 94]
GotoTag "tp143156"
}
Block {
BlockType From
Name "From3"
Position [15, 111, 85, 139]
GotoTag "tp143165"
}
Block {
BlockType From
Name "From4"
Position [15, 156, 85, 184]
GotoTag "tp143175"
}
Block {
BlockType From
Name "From5"
Position [15, 201, 85, 229]
GotoTag "tp143184"
}
Block {
BlockType From
Name "From6"
Position [15, 246, 85, 274]
GotoTag "tp143193"
}
Block {
BlockType From
Name "From7"
Position [15, 291, 85, 319]
GotoTag "tp143250"
}
Block {
BlockType From
Name "From8"
Position [15, 336, 85, 364]
GotoTag "tp143209"
}
Block {
BlockType From
Name "From9"
Position [15, 381, 85, 409]
GotoTag "tp143217"
}
Block {
BlockType Mux
Name "Mux"
Ports [19, 1]
Position [325, 270, 330, 610]
ShowName off
Inputs "[1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 "
"1 1]"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux_u"
Ports [2, 1]
Position [465, 374, 470, 461]
Inputs "[6 19]"
DisplayOption "bar"
}
Block {
BlockType Constant
Name "SwitchCurrents"
Position [350, 379, 430, 411]
NamePlacement "alternate"
Value "zeros(6,1)"
}
Block {
BlockType Outport
Name "u"
Position [505, 413, 535, 427]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux"
SrcPort 1
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
}
Line {
SrcBlock "From11"
SrcPort 1
DstBlock "Mux"
DstPort 11
}
Line {
SrcBlock "From12"
SrcPort 1
DstBlock "Mux"
DstPort 12
}
Line {
SrcBlock "From13"
SrcPort 1
DstBlock "Mux"
DstPort 13
}
Line {
SrcBlock "From14"
SrcPort 1
DstBlock "Mux"
DstPort 14
}
Line {
SrcBlock "From15"
SrcPort 1
DstBlock "Mux"
DstPort 15
}
Line {
SrcBlock "From16"
SrcPort 1
DstBlock "Mux"
DstPort 16
}
Line {
SrcBlock "From17"
SrcPort 1
DstBlock "Mux"
DstPort 17
}
Line {
SrcBlock "From18"
SrcPort 1
DstBlock "Mux"
DstPort 18
}
Line {
SrcBlock "From19"
SrcPort 1
DstBlock "Mux"
DstPort 19
}
}
}
Block {
BlockType "S-Function"
Name "State-Space"
Ports [2, 2]
Position [115, 35, 245, 155]
FontName "Arial"
FontSize 14
FunctionName "sfun_spssw_discc"
Parameters "Ts,A, B, C, D, x0, SwitchResistance ,Sw"
"itchType, SwitchGateInitialValue, OutputsToResetToZero "
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType SubSystem
Name "Status"
Ports [1]
Position [280, 113, 345, 137]
FontName "Arial"
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, 12]
Position [100, 191, 105, 569]
BackgroundColor "black"
ShowName off
Outputs "[1 1 1 1 1 1 1 1 1 1 1 1]"
DisplayOption "bar"
}
Block {
BlockType Goto
Name "Goto1"
Position [325, 21, 395, 49]
GotoTag "tp143207"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto10"
Position [325, 426, 395, 454]
GotoTag "tp143171"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto11"
Position [325, 471, 395, 499]
GotoTag "tp143181"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto12"
Position [325, 516, 395, 544]
GotoTag "tp143190"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto2"
Position [325, 66, 395, 94]
GotoTag "tp143215"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [325, 111, 395, 139]
GotoTag "tp143223"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [325, 156, 395, 184]
GotoTag "tp143231"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto5"
Position [325, 201, 395, 229]
GotoTag "tp143239"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto6"
Position [325, 246, 395, 274]
GotoTag "tp143246"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto7"
Position [325, 291, 395, 319]
GotoTag "tp143143"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto8"
Position [325, 336, 395, 364]
GotoTag "tp143153"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto9"
Position [325, 381, 395, 409]
GotoTag "tp143162"
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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -