📄 machine.mdl
字号:
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [400, 182, 430, 213]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [375, 137, 405, 168]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [310, 237, 340, 268]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [310, 287, 340, 318]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product5"
Ports [2, 1]
Position [320, 337, 350, 368]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product6"
Ports [2, 1]
Position [320, 387, 350, 418]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product7"
Ports [2, 1]
Position [325, 437, 355, 468]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product8"
Ports [2, 1]
Position [325, 482, 355, 513]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract"
Ports [2, 1]
Position [485, 146, 515, 204]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract1"
Ports [2, 1]
Position [485, 241, 515, 299]
Inputs "--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract2"
Ports [2, 1]
Position [490, 336, 520, 394]
Inputs "--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract3"
Ports [2, 1]
Position [490, 416, 520, 474]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Trigonometry
Name "cos"
Ports [1, 1]
Position [165, 30, 195, 60]
Operator "cos"
}
Block {
BlockType Trigonometry
Name "sin"
Ports [1, 1]
Position [160, 95, 190, 125]
}
Block {
BlockType Outport
Name "dq"
Position [960, 373, 990, 387]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "w"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
Points [0, -15; 15, 0; 0, -15]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, -30]
DstBlock "cos"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "sin"
DstPort 1
}
}
Line {
SrcBlock "cos"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [10, 0]
Branch {
Points [0, 265]
DstBlock "Product4"
DstPort 2
}
Branch {
Points [15, 0]
Branch {
Points [30, 0]
Branch {
Points [310, 0]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, 145]
DstBlock "Product1"
DstPort 1
}
}
Branch {
Points [0, 300]
DstBlock "Product5"
DstPort 1
}
}
}
Branch {
Points [0, 400]
DstBlock "Product7"
DstPort 1
}
}
Line {
SrcBlock "sin"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [0, 300]
DstBlock "Product6"
DstPort 2
}
Branch {
Points [40, 0]
Branch {
Points [10, 0]
Branch {
Points [0, 35]
DstBlock "Product2"
DstPort 1
}
Branch {
Points [30, 0]
Branch {
Points [295, 0]
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 135]
DstBlock "Product3"
DstPort 1
}
}
}
Branch {
Points [0, 395]
DstBlock "Product8"
DstPort 2
}
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [40, 0]
Branch {
Points [70, 0]
Branch {
Points [135, 0]
DstBlock "Product1"
DstPort 2
}
Branch {
Points [0, 50]
DstBlock "Product3"
DstPort 2
}
}
Branch {
Points [0, 150]
DstBlock "Product5"
DstPort 2
}
}
Branch {
Points [0, 280]
DstBlock "Product8"
DstPort 1
}
}
Line {
SrcBlock "K2"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [40, 0]
Branch {
Points [65, 0]
Branch {
Points [100, 0]
DstBlock "Product2"
DstPort 2
}
Branch {
Points [0, 125]
DstBlock "Product4"
DstPort 1
}
}
Branch {
Points [0, 225]
DstBlock "Product6"
DstPort 1
}
}
Branch {
Points [0, 290]
DstBlock "Product7"
DstPort 2
}
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [60, 0]
DstBlock "Subtract"
DstPort 1
}
Line {
SrcBlock "Subtract"
SrcPort 1
Points [60, 0]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [15, 0; 0, -10]
DstBlock "Subtract"
DstPort 2
}
Line {
SrcBlock "Subtract1"
SrcPort 1
Points [60, 0]
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Product3"
SrcPort 1
DstBlock "Subtract1"
DstPort 1
}
Line {
SrcBlock "Product4"
SrcPort 1
Points [60, 0; 0, -20]
DstBlock "Subtract1"
DstPort 2
}
Line {
SrcBlock "Subtract2"
SrcPort 1
Points [25, 0; 0, 5]
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "Product5"
SrcPort 1
Points [60, 0; 0, -5]
DstBlock "Subtract2"
DstPort 1
}
Line {
SrcBlock "Product6"
SrcPort 1
Points [60, 0; 0, -25]
DstBlock "Subtract2"
DstPort 2
}
Line {
SrcBlock "Subtract3"
SrcPort 1
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "Product7"
SrcPort 1
Points [55, 0; 0, -25]
DstBlock "Subtract3"
DstPort 1
}
Line {
SrcBlock "Product8"
SrcPort 1
Points [55, 0; 0, -40]
DstBlock "Subtract3"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [5, 0; 0, -5]
Branch {
Points [0, -55]
DstBlock "Fcn2"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "Fcn1"
DstPort 1
}
}
Line {
SrcBlock "Fcn2"
SrcPort 1
Points [0, 20]
DstBlock "Mux3"
DstPort 1
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [0, -25]
DstBlock "Mux3"
DstPort 2
}
Line {
SrcBlock "Mux3"
SrcPort 1
Points [0, 115; -45, 0]
DstBlock "dq"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [50, 0; 0, 85]
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "abc"
SrcPort 1
Points [40, 0; 0, 25]
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [0, 75; -5, 0]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [5, 0; 0, 105; -10, 0]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [5, 0; 0, 135; -10, 0]
DstBlock "Mux1"
DstPort 1
}
Annotation {
Name "cos(wt-120)"
Position [544, 162]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "sin(wt-120)"
Position [555, 260]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "cos(wt+120)"
Position [553, 355]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "sin(wt+120)"
Position [552, 431]
UseDisplayTextAsClickCallback off
}
}
}
Block {
BlockType SubSystem
Name "twotothree"
Ports [2, 1]
Position [795, 160, 835, 220]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "twotothree"
Location [62, 139, 1085, 729]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -