📄 sldemo_f14.mdl
字号:
Position [230, 295, 270, 335]
ShowName off
Gain "Mq"
}
Block {
BlockType Gain
Name "Gain2"
Position [230, 228, 270, 272]
ShowName off
Gain "Mw"
}
Block {
BlockType SubSystem
Name "More Info"
Ports []
Position [675, 15, 699, 38]
DropShadow on
ShowName off
OpenFcn "showdemo('sldemo_f14')"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "disp('?')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "More Info"
Location [98, 267, 744, 691]
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 SignalGenerator
Name "Pilot"
Ports [0, 1]
Position [60, 25, 100, 55]
Orientation "down"
NamePlacement "alternate"
WaveForm "square"
Amplitude "0.5"
Frequency "0.500000"
Units "rad/sec"
Port {
PortNumber 1
Name "Stick"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
DataLoggingName "Stick"
}
}
Block {
BlockType SubSystem
Name "Pilot G-force\ncalculation"
Ports [3, 1]
Position [530, 87, 615, 233]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "port_label('input',1,'wdot, ft/sec^2','texmode'"
",'on');\nport_label('input',2,'qdot','texmode','on');\nport_label('input',3,'"
"q, rad/sec','texmode','on');\nport_label('output',1,'NzPilot, g','texmode','o"
"n');\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
Port {
PortNumber 1
Name "NzPilot, g"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
DataLoggingName "NzPilot"
}
System {
Name "Pilot G-force\ncalculation"
Location [708, 28, 1167, 261]
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 "w dot"
Position [55, 38, 85, 52]
ForegroundColor "white"
FontName "Arial"
FontSize 14
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "q dot"
Position [55, 78, 85, 92]
ForegroundColor "white"
FontName "Arial"
FontSize 14
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "q"
Position [55, 123, 85, 137]
ForegroundColor "white"
FontName "Arial"
FontSize 14
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "\n"
Position [55, 165, 85, 195]
ForegroundColor "white"
FontName "Arial"
FontSize 14
Value "Uo"
}
Block {
BlockType Gain
Name "Gain3"
Position [125, 67, 185, 103]
ForegroundColor "white"
ShowName off
FontName "Arial"
FontSize 14
Gain "22.8"
}
Block {
BlockType Gain
Name "Gain4"
Position [295, 63, 335, 107]
ForegroundColor "white"
ShowName off
FontName "Arial"
FontSize 14
Gain "1/g"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [140, 120, 175, 155]
ForegroundColor "white"
ShowName off
FontName "Arial"
FontSize 14
CollapseMode "All dimensions"
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [215, 26, 240, 144]
ForegroundColor "white"
ShowName off
FontName "Arial"
FontSize 14
Inputs "-++"
CollapseMode "All dimensions"
}
Block {
BlockType Outport
Name "Nz"
Position [370, 78, 400, 92]
ForegroundColor "white"
FontName "Arial"
FontSize 14
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "w dot"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Nz"
DstPort 1
}
Line {
SrcBlock "q dot"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [20, 0]
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "q"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "\n"
SrcPort 1
Points [35, 0]
DstBlock "Product"
DstPort 2
}
Annotation {
Name "Nz = ( - dw/dt +dq/dt*22.8 + q*Uo)/g"
Position [237, 212]
FontSize 16
FontWeight "bold"
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [295, 240, 315, 260]
ShowName off
IconShape "round"
Inputs "|++"
CollapseMode "All dimensions"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [70, 90, 90, 110]
ShowName off
IconShape "round"
Inputs "++|"
CollapseMode "All dimensions"
}
Block {
BlockType Outport
Name "alpha, rad"
Position [675, 357, 705, 373]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Block {
BlockType Outport
Name "Nz Pilot, g"
Position [675, 152, 705, 168]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Block {
BlockType SignalViewerScope
Name "Scope1"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
List {
ListType IOSignalStrings
set0ParseKeys "8"
set0Sigs "Pilot:o1"
set1ParseKeys "26"
set1Sigs "Aircraft Dynamics Model:o4"
set2ParseKeys "28"
set2Sigs "Pilot G-force calculation:o1"
}
Location [781, 84, 1095, 506]
Open on
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
ShowDataMarkers off
ShowLegends off
YMin "-0.6~-0.6~-8"
YMax "0.6~0.6~8"
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 0.035000
Disabled off
}
Line {
Name "NzPilot, g"
Labels [0, 0]
SrcBlock "Pilot G-force\ncalculation"
SrcPort 1
Points [0, 0]
DstBlock "Nz Pilot, g"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Aircraft\nDynamics\nModel"
DstPort 2
}
Line {
Name "qGust"
Labels [0, 1]
SrcBlock "Dryden Wind\nGust Models"
SrcPort 2
Points [35, 0; 0, 40]
DstBlock "Gain1"
DstPort 1
}
Line {
Name "wGust"
Labels [0, 1]
SrcBlock "Dryden Wind\nGust Models"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, -65]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Aircraft\nDynamics\nModel"
DstPort 3
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [30, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Actuator\nModel"
SrcPort 1
Points [0, 0]
DstBlock "Aircraft\nDynamics\nModel"
DstPort 1
}
Line {
SrcBlock "Controller"
SrcPort 1
DstBlock "Actuator\nModel"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Controller"
DstPort 1
}
Line {
Name "Stick"
Labels [0, 1]
SrcBlock "Pilot"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "u"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Aircraft\nDynamics\nModel"
SrcPort 1
Points [0, 0]
DstBlock "Pilot G-force\ncalculation"
DstPort 1
}
Line {
SrcBlock "Aircraft\nDynamics\nModel"
SrcPort 2
Points [0, 0]
DstBlock "Pilot G-force\ncalculation"
DstPort 2
}
Line {
Name "q, rad/sec"
Labels [0, 1]
SrcBlock "Aircraft\nDynamics\nModel"
SrcPort 3
Points [0, 0; 45, 0]
Branch {
DstBlock "Pilot G-force\ncalculation"
DstPort 3
}
Branch {
Points [0, 170; -430, 0; 0, -260]
DstBlock "Controller"
DstPort 2
}
}
Line {
Name "alpha, rad"
Labels [2, 1]
SrcBlock "Aircraft\nDynamics\nModel"
SrcPort 4
Points [30, 0; 0, 105]
Branch {
Points [-400, 0; 0, -225]
DstBlock "Controller"
DstPort 3
}
Branch {
DstBlock "alpha, rad"
DstPort 1
}
}
Annotation {
Name "F-14 Longitudinal Flight Control"
Position [368, 17]
FontName "Arial"
FontSize 18
FontWeight "bold"
}
Annotation {
Name "This demonstration models a flight control \nfo"
"r the longitudinal motion of a Grumman Aerospace F-14."
Position [367, 47]
}
Annotation {
Name "Copyright 1990-2006 The MathWorks, Inc."
Position [368, 402]
}
}
}
MatData {
NumRecords 1
DataRecord {
Tag DataTag0
Data " %)30 . $ P 8 ( @ % "
"\" $ 9 0 % 0 !@ $ , 3F%M90 5F%L=64 X P"
" !@ @ $ 4 ( 0 $ ! ! 0!G #@ #@ "
" & \" 8 !0 @ ! 0 $ \"0 @ \":F9F9F1E"
" 0 X P !@ @ $ 4 ( 0 ( ! ! @!5;P "
"#@ #@ & \" 8 !0 @ ! 0 $ \"0 @ "
"S,S,S,XN%0 X P !@ @ $ 4 ( 0 , ! ! "
" P!6=&\\ #@ #@ & \" 8 !0 @ ! 0 $ \"0"
" @ S,S,S,Y.%0 X P !@ @ $ 4 ( 0 ( ! "
" ! @!-=P #@ #@ & \" 8 !0 @ ! 0 $ "
" \"0 @ !6\\4;FD3]XOPX P !@ @ $ 4 ( 0 "
"( ! ! @!-<0 #@ #@ & \" 8 !0 @ ! 0"
" $ \"0 @ \"\"<T:4]@;EOPX P !@ @ $ 4 ("
" 0 ( ! ! @!-9 #@ #@ & \" 8 !0 @ "
" ! 0 $ \"0 @ \"U%?O+[HD;P X P !@ @ $ "
" 4 ( 0 ( ! ! @!:9 #@ #@ & \" 8 "
" !0 @ ! 0 $ \"0 @ #65NPON_]/P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( 0 $ ! D ( FIF9F9F9N3\\. , 8 ( ! "
" % \" $ \" 0 0 ( 5S$ X X !@ @ & "
" 4 ( 0 $ ! D ( ^%/CI9O$!T . , 8 "
" ( ! % \" $ \" 0 0 ( 5S( X X !@ "
" @ & 4 ( 0 $ ! D ( ^GYJO'23$$ . , "
" 8 ( ! % \" $ \" 0 0 ( 5V$ X X "
" !@ @ & 4 ( 0 $ ! D ( )$"
" "
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -