📄 fdclib5.mdl
字号:
}
Annotation {
Position [149, 117]
VerticalAlignment top
FontName "Arial"
Text "[p q r]'"
}
}
}
Block {
BlockType SubSystem
Name "xyHdot"
Ports [2, 1, 0, 0, 0]
Position [150, 248, 210, 292]
FontName "Arial"
ShowPortLabels off
MaskType "xyHdot"
MaskDescription "Calculation of d(xe)/dt, d(ye)/dt, "
"and dH/dt"
MaskHelp "eval('fdchelp xyhdot')"
MaskDisplay "disp('xe dot\\nye dot\\nH dot')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "xyHdot"
Location [4, 42, 577, 324]
Open off
ScreenColor white
Block {
BlockType Inport
Name "ybvel*"
Position [15, 105, 35, 125]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "uxYH"
Position [15, 60, 35, 80]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [5, 5, 150, 35]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp xyhdot"
ShowPortLabels off
MaskDisplay "disp('XYHDOT\\nM.O. Rauw, October "
"1997')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "0"
Location [99, 72, 274, 227]
Open off
ScreenColor white
}
}
Block {
BlockType Fcn
Name "H dot"
Position [160, 220, 460, 240]
FontName "Arial"
Expr "u[30]*u[26] - (u[31]*u[28]+u[32]*u[2"
"9])*u[27]"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1, 0, 0, 0]
Position [95, 62, 100, 93]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[29 3]"
}
Block {
BlockType Mux
Name "Mux3"
Ports [2, 1, 0, 0, 0]
Position [495, 69, 500, 116]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "2"
}
Block {
BlockType Mux
Name "Mux4"
Ports [2, 1, 0, 0, 0]
Position [95, 141, 100, 174]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[29 2]"
}
Block {
BlockType Mux
Name "Mux5"
Ports [3, 1, 0, 0, 0]
Position [495, 172, 500, 218]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "3"
}
Block {
BlockType Fcn
Name "tmp1"
Position [160, 70, 460, 90]
FontName "Arial"
ShowName off
Expr "u[30]*u[27] + (u[31]*u[28]+u[32]*u[2"
"9])*u[26]"
}
Block {
BlockType Fcn
Name "tmp2"
Position [160, 95, 460, 115]
FontName "Arial"
ShowName off
Expr "u[31]*u[29] - u[32]*u[28]"
}
Block {
BlockType Fcn
Name "xe dot"
Position [160, 150, 460, 170]
FontName "Arial"
Expr "u[30]*u[25] - u[31]*u[24]"
}
Block {
BlockType Fcn
Name "ye dot"
Position [160, 185, 460, 205]
FontName "Arial"
Expr "u[30]*u[24] + u[31]*u[25]"
}
Block {
BlockType Outport
Name "yxyH"
Position [525, 185, 545, 205]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "uxYH"
SrcPort 1
Points [30, 0]
Branch {
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Mux4"
DstPort 1
}
}
Line {
SrcBlock "ybvel*"
SrcPort 1
Points [0, -30]
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Mux3"
SrcPort 1
Points [10, 0; 0, 35; -435, 0]
DstBlock "Mux4"
DstPort 2
}
Line {
SrcBlock "Mux2"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "tmp1"
DstPort 1
}
Branch {
Points [0, 25]
Branch {
DstBlock "tmp2"
DstPort 1
}
Branch {
Points [0, 125]
DstBlock "H dot"
DstPort 1
}
}
}
Line {
SrcBlock "Mux4"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "xe dot"
DstPort 1
}
Branch {
DstBlock "ye dot"
DstPort 1
}
}
Line {
SrcBlock "Mux5"
SrcPort 1
DstBlock "yxyH"
DstPort 1
}
Line {
SrcBlock "ye dot"
SrcPort 1
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "tmp2"
SrcPort 1
DstBlock "Mux3"
DstPort 2
}
Line {
SrcBlock "xe dot"
SrcPort 1
Points [10, 0; 0, 20]
DstBlock "Mux5"
DstPort 1
}
Line {
SrcBlock "H dot"
SrcPort 1
Points [10, 0; 0, -20]
DstBlock "Mux5"
DstPort 3
}
Line {
SrcBlock "tmp1"
SrcPort 1
DstBlock "Mux3"
DstPort 1
}
Annotation {
Position [72, 257]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "uxyH=[x;Ftot;Mtot;yhlp]"
}
Annotation {
Position [497, 257]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "yxyH=[xe dot; ye dot; H dot]"
}
}
}
Block {
BlockType Outport
Name "xdot"
Position [305, 95, 325, 115]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "x"
SrcPort 1
Points [30, 0; 0, 40]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Mtot"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Ftot"
SrcPort 1
Points [20, 0; 0, 20]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "pqrdot"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Vabdot"
DstPort 1
}
Branch {
Points [0, 60]
Branch {
DstBlock "Eulerdot"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "xyHdot"
DstPort 2
}
}
}
Line {
SrcBlock "ybvel*"
SrcPort 1
DstBlock "xyHdot"
DstPort 1
}
Line {
SrcBlock "yhlp"
SrcPort 1
Points [20, 0; 0, -20]
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "xyHdot"
SrcPort 1
Points [35, 0; 0, -150]
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "Eulerdot"
SrcPort 1
Points [25, 0; 0, -100]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "pqrdot"
SrcPort 1
Points [15, 0; 0, -50]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Vabdot"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "xdot"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [170, 135, 185, 155]
FontName "Arial"
ShowName off
Inputs "++"
}
Block {
BlockType Terminator
Name "Terminator_1"
Position [125, 145, 135, 155]
ShowName off
}
Block {
BlockType SubSystem
Name "uvw"
Ports [2, 1, 0, 0, 0]
Position [65, 222, 130, 253]
FontName "Arial"
ShowPortLabels off
MaskType "uvw"
MaskDescription "Calculation of body-axes velocities\nu, "
"v, and w"
MaskHelp "eval('fdchelp uvw')"
MaskDisplay "disp('Body-axes\\nvelocities')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "uvw"
Location [6, 40, 356, 222]
Open off
ScreenColor white
Block {
BlockType Inport
Name "yhlp"
Position [15, 110, 35, 130]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "x"
Position [15, 70, 35, 90]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [5, 5, 155, 35]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp uvw"
ShowPortLabels off
MaskDisplay "disp('UVW\\nM.O. Rauw, October 1997')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "0"
Location [99, 72, 274, 227]
Open off
ScreenColor white
}
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1, 0, 0, 0]
Position [270, 45, 275, 155]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "3"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [65, 61, 70, 139]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[12 11]"
}
Block {
BlockType Fcn
Name "u"
Position [120, 55, 240, 75]
FontName "Arial"
Expr "u[1]*u[13]*u[15]"
}
Block {
BlockType Fcn
Name "v"
Position [120, 90, 240, 110]
FontName "Arial"
Expr "u[1]*u[16]"
}
Block {
BlockType Fcn
Name "w"
Position [120, 125, 240, 145]
FontName "Arial"
Expr "u[1]*u[14]*u[15]"
}
Block {
BlockType Outport
Name "ybvel"
Position [310, 90, 330, 110]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "v"
DstPort 1
}
Branch {
Points [-10, 0; 0, -35]
DstBlock "u"
DstPort 1
}
Branch {
Points [-10, 0; 0, 35]
DstBlock "w"
DstPort 1
}
}
Line {
SrcBlock "yhlp"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -