📄 testmotor_simulinkf_070530.mdl
字号:
VectorParams1D off
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType SubSystem
Name "INVERSE"
Ports [1, 1]
Position [230, 374, 270, 436]
Orientation "left"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "INVERSE"
Location [2, 82, 997, 732]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000"
"00]"
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 138, 45, 152]
NamePlacement "alternate"
IconDisplay "Port number"
}
Block {
BlockType From
Name "A"
Position [355, 41, 395, 69]
CloseFcn "tagdialog Close"
GotoTag "A"
}
Block {
BlockType Goto
Name "A1"
Position [260, 35, 300, 65]
GotoTag "A"
TagVisibility "local"
}
Block {
BlockType Concatenate
Name "A_dis(1)"
Ports [2, 1]
Position [280, 342, 410, 433]
Mode "Vector concatenation"
}
Block {
BlockType Concatenate
Name "A_dis(1)1"
Ports [2, 1]
Position [280, 492, 410, 583]
Mode "Vector concatenation"
}
Block {
BlockType Concatenate
Name "A_dis(1)2"
Ports [2, 1]
Position [510, 402, 640, 493]
Mode "Vector concatenation"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [655, 67, 685, 98]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType From
Name "B1"
Position [355, 156, 395, 184]
CloseFcn "tagdialog Close"
GotoTag "B"
}
Block {
BlockType Goto
Name "B2"
Position [260, 100, 300, 130]
GotoTag "B"
TagVisibility "local"
}
Block {
BlockType From
Name "C1"
Position [355, 221, 395, 249]
CloseFcn "tagdialog Close"
GotoTag "C"
}
Block {
BlockType Goto
Name "C2"
Position [805, 85, 845, 115]
GotoTag "SUM"
TagVisibility "local"
}
Block {
BlockType Goto
Name "C3"
Position [260, 160, 300, 190]
GotoTag "C"
TagVisibility "local"
}
Block {
BlockType From
Name "D"
Position [355, 106, 395, 134]
CloseFcn "tagdialog Close"
GotoTag "D"
}
Block {
BlockType From
Name "D1"
Position [65, 386, 105, 414]
CloseFcn "tagdialog Close"
GotoTag "B"
}
Block {
BlockType From
Name "D2"
Position [85, 301, 125, 329]
CloseFcn "tagdialog Close"
GotoTag "D"
}
Block {
BlockType From
Name "D3"
Position [30, 496, 70, 524]
CloseFcn "tagdialog Close"
GotoTag "C"
}
Block {
BlockType Goto
Name "D4"
Position [260, 225, 300, 255]
GotoTag "D"
TagVisibility "local"
}
Block {
BlockType From
Name "D5"
Position [100, 586, 140, 614]
CloseFcn "tagdialog Close"
GotoTag "A"
}
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [185, 307, 215, 338]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide1"
Ports [2, 1]
Position [185, 392, 215, 423]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide2"
Ports [2, 1]
Position [150, 502, 180, 533]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide3"
Ports [2, 1]
Position [200, 592, 230, 623]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain"
Position [235, 395, 265, 425]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [200, 505, 230, 535]
Gain "-1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [455, 57, 485, 88]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [455, 172, 485, 203]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType From
Name "SUM"
Position [35, 321, 75, 349]
CloseFcn "tagdialog Close"
GotoTag "SUM"
}
Block {
BlockType From
Name "SUM1"
Position [60, 436, 100, 464]
CloseFcn "tagdialog Close"
GotoTag "SUM"
}
Block {
BlockType From
Name "SUM2"
Position [25, 546, 65, 574]
CloseFcn "tagdialog Close"
GotoTag "SUM"
}
Block {
BlockType From
Name "SUM3"
Position [50, 606, 90, 634]
CloseFcn "tagdialog Close"
GotoTag "SUM"
}
Block {
BlockType Selector
Name "a"
Ports [1, 1]
Position [150, 31, 190, 69]
InputPortWidth "3"
}
Block {
BlockType Selector
Name "b"
Ports [1, 1]
Position [150, 96, 190, 134]
InputPortWidth "3"
}
Block {
BlockType Selector
Name "c"
Ports [1, 1]
Position [150, 166, 190, 204]
InputPortWidth "3"
}
Block {
BlockType Selector
Name "d"
Ports [1, 1]
Position [150, 226, 190, 264]
InputPortWidth "3"
}
Block {
BlockType Outport
Name "Out1"
Position [795, 433, 825, 447]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [45, 0]
Branch {
Points [0, -95]
DstBlock "a"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "b"
DstPort 1
}
Branch {
Points [0, 40]
Branch {
DstBlock "c"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "d"
DstPort 1
}
}
}
Line {
SrcBlock "a"
SrcPort 1
DstBlock "A1"
DstPort 1
}
Line {
SrcBlock "b"
SrcPort 1
DstBlock "B2"
DstPort 1
}
Line {
SrcBlock "c"
SrcPort 1
Points [25, 0; 0, -10]
DstBlock "C3"
DstPort 1
}
Line {
SrcBlock "d"
SrcPort 1
Points [25, 0; 0, -5]
DstBlock "D4"
DstPort 1
}
Line {
SrcBlock "A"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "D"
SrcPort 1
Points [20, 0; 0, -40]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "B1"
SrcPort 1
Points [20, 0; 0, 10]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "C1"
SrcPort 1
Points [20, 0; 0, -40]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [75, 0; 0, -100]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
Points [50, 0; 0, 15]
DstBlock "C2"
DstPort 1
}
Line {
SrcBlock "D2"
SrcPort 1
DstBlock "Divide"
DstPort 1
}
Line {
SrcBlock "SUM"
SrcPort 1
Points [70, 0; 0, -5]
DstBlock "Divide"
DstPort 2
}
Line {
SrcBlock "Divide"
SrcPort 1
Points [20, 0; 0, 40]
DstBlock "A_dis(1)"
DstPort 1
}
Line {
SrcBlock "Divide1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "D1"
SrcPort 1
DstBlock "Divide1"
DstPort 1
}
Line {
SrcBlock "SUM1"
SrcPort 1
Points [40, 0; 0, -35]
DstBlock "Divide1"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "A_dis(1)"
DstPort 2
}
Line {
SrcBlock "Divide2"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "D3"
SrcPort 1
Points [0, 0]
DstBlock "Divide2"
DstPort 1
}
Line {
SrcBlock "SUM2"
SrcPort 1
Points [40, 0; 0, -35]
DstBlock "Divide2"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [15, 0; 0, -5]
DstBlock "A_dis(1)1"
DstPort 1
}
Line {
SrcBlock "D5"
SrcPort 1
Points [0, 0]
DstBlock "Divide3"
DstPort 1
}
Line {
SrcBlock "SUM3"
SrcPort 1
Points [70, 0; 0, -5]
DstBlock "Divide3"
DstPort 2
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -