📄 bldc_08.mdl
字号:
Name "ha"
Position [349, 99]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "/hb"
Position [349, 127]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "hb"
Position [349, 164]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "/hc"
Position [343, 191]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "hc"
Position [346, 231]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "/ha"
Position [344, 259]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "/ha"
Position [345, 299]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "hb"
Position [336, 331]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "/hb"
Position [342, 381]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "hc"
Position [334, 407]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "/hc"
Position [345, 449]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "ha"
Position [336, 476]
UseDisplayTextAsClickCallback off
}
Annotation {
Name " ha | hb | hc || emf_a "
"| emf_b | emf_c\n --------------------------------------------------"
"------------------------------\n0 0 0 0 "
" 0 0 \n0 0 1 0 "
" +1 -1\n0 1 0 +1 -1 "
" 0\n 0 1 1 +1 0 "
" -1\n1 0 0 -1 0 +1\n1 "
" 0 1 -1 +1 0\n1 "
"1 0 0 -1 +1\n1 1 "
" 1 0 0 0\n "
Position [734, 449]
UseDisplayTextAsClickCallback off
}
}
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [370, 31, 375, 69]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [635, 126, 640, 164]
BackgroundColor "black"
ShowName off
Outputs "2"
DisplayOption "bar"
}
Block {
BlockType Demux
Name "Demux3"
Ports [1, 2]
Position [640, 216, 645, 254]
BackgroundColor "black"
ShowName off
Outputs "2"
DisplayOption "bar"
}
Block {
BlockType Demux
Name "Demux4"
Ports [1, 2]
Position [645, 311, 650, 349]
BackgroundColor "black"
ShowName off
Outputs "2"
DisplayOption "bar"
}
Block {
BlockType Fcn
Name "Fcn"
Position [165, 95, 225, 125]
Expr "(u-1)/50-1"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [165, 145, 225, 175]
Expr "(u+1)/50-1"
}
Block {
BlockType Logic
Name "Logical\nOperator2"
Ports [1, 1]
Position [350, 154, 380, 186]
Operator "NOT"
AllPortsSameDT off
OutDataTypeMode "Boolean"
}
Block {
BlockType Mux
Name "Mux"
Ports [6, 1]
Position [745, 160, 750, 330]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [510, 114, 515, 181]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [510, 203, 515, 272]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux3"
Ports [2, 1]
Position [510, 297, 515, 368]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [585, 127, 615, 158]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [580, 312, 610, 343]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [585, 217, 615, 248]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [285, 100, 315, 135]
ShowName off
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator2"
Position [285, 150, 315, 185]
ShowName off
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [3, 2]
Position [455, 110, 495, 180]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem"
Location [631, 295, 861, 460]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [35, 58, 65, 72]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In2"
Position [80, 40, 110, 55]
Orientation "down"
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In3"
Position [25, 108, 55, 122]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Switch
Name "Switch"
Position [120, 60, 150, 90]
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Switch
Name "Switch1"
Position [120, 110, 150, 140]
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [175, 68, 205, 82]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [175, 118, 205, 132]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 70]
DstBlock "Switch1"
DstPort 3
}
Branch {
DstBlock "Switch"
DstPort 1
}
}
Line {
SrcBlock "In3"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -30]
DstBlock "Switch"
DstPort 3
}
Branch {
DstBlock "Switch1"
DstPort 1
}
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, 0; 0, 15]
Branch {
Points [0, 50]
DstBlock "Switch1"
DstPort 2
}
Branch {
DstBlock "Switch"
DstPort 2
}
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Switch1"
SrcPort 1
Points [0, 0]
DstBlock "Out2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [3, 2]
Position [455, 200, 495, 270]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem1"
Location [631, 295, 861, 460]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [35, 58, 65, 72]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In2"
Position [80, 40, 110, 55]
Orientation "down"
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "In3"
Position [25, 108, 55, 122]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Switch
Name "Switch"
Position [120, 60, 150, 90]
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Switch
Name "Switch1"
Position [120, 110, 150, 140]
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [175, 68, 205, 82]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Out2"
Position [175, 118, 205, 132]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 70]
DstBlock "Switch1"
DstPort 3
}
Branch {
DstBlock "Switch"
DstPort 1
}
}
Line {
SrcBlock "In3"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -30]
DstBlock "Switch"
DstPort 3
}
Branch {
DstBlock "Switch1"
DstPort 1
}
}
Line {
SrcBlock "In2"
SrcPort 1
Points [0, 0; 0, 15]
Branch {
Points [0, 50]
DstBlock "Switch1"
DstPort 2
}
Branch {
DstBlock "Switch"
DstPort 2
}
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Switch1"
SrcPort 1
Points [0, 0]
DstBlock "Out2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [3, 2]
Position [455, 295, 495, 365]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem2"
Location [631, 295, 861, 460]
Open off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -