📄 apilot2.mdl
字号:
Model {
Name "apilot2"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "140"
SolverMode "SingleTasking"
Solver "ode15s"
RelTol "1e-04"
AbsTol "1e-04"
Refine "1"
MaxStep "4"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime off
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput off
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Matrix"
LimitMaxRows off
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
IntegerOverflowMsg "warning"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
ConsistencyChecking "off"
ZeroCross on
SimulationMode "normal"
BlockDataTips on
BlockParametersDataTip on
BlockAttributesDataTip off
BlockPortWidthsDataTip off
BlockDescriptionStringDataTip off
BlockMaskParametersDataTip off
ToolBar off
StatusBar off
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
OptimizeBlockIOStorage on
BufferReuse on
BooleanDataType off
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_vc.tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "oneshot"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect off
Created "Tue Mar 18 21:43:53 2003"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Dutchroll"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Wed Apr 28 00:03:07 2004"
ModelVersionFormat "1.%<AutoIncrement:80>"
ConfigurationManager "none"
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "apilot2"
Location [71, 105, 710, 563]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "APINIT"
Ports [0, 0, 0, 0, 0]
Position [15, 399, 92, 445]
BackgroundColor "cyan"
DropShadow on
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "fbuttons/APINIT"
SourceType ""
}
Block {
BlockType Reference
Name "APMODE"
Ports [0, 0, 0, 0, 0]
Position [100, 399, 178, 445]
BackgroundColor "cyan"
DropShadow on
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "fbuttons/APMODE"
SourceType ""
}
Block {
BlockType Reference
Name "Actuator &\ncable dynamics"
Ports [4, 3, 0, 0, 0]
Position [70, 92, 130, 138]
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "aplib/Actuator &\ncable dynamics"
SourceType "Actuator and cable dynamics"
Port {
PortNumber 1
Name "Ddeltea"
TestPoint off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "Ddeltaa"
TestPoint off
RTWStorageClass "Auto"
}
Port {
PortNumber 3
Name "Ddeltar"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "Add initial\nconditions"
Ports [6, 2, 0, 0, 0]
Position [190, 97, 230, 178]
BackgroundColor "lightBlue"
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "aplib/Add initial\nconditions"
SourceType ""
}
Block {
BlockType Reference
Name "Asymm. modes"
Ports [7, 2, 0, 0, 0]
Position [280, 216, 365, 284]
Orientation "left"
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "aplib/Asymm. modes"
SourceType "Asymmetrical autopilot modes"
Port {
PortNumber 1
Name "D_rud ref"
TestPoint off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "D_ail ref"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "Beaver dynamics"
Ports [3, 2, 0, 0, 0]
Position [260, 62, 340, 178]
BackgroundColor "lightBlue"
FontName "Arial"
FontSize 11
SourceBlock "fdclib10/Beaver dynamics\nfor autopilot models"
SourceType "SubSystem"
}
Block {
BlockType SubSystem
Name "Graph\nscope"
Ports [1, 0, 0, 0, 0]
Position [560, 92, 590, 128]
BackgroundColor "darkGreen"
DropShadow on
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "Storage scope."
MaskDescription "Storage scope using MATLAB graph window.\nEnter"
" plotting ranges and line type."
MaskHelp "Uses MATLAB's graph window.\\nUse only one bloc"
"k per system.\\nLine type must be in quotes.\\nSee the M-file sfunyst.m."
MaskPromptString "Initial Time Range:|Initial y-min:|Initial y-ma"
"x:|Storage pts.:|Line type (rgbw-.:xo):"
MaskStyleString "edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on"
MaskCallbackString "||||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskVariables "npts=@4;color=@5;"
MaskInitialization "close all; ax = [0, @1, @2, @3];"
MaskDisplay "plot(0,0,100,100,[83,76,63,52,42,38,28,16,11,84"
",11,11,11,90,90,11],[75,58,47,54,72,80,84,74,65,65,65,90,40,40,90,90])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "10|-10|10|100|'g-'"
System {
Name "Graph\nscope"
Location [0, 0, 274, 193]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "x"
Position [65, 55, 85, 75]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType "S-Function"
Name "S-function\nM-file which plots\nlines\n"
Ports [1, 0, 0, 0, 0]
Position [130, 55, 180, 75]
CopyFcn "sfunyst([],[],[],'CopyBlock')"
DeleteFcn "sfunyst([],[],[],'DeleteBlock')"
LoadFcn "sfunyst([],[],[],'LoadBlock')"
FunctionName "sfunyst"
Parameters "ax, color, npts"
PortCounts "[]"
SFunctionModules "''"
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "S-function\nM-file which plots\nlines\n"
DstPort 1
}
}
}
Block {
BlockType Ground
Name "Ground_1"
Position [160, 140, 170, 150]
ShowName off
}
Block {
BlockType Ground
Name "Ground_2"
Position [160, 155, 170, 165]
ShowName off
}
Block {
BlockType Ground
Name "Ground_3"
Position [160, 170, 170, 180]
ShowName off
}
Block {
BlockType Ground
Name "Ground_4"
Position [235, 75, 245, 85]
ShowName off
}
Block {
BlockType Reference
Name "ILS"
Ports [1, 4, 0, 0, 0]
Position [545, 305, 600, 355]
Orientation "left"
BackgroundColor "lightBlue"
FontName "Arial"
FontSize 11
SourceBlock "aplib/ILS "
SourceType ""
}
Block {
BlockType Reference
Name "Mode Controller"
Ports [4, 1, 0, 0, 0]
Position [435, 357, 475, 403]
Orientation "left"
ForegroundColor "red"
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "aplib/Mode Controller"
SourceType "Mode Controller"
}
Block {
BlockType Reference
Name "Reference signals"
Ports [0, 1, 0, 0, 0]
Position [545, 395, 610, 425]
Orientation "left"
ForegroundColor "red"
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "aplib/Reference signals"
SourceType "Reference signals"
}
Block {
BlockType Selector
Name "Selector"
Position [505, 54, 535, 166]
BackgroundColor "yellow"
DropShadow on
ShowName off
FontName "Arial"
FontSize 11
Elements "8"
InputPortWidth "13"
}
Block {
BlockType Reference
Name "Subtract initial\nconditions"
Ports [1, 2, 0, 0, 0]
Position [380, 48, 450, 132]
BackgroundColor "lightBlue"
ShowName off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -