Model { Name "aero_guidance_airframe" Version 6.2 MdlSubVersion 0 GraphicalInterface { NumRootInports 1 Inport { Name "Fin Deflection" } NumRootOutports 2 Outport { BusObject "" BusOutputAsStruct "off" Name "q" } Outport { BusObject "" BusOutputAsStruct "off" Name "az" } ParameterArgumentNames "" ComputedModelVersion "1.78" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "US-ASCII" PreLoadFcn "aero_guid_dat" SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip on BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Thu May 13 10:49:52 1999" Creator "The MathWorks Inc." UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "batserve" ModifiedDateFormat "%" LastModifiedDate "Sat Jan 22 19:07:58 2005" ModelVersionFormat "1.%" ConfigurationManager "none" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "oneshot" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigDurationFloating "auto" ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect off ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock off BufferReuse on StrictBusMsg "None" ProdHWDeviceType "32-bit Generic" ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.1.0" Array { Type "Handle" Dimension 7 Simulink.SolverCC { $ObjectID 2 Version "1.1.0" StartTime "0.0" StopTime "10.0" AbsTol "1e-6" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" RelTol "1e-3" SolverMode "SingleTasking" Solver "ode45" SolverName "ode45" ZeroCrossControl "UseLocalSettings" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" RateTranMode "Deterministic" } Simulink.DataIOCC { $ObjectID 3 Version "1.1.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints off MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on SaveTime on StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsOut" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Array { Type "Cell" Dimension 5 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "InitFltsAndDblsToZero" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } Version "1.1.0" BlockReduction off BooleanDataType off ConditionallyExecuteInputs on InlineParams off InlineInvariantSignals on OptimizeBlockIOStorage on BufferReuse on EnforceIntegerDowncast on ExpressionFolding on FoldNonRolledExpr on LocalBlockOutputs on ParameterPooling on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero on NoFixptDivByZeroProtection off EfficientFloat2IntCast off OptimizeModelRefInitCode off LifeSpan "inf" BufferReusableBoundary on } Simulink.DebuggingCC { $ObjectID 5 Version "1.1.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" CheckSSInitialOutputMsg on CheckExecutionContextPreStartOutputMsg on CheckExecutionContextRuntimeOutputMsg on SignalResolutionControl "TryResolveAllWithWarning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" SolverPrmCheckMsg "none" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" ModelReferenceSimTargetVerbose off UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" } Simulink.HardwareCC { $ObjectID 6 Version "1.1.0" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown on ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.1.0" UpdateModelReferenceTargets "IfOutOfDate" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 8 Array { Type "Cell" Dimension 1 Cell "IncludeHyperlinkInReport" PropName "DisabledProps" } Version "1.1.0" SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" TemplateMakefile "grt_default_tmf" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ConfigAtBuild off IncludeHyperlinkInReport off LaunchReport off TargetLang "C" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 9 Array { Type "Cell" Dimension 9 Cell "IgnoreCustomStorageClasses" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" PropName "DisabledProps" } Version "1.1.0" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off PrefixModelToSubsysFcnNames on CustomSymbolStr "$R$N$M" MangleLength 1 DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 10 Array { Type "Cell" Dimension 13 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" Cell "LifeSpan" PropName "DisabledProps" } Version "1.1.0" TargetFcnLib "ansi_tfl_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" GenFloatMathFcnCalls "ANSI_C" UtilityFuncGeneration "Auto" GenerateFullHeader on GenerateSampleERTMain off IsPILTarget off ModelReferenceCompliant on IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } PropName "Components" } Name "Configuration" SimulationMode "normal" CurrentDlgPage "Solver" } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" SampleTime "inf" } Block { BlockType Fcn Expr "sin(u[1])" SampleTime "-1" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Inport UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Math Operator "exp" OutputSignalType "auto" SampleTime "-1" OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Outport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Reference } Block { BlockType Saturate UpperLimit "0.5" LowerLimit "-0.5" LinearizeAsGain on ZeroCross on SampleTime "-1" } Block { BlockType Selector InputType "Vector" IndexMode "One-based" ElementSrc "Internal" Elements "1" RowSrc "Internal" Rows "1" ColumnSrc "Internal" Columns "1" InputPortWidth "-1" IndexIsStartValue off OutputPortSize "1" } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" PermitHierarchicalResolution "All" SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Terminator } } 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 "aero_guidance_airframe" Location [99, 91, 505, 633] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "portrait" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Inport Name "Fin Deflection" Position [70, 408, 100, 422] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType SubSystem Name "Aerodynamics &\nEquations of Motion" Ports [4, 7] Position [130, 218, 240, 442] FontName "Arial" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Aerodynamics &\nEquations of Motion" Location [441, 179, 905, 592] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Rho" Position [30, 293, 60, 307] FontName "Arial" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "a" Position [30, 248, 60, 262] FontName "Arial" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "Thrust" Position [205, 150, 235, 165] Orientation "down" NamePlacement "alternate" FontName "Arial" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "Fin" Position [30, 338, 60, 352] FontName "Arial" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Reference Name " Equations of Motion\n(Body Axes)" Ports [3, 6] Position [250, 161, 310, 374] FontName "Arial" SourceBlock "aerospace/3DoF\nEquations\nof\nMotion / Equ" "ations of Motion\n(Body Axes)" SourceType "3 DOF equations of motion" ShowPortLabels "on" v_ini "v_ini" theta_ini "theta_ini" alpha_ini "alpha_ini" q_ini "q_ini" pos_ini "[x_ini -h_ini]" mass "mass" Iyy "Iyy" g "g" } Block { BlockType SubSystem Name "Aerodynamics" Ports [6, 4] Position [100, 94, 165, 371] FontName "Arial" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Aerodynamics" Location [39, 142, 657, 618] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "q" Position [65, 428, 95, 442] FontName "Arial" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "V" Position [15, 128, 45, 142] FontName "Arial" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "Alpha" Position [60, 243, 90, 257] FontName "Arial" Port "3" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "a" Position [15, 163, 45, 177] FontName "Arial" Port "4" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "Rho" Position [200, 23, 230, 37] NamePlacement "alternate" FontName "Arial" Port "5" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "Fin" Position [65, 348, 95, 362] FontName "Arial" Port "6" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Body Rate" Position [155, 412, 215, 458] FontName "Arial" Gain "Cm_q" } Block { BlockType Sum Name "Cm_tot" Ports [3, 1] Position [330, 248, 360, 312] FontName "Arial" Inputs "+++" } Block { BlockType Sum Name "Cx_tot" Ports [2, 1] Position [330, 132, 360, 163] FontName "Arial" } Block { BlockType Sum Name "Cz_tot" Ports [2, 1] Position [330, 192, 360, 223] FontName "Arial" } Block { BlockType Gain Name "Dynamic\nPressure" Position [305, 26, 380, 64] FontName "Arial" Gain "0.5" } Block { BlockType Product Name "Dynamic Pressure" Ports [2, 1] Position [250, 16, 280, 74] ShowName off FontName "Arial" } Block { BlockType SubSystem Name "Fins" Ports [1, 3] Position [135, 317, 220, 393] FontName "Arial" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Fins" Location [261, 101, 549, 333] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Fin" Position [25, 38, 55, 52] FontName "Arial" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Cm" Position [100, 138, 160, 182] FontName "Arial" Gain "Cm_el" } Block { BlockType Gain Name "Cx" Position [100, 20, 160, 70] FontName "Arial" Gain "0" } Block { BlockType Gain Name "Cz" Position [100, 77, 160, 123] FontName "Arial" Gain "Cz_el" } Block { BlockType Outport Name "Cx_el" Position [180, 38, 210, 52] FontName "Arial" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Block { BlockType Outport Name "Cz_el" Position [180, 93, 210, 107] FontName "Arial" Port "2" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Block { BlockType Outport Name "Cm_el" Position [180, 153, 210, 167] FontName "Arial" Port "3" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Line { SrcBlock "Cz" SrcPort 1 DstBlock "Cz_el" DstPort 1 } Line { SrcBlock "Cm" SrcPort 1 DstBlock "Cm_el" DstPort 1 } Line { SrcBlock "Cx" SrcPort 1 DstBlock "Cx_el" DstPort 1 } Line { SrcBlock "Fin" SrcPort 1 Points [15, 0] Branch { Points [0, 55] Branch { DstBlock "Cz" DstPort 1 } Branch { Points [0, 60] DstBlock "Cm" DstPort 1 } } Branch { DstBlock "Cx" DstPort 1 } } } } Block { BlockType SubSystem Name "Incidence" Ports [2, 3] Position [135, 107, 220, 293] FontName "Arial" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "Incidence" Location [200, 171, 708, 540] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Mach" Position [50, 178, 80, 192] FontName "Arial" Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Inport Name "Alpha" Position [50, 63, 80, 77] FontName "Arial" Port "2" IconDisplay "Port number" LatchInput off } Block { BlockType Reference Name "Cm" Ports [2, 1] Position [295, 242, 350, 293] SourceBlock "simulink/Lookup\nTables/Lookup\nTab" "le (n-D)" SourceType "LookupNDInterp" numDimsPopupSelect " 2 " bp1 "alpha_vec" bp2 "Mach_vec" bp3 "[1:3]" bp4 "[1:3]" bpcell "{ [1:3], [1:3] }" explicitNumDims "2" searchMode "Binary Search" cacheBpFlag "on" vectorInputFlag "off" tableData "Cm_alpha" interpMethod "Linear" extrapMethod "Linear" rangeErrorMode "None" } Block { BlockType Reference Name "Cx" Ports [2, 1] Position [295, 57, 350, 108] SourceBlock "simulink/Lookup\nTables/Lookup\nTab" "le (n-D)" SourceType "LookupNDInterp" numDimsPopupSelect " 2 " bp1 "alpha_vec" bp2 "Mach_vec" bp3 "[1:3]" bp4 "[1:3]" bpcell "{ [1:3], [1:3] }" explicitNumDims "2" searchMode "Binary Search" cacheBpFlag "on" vectorInputFlag "off" tableData "Cx_alpha" interpMethod "Linear" extrapMethod "Linear" rangeErrorMode "None" } Block { BlockType Reference Name "Cz" Ports [2, 1] Position [295, 147, 350, 198] SourceBlock "simulink/Lookup\nTables/Lookup\nTab" "le (n-D)" SourceType "LookupNDInterp" numDimsPopupSelect " 2 " bp1 "alpha_vec" bp2 "Mach_vec" bp3 "[1:3]" bp4 "[1:3]" bpcell "{ [1:3], [1:3] }" explicitNumDims "2" searchMode "Binary Search" cacheBpFlag "on" vectorInputFlag "off" tableData "Cz_alpha" interpMethod "Linear" extrapMethod "Linear" rangeErrorMode "None" } Block { BlockType Outport Name "Cx_alpha" Position [410, 78, 440, 92] FontName "Arial" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Block { BlockType Outport Name "Cz_alpha" Position [410, 168, 440, 182] FontName "Arial" Port "2" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Block { BlockType Outport Name "Cm_alpha" Position [410, 263, 440, 277] FontName "Arial" Port "3" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Line { SrcBlock "Cx" SrcPort 1 DstBlock "Cx_alpha" DstPort 1 } Line { SrcBlock "Cz" SrcPort 1 DstBlock "Cz_alpha" DstPort 1 } Line { SrcBlock "Cm" SrcPort 1 DstBlock "Cm_alpha" DstPort 1 } Line { SrcBlock "Alpha" SrcPort 1 Points [160, 0] Branch { DstBlock "Cx" DstPort 1 } Branch { Points [0, 90] Branch { Points [0, 95] DstBlock "Cm" DstPort 1 } Branch { DstBlock "Cz" DstPort 1 } } } Line { SrcBlock "Mach" SrcPort 1 Points [130, 0] Branch { Points [0, -90] DstBlock "Cx" DstPort 2 } Branch { Points [0, 0] Branch { Points [0, 95] DstBlock "Cm" DstPort 2 } Branch { DstBlock "Cz" DstPort 2 } } } } } Block { BlockType Product Name "Mach \nNumber" Ports [2, 1] Position [65, 118, 95, 187] FontName "Arial" Inputs "*/" } Block { BlockType Math Name "Math\nFunction" Ports [1, 1] Position [75, 45, 105, 75] ShowName off Operator "square" } Block { BlockType Product Name "Product2" Ports [2, 1] Position [420, 142, 450, 173] ShowName off FontName "Arial" } Block { BlockType Product Name "Product3" Ports [2, 1] Position [420, 202, 450, 233] ShowName off FontName "Arial" } Block { BlockType Product Name "Product4" Ports [2, 1] Position [420, 257, 450, 288] ShowName off FontName "Arial" } Block { BlockType Gain Name "S_ref" Position [470, 140, 535, 180] FontName "Arial" Gain "S_ref" } Block { BlockType Gain Name "S_ref\n*\nd_ref" Position [480, 259, 535, 291] FontName "Arial" Gain "d_ref*S_ref" } Block { BlockType Gain Name "S_ref " Position [470, 200, 535, 240] FontName "Arial" Gain "S_ref" } Block { BlockType Outport Name " Mach" Position [130, 83, 160, 97] NamePlacement "alternate" FontName "Arial" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Block { BlockType Outport Name "Fx" Position [555, 153, 585, 167] FontName "Arial" Port "2" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "[0]" } Block { BlockType Outport Name "Fz" Position [555, 213, 585, 227] FontName "Arial" Port "3" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Block { BlockType Outport Name " M" Position [555, 268, 585, 282] FontName "Arial" Port "4" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Line { SrcBlock "Mach \nNumber" SrcPort 1 Points [10, 0] Branch { Points [0, -65] DstBlock " Mach" DstPort 1 } Branch { DstBlock "Incidence" DstPort 1 } } Line { SrcBlock "q" SrcPort 1 DstBlock "Body Rate" DstPort 1 } Line { SrcBlock "Cm_tot" SrcPort 1 DstBlock "Product4" DstPort 2 } Line { SrcBlock "Product4" SrcPort 1 DstBlock "S_ref\n*\nd_ref" DstPort 1 } Line { SrcBlock "S_ref\n*\nd_ref" SrcPort 1 DstBlock " M" DstPort 1 } Line { SrcBlock "Fin" SrcPort 1 DstBlock "Fins" DstPort 1 } Line { SrcBlock "S_ref " SrcPort 1 DstBlock "Fz" DstPort 1 } Line { SrcBlock "Product3" SrcPort 1 DstBlock "S_ref " DstPort 1 } Line { SrcBlock "S_ref" SrcPort 1 DstBlock "Fx" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 DstBlock "S_ref" DstPort 1 } Line { SrcBlock "Cz_tot" SrcPort 1 DstBlock "Product3" DstPort 1 } Line { SrcBlock "Cx_tot" SrcPort 1 DstBlock "Product2" DstPort 1 } Line { SrcBlock "Alpha" SrcPort 1 DstBlock "Incidence" DstPort 2 } Line { SrcBlock "a" SrcPort 1 DstBlock "Mach \nNumber" DstPort 2 } Line { SrcBlock "Body Rate" SrcPort 1 Points [95, 0] DstBlock "Cm_tot" DstPort 3 } Line { SrcBlock "Fins" SrcPort 3 Points [70, 0; 0, -100] DstBlock "Cm_tot" DstPort 2 } Line { SrcBlock "Incidence" SrcPort 3 DstBlock "Cm_tot" DstPort 1 } Line { SrcBlock "Fins" SrcPort 2 Points [45, 0; 0, -140] DstBlock "Cz_tot" DstPort 2 } Line { SrcBlock "Incidence" SrcPort 2 DstBlock "Cz_tot" DstPort 1 } Line { SrcBlock "Fins" SrcPort 1 Points [20, 0; 0, -175] DstBlock "Cx_tot" DstPort 2 } Line { SrcBlock "Incidence" SrcPort 1 DstBlock "Cx_tot" DstPort 1 } Line { SrcBlock "V" SrcPort 1 Points [0, 0] Branch { DstBlock "Mach \nNumber" DstPort 1 } Branch { Points [0, -75] DstBlock "Math\nFunction" DstPort 1 } } Line { SrcBlock "Dynamic\nPressure" SrcPort 1 Points [10, 0; 0, 120] Branch { Points [0, 60] Branch { Points [0, 40] DstBlock "Product4" DstPort 1 } Branch { DstBlock "Product3" DstPort 2 } } Branch { DstBlock "Product2" DstPort 2 } } Line { SrcBlock "Dynamic Pressure" SrcPort 1 DstBlock "Dynamic\nPressure" DstPort 1 } Line { SrcBlock "Rho" SrcPort 1 DstBlock "Dynamic Pressure" DstPort 1 } Line { SrcBlock "Math\nFunction" SrcPort 1 DstBlock "Dynamic Pressure" DstPort 2 } } } Block { BlockType Reference Name "Incidence & Airspeed" Ports [1, 2] Position [190, 19, 255, 66] Orientation "left" NamePlacement "alternate" FontName "Arial" SourceBlock "aerospace/3DoF\nEquations\nof\nMotion /Inci" "dence \n& Airspeed" SourceType "Incidence and Airspeed" ShowPortLabels "on" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [205, 185, 235, 215] ShowName off IconShape "round" Inputs "++|" } Block { BlockType Outport Name "Xe,Ze" Position [390, 278, 420, 292] FontName "Arial" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Block { BlockType Outport Name "Attitude" Position [325, 173, 355, 187] FontName "Arial" Port "2" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Block { BlockType Outport Name "q" Position [390, 208, 420, 222] FontName "Arial" Port "3" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Block { BlockType Outport Name "qdot" Position [390, 243, 420, 257] FontName "Arial" Port "4" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Block { BlockType Outport Name "Ax,Az" Position [340, 348, 370, 362] FontName "Arial" Port "5" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Block { BlockType Outport Name "Mach" Position [205, 123, 235, 137] NamePlacement "alternate" FontName "Arial" Port "6" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Block { BlockType Outport Name "V" Position [20, 48, 50, 62] Orientation "left" FontName "Arial" Port "7" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Line { SrcBlock " Equations of Motion\n(Body Axes)" SrcPort 5 Points [120, 0; 0, -275] DstBlock "Incidence & Airspeed" DstPort 1 } Line { SrcBlock " Equations of Motion\n(Body Axes)" SrcPort 6 DstBlock "Ax,Az" DstPort 1 } Line { SrcBlock " Equations of Motion\n(Body Axes)" SrcPort 4 DstBlock "Xe,Ze" DstPort 1 } Line { SrcBlock " Equations of Motion\n(Body Axes)" SrcPort 1 DstBlock "Attitude" DstPort 1 } Line { SrcBlock " Equations of Motion\n(Body Axes)" SrcPort 3 DstBlock "qdot" DstPort 1 } Line { SrcBlock " Equations of Motion\n(Body Axes)" SrcPort 2 Points [0, 0; 50, 0] Branch { Points [0, -135; -280, 0] DstBlock "Aerodynamics" DstPort 1 } Branch { DstBlock "q" DstPort 1 } } Line { SrcBlock "Thrust" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Aerodynamics" SrcPort 2 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Aerodynamics" SrcPort 3 DstBlock " Equations of Motion\n(Body Axes)" DstPort 2 } Line { SrcBlock "Incidence & Airspeed" SrcPort 2 Points [0, 0; -120, 0] Branch { Points [0, 110] DstBlock "Aerodynamics" DstPort 2 } Branch { DstBlock "V" DstPort 1 } } Line { SrcBlock "Fin" SrcPort 1 DstBlock "Aerodynamics" DstPort 6 } Line { SrcBlock "a" SrcPort 1 DstBlock "Aerodynamics" DstPort 4 } Line { SrcBlock "Rho" SrcPort 1 DstBlock "Aerodynamics" DstPort 5 } Line { SrcBlock "Incidence & Airspeed" SrcPort 1 Points [-175, 0; 0, 180] DstBlock "Aerodynamics" DstPort 3 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock " Equations of Motion\n(Body Axes)" DstPort 1 } Line { SrcBlock "Aerodynamics" SrcPort 4 DstBlock " Equations of Motion\n(Body Axes)" DstPort 3 } Line { SrcBlock "Aerodynamics" SrcPort 1 DstBlock "Mach" DstPort 1 } } } Block { BlockType Reference Name "Atmosphere\nmodel" Ports [1, 4] Position [120, 62, 265, 173] Orientation "left" FontName "arial" SourceBlock "aerospace/Atmosphere/Atmosphere\nmodel" SourceType "Atmosphere Model" ShowPortLabels on } Block { BlockType Constant Name "Constant" Position [65, 349, 105, 371] ShowName off Value "Thrust" } Block { BlockType Constant Name "Height" Position [295, 106, 335, 134] Orientation "left" Value "h_ini" } Block { BlockType Selector Name "Selector" Ports [1, 1] Position [305, 344, 315, 376] ShowName off FontName "Arial" Elements "[2]" InputPortWidth "2" } Block { BlockType SubSystem Name "SubSystem" Ports [] Position [56, 492, 348, 528] BackgroundColor "yellow" DropShadow on ShowName off OpenFcn "aero_lin_aero" FontName "Arial" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "disp('Double-click here to generate linearizati" "ons')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "SubSystem" Location [148, 182, 646, 482] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" } } Block { BlockType Terminator Name "Terminator1" Position [265, 410, 285, 430] ShowName off } Block { BlockType Terminator Name "Terminator10" Position [265, 380, 285, 400] ShowName off } Block { BlockType Terminator Name "Terminator11" Position [265, 320, 285, 340] ShowName off } Block { BlockType Terminator Name "Terminator6" Position [65, 120, 85, 140] Orientation "left" ShowName off } Block { BlockType Terminator Name "Terminator7" Position [65, 70, 85, 90] Orientation "left" ShowName off } Block { BlockType Terminator Name "Terminator8" Position [265, 230, 285, 250] ShowName off } Block { BlockType Terminator Name "Terminator9" Position [265, 260, 285, 280] ShowName off } Block { BlockType Outport Name "q" Position [345, 293, 375, 307] IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Block { BlockType Outport Name "az" Position [345, 353, 375, 367] Port "2" IconDisplay "Port number" BusOutputAsStruct off InitialOutput "0" } Line { SrcBlock "Height" SrcPort 1 DstBlock "Atmosphere\nmodel" DstPort 1 } Line { Labels [1, 0] SrcBlock "Atmosphere\nmodel" SrcPort 1 DstBlock "Terminator7" DstPort 1 } Line { SrcBlock "Atmosphere\nmodel" SrcPort 3 DstBlock "Terminator6" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Aerodynamics &\nEquations of Motion" DstPort 3 } Line { SrcBlock "Fin Deflection" SrcPort 1 DstBlock "Aerodynamics &\nEquations of Motion" DstPort 4 } Line { SrcBlock "Aerodynamics &\nEquations of Motion" SrcPort 1 DstBlock "Terminator8" DstPort 1 } Line { SrcBlock "Aerodynamics &\nEquations of Motion" SrcPort 2 DstBlock "Terminator9" DstPort 1 } Line { SrcBlock "Aerodynamics &\nEquations of Motion" SrcPort 3 DstBlock "q" DstPort 1 } Line { SrcBlock "Aerodynamics &\nEquations of Motion" SrcPort 4 DstBlock "Terminator11" DstPort 1 } Line { SrcBlock "Aerodynamics &\nEquations of Motion" SrcPort 5 DstBlock "Selector" DstPort 1 } Line { SrcBlock "Aerodynamics &\nEquations of Motion" SrcPort 6 DstBlock "Terminator10" DstPort 1 } Line { SrcBlock "Aerodynamics &\nEquations of Motion" SrcPort 7 DstBlock "Terminator1" DstPort 1 } Line { SrcBlock "Atmosphere\nmodel" SrcPort 4 Points [-45, 0; 0, 95] DstBlock "Aerodynamics &\nEquations of Motion" DstPort 1 } Line { SrcBlock "Atmosphere\nmodel" SrcPort 2 Points [-75, 0; 0, 200] DstBlock "Aerodynamics &\nEquations of Motion" DstPort 2 } Line { SrcBlock "Selector" SrcPort 1 DstBlock "az" DstPort 1 } Annotation { Name "Simulink model used to trim and linearize airfr" "ame" Position [203, 29] FontName "Arial" FontSize 16 FontWeight "bold" FontAngle "italic" } } }