diff options
Diffstat (limited to 'Prof_Arya/Cessna_6DOF.mdl')
-rw-r--r-- | Prof_Arya/Cessna_6DOF.mdl | 2069 |
1 files changed, 2069 insertions, 0 deletions
diff --git a/Prof_Arya/Cessna_6DOF.mdl b/Prof_Arya/Cessna_6DOF.mdl new file mode 100644 index 0000000..3d57cf7 --- /dev/null +++ b/Prof_Arya/Cessna_6DOF.mdl @@ -0,0 +1,2069 @@ +Model {
+ Name "Cessna_6DOF"
+ Version 8.3
+ MdlSubVersion 0
+ SavedCharacterEncoding "windows-1252"
+ GraphicalInterface {
+ NumRootInports 0
+ NumRootOutports 0
+ ParameterArgumentNames ""
+ ComputedModelVersion "1.16"
+ NumModelReferences 0
+ NumTestPointedSignals 0
+ }
+ SaveDefaultBlockParams on
+ ScopeRefreshTime 0.035000
+ OverrideScopeRefreshTime on
+ DisableAllScopes off
+ DataTypeOverride "UseLocalSettings"
+ DataTypeOverrideAppliesTo "AllNumericTypes"
+ MinMaxOverflowLogging "UseLocalSettings"
+ MinMaxOverflowArchiveMode "Overwrite"
+ FPTRunName "Run 1"
+ MaxMDLFileLineLength 120
+ Object {
+ $PropName "BdWindowsInfo"
+ $ObjectID 1
+ $ClassName "Simulink.BDWindowsInfo"
+ Object {
+ $PropName "WindowsInfo"
+ $ObjectID 2
+ $ClassName "Simulink.WindowInfo"
+ IsActive [1]
+ Location [-8.0, -8.0, 1382.0, 754.0]
+ Object {
+ $PropName "ModelBrowserInfo"
+ $ObjectID 3
+ $ClassName "Simulink.ModelBrowserInfo"
+ Visible [0]
+ DockPosition "Left"
+ Width [50]
+ Height [50]
+ Filter [8]
+ }
+ Object {
+ $PropName "ExplorerBarInfo"
+ $ObjectID 4
+ $ClassName "Simulink.ExplorerBarInfo"
+ Visible [1]
+ }
+ Object {
+ $PropName "EditorsInfo"
+ $ObjectID 5
+ $ClassName "Simulink.EditorInfo"
+ IsActive [1]
+ ViewObjType "SimulinkTopLevel"
+ LoadSaveID "0"
+ Extents [1332.0, 580.0]
+ ZoomFactor [1.0]
+ Offset [0.0, 0.0]
+ }
+ }
+ }
+ Created "Sat Dec 20 14:26:50 2014"
+ Creator "Pranav"
+ UpdateHistory "UpdateHistoryNever"
+ ModifiedByFormat "%<Auto>"
+ LastModifiedBy "Pranav"
+ ModifiedDateFormat "%<Auto>"
+ LastModifiedDate "Wed Mar 30 16:47:01 2016"
+ RTWModifiedTimeStamp 381257210
+ ModelVersionFormat "1.%<AutoIncrement:16>"
+ ConfigurationManager "none"
+ SampleTimeColors off
+ SampleTimeAnnotations off
+ LibraryLinkDisplay "none"
+ WideLines off
+ ShowLineDimensions off
+ ShowPortDataTypes off
+ ShowDesignRanges off
+ ShowLoopsOnError on
+ IgnoreBidirectionalLines off
+ ShowStorageClass off
+ ShowTestPointIcons on
+ ShowSignalResolutionIcons on
+ ShowViewerIcons on
+ SortedOrder off
+ ExecutionContextIcon off
+ ShowLinearizationAnnotations on
+ BlockNameDataTip off
+ BlockParametersDataTip off
+ BlockDescriptionStringDataTip off
+ ToolBar on
+ StatusBar on
+ BrowserShowLibraryLinks off
+ BrowserLookUnderMasks off
+ SimulationMode "normal"
+ PauseTimes "5"
+ NumberOfSteps 1
+ SnapshotBufferSize 10
+ SnapshotInterval 10
+ NumberOfLastSnapshots 0
+ LinearizationMsg "none"
+ Profile off
+ ParamWorkspaceSource "MATLABWorkspace"
+ AccelSystemTargetFile "accel.tlc"
+ AccelTemplateMakefile "accel_default_tmf"
+ AccelMakeCommand "make_rtw"
+ TryForcingSFcnDF off
+ Object {
+ $PropName "DataLoggingOverride"
+ $ObjectID 6
+ $ClassName "Simulink.SimulationData.ModelLoggingInfo"
+ model_ "Cessna_6DOF"
+ overrideMode_ [0.0]
+ Array {
+ Type "Cell"
+ Dimension 1
+ Cell "Cessna_6DOF"
+ PropName "logAsSpecifiedByModels_"
+ }
+ Array {
+ Type "Cell"
+ Dimension 1
+ Cell []
+ PropName "logAsSpecifiedByModelsSSIDs_"
+ }
+ }
+ RecordCoverage off
+ CovPath "/"
+ CovSaveName "covdata"
+ CovMetricSettings "dw"
+ CovNameIncrementing off
+ CovHtmlReporting on
+ CovForceBlockReductionOff on
+ CovEnableCumulative on
+ covSaveCumulativeToWorkspaceVar on
+ CovSaveSingleToWorkspaceVar on
+ CovCumulativeVarName "covCumulativeData"
+ CovCumulativeReport off
+ CovReportOnPause on
+ CovModelRefEnable "Off"
+ CovExternalEMLEnable off
+ CovSFcnEnable off
+ CovBoundaryAbsTol 0.000010
+ CovBoundaryRelTol 0.010000
+ ExtModeBatchMode off
+ ExtModeEnableFloating on
+ ExtModeTrigType "manual"
+ ExtModeTrigMode "normal"
+ 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 on
+ ExtModeSkipDownloadWhenConnect off
+ ExtModeLogAll on
+ ExtModeAutoUpdateStatusClock on
+ BufferReuse on
+ ShowModelReferenceBlockVersion off
+ ShowModelReferenceBlockIO off
+ Array {
+ Type "Handle"
+ Dimension 1
+ Simulink.ConfigSet {
+ $ObjectID 7
+ Version "1.14.2"
+ Array {
+ Type "Handle"
+ Dimension 9
+ Simulink.SolverCC {
+ $ObjectID 8
+ Version "1.14.2"
+ StartTime "0.0"
+ StopTime "1000"
+ AbsTol "auto"
+ FixedStep "auto"
+ InitialStep "auto"
+ MaxNumMinSteps "-1"
+ MaxOrder 5
+ ZcThreshold "auto"
+ ConsecutiveZCsStepRelTol "10*128*eps"
+ MaxConsecutiveZCs "1000"
+ ExtrapolationOrder 4
+ NumberNewtonIterations 1
+ MaxStep "auto"
+ MinStep "auto"
+ MaxConsecutiveMinStep "1"
+ RelTol "1e-3"
+ SolverMode "Auto"
+ EnableConcurrentExecution off
+ ConcurrentTasks off
+ Solver "ode45"
+ SolverName "ode45"
+ SolverJacobianMethodControl "auto"
+ ShapePreserveControl "DisableAll"
+ ZeroCrossControl "UseLocalSettings"
+ ZeroCrossAlgorithm "Nonadaptive"
+ AlgebraicLoopSolver "TrustRegion"
+ SolverResetMethod "Fast"
+ PositivePriorityOrder off
+ AutoInsertRateTranBlk off
+ SampleTimeConstraint "Unconstrained"
+ InsertRTBMode "Whenever possible"
+ }
+ Simulink.DataIOCC {
+ $ObjectID 9
+ Version "1.14.2"
+ Decimation "1"
+ ExternalInput "[t, u]"
+ FinalStateName "xFinal"
+ InitialState "xInitial"
+ LimitDataPoints on
+ MaxDataPoints "1000"
+ LoadExternalInput off
+ LoadInitialState off
+ SaveFinalState off
+ SaveCompleteFinalSimState off
+ SaveFormat "Array"
+ SignalLoggingSaveFormat "ModelDataLogs"
+ SaveOutput on
+ SaveState off
+ SignalLogging on
+ DSMLogging on
+ InspectSignalLogs off
+ VisualizeSimOutput on
+ SaveTime on
+ ReturnWorkspaceOutputs off
+ StateSaveName "xout"
+ TimeSaveName "tout"
+ OutputSaveName "yout"
+ SignalLoggingName "logsout"
+ DSMLoggingName "dsmout"
+ OutputOption "RefineOutputTimes"
+ OutputTimes "[]"
+ ReturnWorkspaceOutputsName "out"
+ Refine "1"
+ }
+ Simulink.OptimizationCC {
+ $ObjectID 10
+ Version "1.14.2"
+ Array {
+ Type "Cell"
+ Dimension 8
+ Cell "BooleansAsBitfields"
+ Cell "PassReuseOutputArgsAs"
+ Cell "PassReuseOutputArgsThreshold"
+ Cell "ZeroExternalMemoryAtStartup"
+ Cell "ZeroInternalMemoryAtStartup"
+ Cell "OptimizeModelRefInitCode"
+ Cell "NoFixptDivByZeroProtection"
+ Cell "UseSpecifiedMinMax"
+ PropName "DisabledProps"
+ }
+ BlockReduction on
+ BooleanDataType on
+ ConditionallyExecuteInputs on
+ InlineParams off
+ UseIntDivNetSlope off
+ UseFloatMulNetSlope off
+ DefaultUnderspecifiedDataType "double"
+ UseSpecifiedMinMax off
+ InlineInvariantSignals off
+ OptimizeBlockIOStorage on
+ BufferReuse on
+ EnhancedBackFolding off
+ CachingGlobalReferences off
+ GlobalBufferReuse on
+ StrengthReduction off
+ ExpressionFolding on
+ BooleansAsBitfields off
+ BitfieldContainerType "uint_T"
+ EnableMemcpy on
+ MemcpyThreshold 64
+ PassReuseOutputArgsAs "Structure reference"
+ ExpressionDepthLimit 2147483647
+ FoldNonRolledExpr on
+ LocalBlockOutputs on
+ RollThreshold 5
+ SystemCodeInlineAuto off
+ StateBitsets off
+ DataBitsets off
+ ActiveStateOutputEnumStorageType "Native Integer"
+ UseTempVars off
+ ZeroExternalMemoryAtStartup on
+ ZeroInternalMemoryAtStartup on
+ InitFltsAndDblsToZero off
+ NoFixptDivByZeroProtection off
+ EfficientFloat2IntCast off
+ EfficientMapNaN2IntZero on
+ OptimizeModelRefInitCode off
+ LifeSpan "inf"
+ MaxStackSize "Inherit from target"
+ BufferReusableBoundary on
+ SimCompilerOptimization "Off"
+ AccelVerboseBuild off
+ ParallelExecutionInRapidAccelerator on
+ }
+ Simulink.DebuggingCC {
+ $ObjectID 11
+ Version "1.14.2"
+ RTPrefix "error"
+ ConsistencyChecking "none"
+ ArrayBoundsChecking "none"
+ SignalInfNanChecking "none"
+ SignalRangeChecking "none"
+ ReadBeforeWriteMsg "UseLocalSettings"
+ WriteAfterWriteMsg "UseLocalSettings"
+ WriteAfterReadMsg "UseLocalSettings"
+ AlgebraicLoopMsg "warning"
+ ArtificialAlgebraicLoopMsg "warning"
+ SaveWithDisabledLinksMsg "warning"
+ SaveWithParameterizedLinksMsg "warning"
+ CheckSSInitialOutputMsg on
+ UnderspecifiedInitializationDetection "Classic"
+ MergeDetectMultiDrivingBlocksExec "none"
+ CheckExecutionContextPreStartOutputMsg off
+ CheckExecutionContextRuntimeOutputMsg off
+ SignalResolutionControl "UseLocalSettings"
+ BlockPriorityViolationMsg "warning"
+ MinStepSizeMsg "warning"
+ TimeAdjustmentMsg "none"
+ MaxConsecutiveZCsMsg "error"
+ MaskedZcDiagnostic "warning"
+ IgnoredZcDiagnostic "warning"
+ SolverPrmCheckMsg "warning"
+ InheritedTsInSrcMsg "warning"
+ DiscreteInheritContinuousMsg "warning"
+ MultiTaskDSMMsg "error"
+ MultiTaskCondExecSysMsg "error"
+ MultiTaskRateTransMsg "error"
+ SingleTaskRateTransMsg "none"
+ TasksWithSamePriorityMsg "warning"
+ SigSpecEnsureSampleTimeMsg "warning"
+ CheckMatrixSingularityMsg "none"
+ IntegerOverflowMsg "warning"
+ Int32ToFloatConvMsg "warning"
+ ParameterDowncastMsg "error"
+ ParameterOverflowMsg "error"
+ ParameterUnderflowMsg "none"
+ ParameterPrecisionLossMsg "warning"
+ ParameterTunabilityLossMsg "warning"
+ FixptConstUnderflowMsg "none"
+ FixptConstOverflowMsg "none"
+ FixptConstPrecisionLossMsg "none"
+ UnderSpecifiedDataTypeMsg "none"
+ UnnecessaryDatatypeConvMsg "none"
+ VectorMatrixConversionMsg "none"
+ InvalidFcnCallConnMsg "error"
+ FcnCallInpInsideContextMsg "UseLocalSettings"
+ SignalLabelMismatchMsg "none"
+ UnconnectedInputMsg "warning"
+ UnconnectedOutputMsg "warning"
+ UnconnectedLineMsg "warning"
+ SFcnCompatibilityMsg "none"
+ FrameProcessingCompatibilityMsg "warning"
+ UniqueDataStoreMsg "none"
+ BusObjectLabelMismatch "warning"
+ RootOutportRequireBusObject "warning"
+ AssertControl "UseLocalSettings"
+ EnableOverflowDetection off
+ ModelReferenceIOMsg "none"
+ ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error"
+ ModelReferenceVersionMismatchMessage "none"
+ ModelReferenceIOMismatchMessage "none"
+ ModelReferenceCSMismatchMessage "none"
+ UnknownTsInhSupMsg "warning"
+ ModelReferenceDataLoggingMessage "warning"
+ ModelReferenceSymbolNameMessage "warning"
+ ModelReferenceExtraNoncontSigs "error"
+ StateNameClashWarn "warning"
+ SimStateInterfaceChecksumMismatchMsg "warning"
+ SimStateOlderReleaseMsg "error"
+ InitInArrayFormatMsg "warning"
+ StrictBusMsg "ErrorLevel1"
+ BusNameAdapt "WarnAndRepair"
+ NonBusSignalsTreatedAsBus "none"
+ LoggingUnavailableSignals "error"
+ BlockIODiagnostic "none"
+ SFUnusedDataAndEventsDiag "warning"
+ SFUnexpectedBacktrackingDiag "warning"
+ SFInvalidInputDataAccessInChartInitDiag "warning"
+ SFNoUnconditionalDefaultTransitionDiag "warning"
+ SFTransitionOutsideNaturalParentDiag "warning"
+ SFUnconditionalTransitionShadowingDiag "warning"
+ SFUndirectedBroadcastEventsDiag "warning"
+ SFTransitionActionBeforeConditionDiag "warning"
+ }
+ Simulink.HardwareCC {
+ $ObjectID 12
+ Version "1.14.2"
+ ProdBitPerChar 8
+ ProdBitPerShort 16
+ ProdBitPerInt 32
+ ProdBitPerLong 32
+ ProdBitPerLongLong 64
+ ProdBitPerFloat 32
+ ProdBitPerDouble 64
+ ProdBitPerPointer 32
+ ProdLargestAtomicInteger "Char"
+ ProdLargestAtomicFloat "None"
+ ProdIntDivRoundTo "Undefined"
+ ProdEndianess "Unspecified"
+ ProdWordSize 32
+ ProdShiftRightIntArith on
+ ProdLongLongMode off
+ ProdHWDeviceType "32-bit Generic"
+ TargetBitPerChar 8
+ TargetBitPerShort 16
+ TargetBitPerInt 32
+ TargetBitPerLong 32
+ TargetBitPerLongLong 64
+ TargetBitPerFloat 32
+ TargetBitPerDouble 64
+ TargetBitPerPointer 32
+ TargetLargestAtomicInteger "Char"
+ TargetLargestAtomicFloat "None"
+ TargetShiftRightIntArith on
+ TargetLongLongMode off
+ TargetIntDivRoundTo "Undefined"
+ TargetEndianess "Unspecified"
+ TargetWordSize 32
+ TargetTypeEmulationWarnSuppressLevel 0
+ TargetPreprocMaxBitsSint 32
+ TargetPreprocMaxBitsUint 32
+ TargetHWDeviceType "Specified"
+ TargetUnknown off
+ ProdEqTarget on
+ }
+ Simulink.ModelReferenceCC {
+ $ObjectID 13
+ Version "1.14.2"
+ UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange"
+ CheckModelReferenceTargetMessage "error"
+ EnableParallelModelReferenceBuilds off
+ ParallelModelReferenceErrorOnInvalidPool on
+ ParallelModelReferenceMATLABWorkerInit "None"
+ ModelReferenceNumInstancesAllowed "Multi"
+ PropagateVarSize "Infer from blocks in model"
+ ModelReferencePassRootInputsByReference on
+ ModelReferenceMinAlgLoopOccurrences off
+ PropagateSignalLabelsOutOfModel off
+ SupportModelReferenceSimTargetCustomCode off
+ }
+ Simulink.SFSimCC {
+ $ObjectID 14
+ Version "1.14.2"
+ SFSimEnableDebug on
+ SFSimOverflowDetection on
+ SFSimEcho on
+ SimBlas on
+ SimCtrlC on
+ SimExtrinsic on
+ SimIntegrity on
+ SimUseLocalCustomCode off
+ SimParseCustomCode on
+ SimBuildMode "sf_incremental_build"
+ SimGenImportedTypeDefs off
+ }
+ Simulink.RTWCC {
+ $BackupClass "Simulink.RTWCC"
+ $ObjectID 15
+ Version "1.14.2"
+ Array {
+ Type "Cell"
+ Dimension 8
+ Cell "IncludeHyperlinkInReport"
+ Cell "GenerateTraceInfo"
+ Cell "GenerateTraceReport"
+ Cell "GenerateTraceReportSl"
+ Cell "GenerateTraceReportSf"
+ Cell "GenerateTraceReportEml"
+ Cell "GenerateSLWebview"
+ Cell "GenerateCodeMetricsReport"
+ PropName "DisabledProps"
+ }
+ SystemTargetFile "grt.tlc"
+ TLCOptions ""
+ GenCodeOnly off
+ MakeCommand "make_rtw"
+ GenerateMakefile on
+ PackageGeneratedCodeAndArtifacts off
+ PackageName ""
+ TemplateMakefile "grt_default_tmf"
+ PostCodeGenCommand ""
+ Description ""
+ GenerateReport off
+ SaveLog off
+ RTWVerbose on
+ RetainRTWFile off
+ ProfileTLC off
+ TLCDebug off
+ TLCCoverage off
+ TLCAssert off
+ ProcessScriptMode "Default"
+ ConfigurationMode "Optimized"
+ ProcessScript ""
+ ConfigurationScript ""
+ ConfigAtBuild off
+ RTWUseLocalCustomCode off
+ RTWUseSimCustomCode off
+ CustomSourceCode ""
+ CustomHeaderCode ""
+ CustomInclude ""
+ CustomSource ""
+ CustomLibrary ""
+ CustomInitializer ""
+ CustomTerminator ""
+ Toolchain "Automatically locate an installed toolchain"
+ BuildConfiguration "Faster Builds"
+ IncludeHyperlinkInReport off
+ LaunchReport off
+ PortableWordSizes off
+ CreateSILPILBlock "None"
+ CodeExecutionProfiling off
+ CodeExecutionProfileVariable "executionProfile"
+ CodeProfilingSaveOptions "SummaryOnly"
+ CodeProfilingInstrumentation off
+ SILDebugging off
+ TargetLang "C"
+ IncludeBusHierarchyInRTWFileBlockHierarchyMap off
+ IncludeERTFirstTime off
+ GenerateTraceInfo off
+ GenerateTraceReport off
+ GenerateTraceReportSl off
+ GenerateTraceReportSf off
+ GenerateTraceReportEml off
+ GenerateCodeInfo off
+ GenerateWebview off
+ GenerateCodeMetricsReport off
+ GenerateCodeReplacementReport off
+ RTWCompilerOptimization "Off"
+ RTWCustomCompilerOptimizations ""
+ CheckMdlBeforeBuild "Off"
+ CustomRebuildMode "OnUpdate"
+ DataInitializer ""
+ SharedConstantsCachingThreshold 1024
+ Array {
+ Type "Handle"
+ Dimension 2
+ Simulink.CodeAppCC {
+ $ObjectID 16
+ Version "1.14.2"
+ Array {
+ Type "Cell"
+ Dimension 21
+ Cell "IgnoreCustomStorageClasses"
+ Cell "IgnoreTestpoints"
+ Cell "InsertBlockDesc"
+ Cell "InsertPolySpaceComments"
+ Cell "SFDataObjDesc"
+ Cell "MATLABFcnDesc"
+ Cell "SimulinkDataObjDesc"
+ Cell "DefineNamingRule"
+ Cell "SignalNamingRule"
+ Cell "ParamNamingRule"
+ Cell "InlinedPrmAccess"
+ Cell "CustomSymbolStr"
+ Cell "CustomSymbolStrGlobalVar"
+ Cell "CustomSymbolStrType"
+ Cell "CustomSymbolStrField"
+ Cell "CustomSymbolStrFcn"
+ Cell "CustomSymbolStrFcnArg"
+ Cell "CustomSymbolStrBlkIO"
+ Cell "CustomSymbolStrTmpVar"
+ Cell "CustomSymbolStrMacro"
+ Cell "ReqsInCode"
+ PropName "DisabledProps"
+ }
+ ForceParamTrailComments off
+ GenerateComments on
+ CommentStyle "Auto"
+ IgnoreCustomStorageClasses on
+ IgnoreTestpoints off
+ IncHierarchyInIds off
+ MaxIdLength 31
+ PreserveName off
+ PreserveNameWithParent off
+ ShowEliminatedStatement off
+ OperatorAnnotations off
+ IncAutoGenComments off
+ SimulinkDataObjDesc off
+ SFDataObjDesc off
+ MATLABFcnDesc off
+ IncDataTypeInIds off
+ MangleLength 1
+ CustomSymbolStrGlobalVar "$R$N$M"
+ CustomSymbolStrType "$N$R$M_T"
+ CustomSymbolStrField "$N$M"
+ CustomSymbolStrFcn "$R$N$M$F"
+ CustomSymbolStrFcnArg "rt$I$N$M"
+ CustomSymbolStrBlkIO "rtb_$N$M"
+ CustomSymbolStrTmpVar "$N$M"
+ CustomSymbolStrMacro "$R$N$M"
+ CustomSymbolStrUtil "$N$C"
+ DefineNamingRule "None"
+ ParamNamingRule "None"
+ SignalNamingRule "None"
+ InsertBlockDesc off
+ InsertPolySpaceComments off
+ SimulinkBlockComments on
+ MATLABSourceComments off
+ EnableCustomComments off
+ InternalIdentifier "Shortened"
+ InlinedPrmAccess "Literals"
+ ReqsInCode off
+ UseSimReservedNames off
+ }
+ Simulink.GRTTargetCC {
+ $BackupClass "Simulink.TargetCC"
+ $ObjectID 17
+ Version "1.14.2"
+ Array {
+ Type "Cell"
+ Dimension 16
+ Cell "GeneratePreprocessorConditionals"
+ Cell "IncludeMdlTerminateFcn"
+ Cell "CombineOutputUpdateFcns"
+ Cell "SuppressErrorStatus"
+ Cell "ERTCustomFileBanners"
+ Cell "GenerateSampleERTMain"
+ Cell "GenerateTestInterfaces"
+ Cell "ModelStepFunctionPrototypeControlCompliant"
+ Cell "CPPClassGenCompliant"
+ Cell "PortableWordSizes"
+ Cell "PurelyIntegerCode"
+ Cell "SupportComplex"
+ Cell "SupportAbsoluteTime"
+ Cell "SupportContinuousTime"
+ Cell "SupportNonInlinedSFcns"
+ Cell "GenerateAllocFcn"
+ PropName "DisabledProps"
+ }
+ TargetFcnLib "ansi_tfl_table_tmw.mat"
+ TargetLibSuffix ""
+ TargetPreCompLibLocation ""
+ GenFloatMathFcnCalls "NOT IN USE"
+ TargetLangStandard "C89/C90 (ANSI)"
+ CodeReplacementLibrary "None"
+ UtilityFuncGeneration "Auto"
+ ERTMultiwordTypeDef "System defined"
+ ERTMultiwordLength 256
+ MultiwordLength 2048
+ GenerateFullHeader on
+ GenerateSampleERTMain off
+ GenerateTestInterfaces off
+ ModelReferenceCompliant on
+ ParMdlRefBuildCompliant on
+ CompOptLevelCompliant on
+ ConcurrentExecutionCompliant on
+ IncludeMdlTerminateFcn on
+ GeneratePreprocessorConditionals "Disable all"
+ CombineOutputUpdateFcns off
+ CombineSignalStateStructs off
+ SuppressErrorStatus off
+ ERTFirstTimeCompliant off
+ IncludeFileDelimiter "Auto"
+ ERTCustomFileBanners off
+ SupportAbsoluteTime on
+ LogVarNameModifier "rt_"
+ MatFileLogging on
+ MultiInstanceERTCode off
+ CodeInterfacePackaging "Nonreusable function"
+ SupportNonFinite on
+ SupportComplex on
+ PurelyIntegerCode off
+ SupportContinuousTime on
+ SupportNonInlinedSFcns on
+ SupportVariableSizeSignals off
+ EnableShiftOperators on
+ ParenthesesLevel "Nominal"
+ MATLABClassNameForMDSCustomization "Simulink.SoftwareTarget.GRTCustomization"
+ ModelStepFunctionPrototypeControlCompliant off
+ CPPClassGenCompliant on
+ AutosarCompliant off
+ GRTInterface on
+ GenerateAllocFcn off
+ UseMalloc off
+ ExtMode off
+ ExtModeStaticAlloc off
+ ExtModeTesting off
+ ExtModeStaticAllocSize 1000000
+ ExtModeTransport 0
+ ExtModeMexFile "ext_comm"
+ ExtModeIntrfLevel "Level1"
+ RTWCAPISignals off
+ RTWCAPIParams off
+ RTWCAPIStates off
+ RTWCAPIRootIO off
+ GenerateASAP2 off
+ MultiInstanceErrorCode "Error"
+ }
+ PropName "Components"
+ }
+ }
+ hdlcoderui.hdlcc {
+ $ObjectID 18
+ Version "1.14.2"
+ Description "HDL Coder custom configuration component"
+ Name "HDL Coder"
+ Array {
+ Type "Cell"
+ Dimension 1
+ Cell ""
+ PropName "HDLConfigFile"
+ }
+ HDLCActiveTab "0"
+ }
+ PropName "Components"
+ }
+ Name "Configuration"
+ CurrentDlgPage "Solver"
+ ConfigPrmDlgPosition [ 243, 69, 1123, 699 ]
+ }
+ PropName "ConfigurationSets"
+ }
+ Simulink.ConfigSet {
+ $PropName "ActiveConfigurationSet"
+ $ObjectID 7
+ }
+ Object {
+ $PropName "DataTransfer"
+ $ObjectID 19
+ $ClassName "Simulink.GlobalDataTransfer"
+ DefaultTransitionBetweenSyncTasks "Ensure deterministic transfer (maximum delay)"
+ DefaultTransitionBetweenAsyncTasks "Ensure data integrity only"
+ DefaultTransitionBetweenContTasks "Ensure deterministic transfer (minimum delay)"
+ DefaultExtrapolationMethodBetweenContTasks "None"
+ AutoInsertRateTranBlk [0]
+ }
+ ExplicitPartitioning off
+ BlockDefaults {
+ ForegroundColor "black"
+ BackgroundColor "white"
+ DropShadow off
+ NamePlacement "normal"
+ FontName "Helvetica"
+ FontSize 10
+ FontWeight "normal"
+ FontAngle "normal"
+ ShowName on
+ BlockRotation 0
+ BlockMirror off
+ }
+ AnnotationDefaults {
+ HorizontalAlignment "center"
+ VerticalAlignment "middle"
+ ForegroundColor "black"
+ BackgroundColor "white"
+ DropShadow off
+ FontName "Helvetica"
+ FontSize 10
+ FontWeight "normal"
+ FontAngle "normal"
+ UseDisplayTextAsClickCallback off
+ }
+ LineDefaults {
+ FontName "Helvetica"
+ FontSize 9
+ FontWeight "normal"
+ FontAngle "normal"
+ }
+ MaskDefaults {
+ SelfModifiable "off"
+ IconFrame "on"
+ IconOpaque "on"
+ RunInitForIconRedraw "off"
+ IconRotate "none"
+ PortRotate "default"
+ IconUnits "autoscale"
+ }
+ MaskParameterDefaults {
+ Evaluate "on"
+ Tunable "on"
+ NeverSave "off"
+ Internal "off"
+ ReadOnly "off"
+ Enabled "on"
+ Visible "on"
+ ToolTip "on"
+ }
+ BlockParameterDefaults {
+ Block {
+ BlockType Demux
+ Outputs "4"
+ DisplayOption "none"
+ BusSelectionMode off
+ }
+ Block {
+ BlockType Derivative
+ CoefficientInTFapproximation "inf"
+ }
+ Block {
+ BlockType Gain
+ Gain "1"
+ Multiplication "Element-wise(K.*u)"
+ ParamMin "[]"
+ ParamMax "[]"
+ ParamDataTypeStr "Inherit: Same as input"
+ OutMin "[]"
+ OutMax "[]"
+ OutDataTypeStr "Inherit: Same as input"
+ LockScale off
+ RndMeth "Floor"
+ SaturateOnIntegerOverflow on
+ SampleTime "-1"
+ }
+ Block {
+ BlockType Inport
+ Port "1"
+ OutputFunctionCall off
+ OutMin "[]"
+ OutMax "[]"
+ OutDataTypeStr "Inherit: auto"
+ LockScale off
+ BusOutputAsStruct off
+ PortDimensions "-1"
+ VarSizeSig "Inherit"
+ SampleTime "-1"
+ SignalType "auto"
+ SamplingMode "auto"
+ LatchByDelayingOutsideSignal off
+ LatchInputForFeedbackSignals off
+ Interpolate on
+ }
+ Block {
+ BlockType Outport
+ Port "1"
+ OutMin "[]"
+ OutMax "[]"
+ OutDataTypeStr "Inherit: auto"
+ LockScale off
+ BusOutputAsStruct off
+ PortDimensions "-1"
+ VarSizeSig "Inherit"
+ SampleTime "-1"
+ SignalType "auto"
+ SamplingMode "auto"
+ SourceOfInitialOutputValue "Dialog"
+ OutputWhenDisabled "held"
+ InitialOutput "[]"
+ }
+ Block {
+ BlockType S-Function
+ FunctionName "system"
+ SFunctionModules "''"
+ PortCounts "[]"
+ SFunctionDeploymentMode off
+ }
+ Block {
+ BlockType Scope
+ ModelBased off
+ TickLabels "OneTimeTick"
+ ZoomMode "on"
+ Grid "on"
+ TimeRange "auto"
+ YMin "-5"
+ YMax "5"
+ SaveToWorkspace off
+ SaveName "ScopeData"
+ DataFormat "Array"
+ LimitDataPoints on
+ MaxDataPoints "5000"
+ Decimation "1"
+ SampleInput off
+ SampleTime "-1"
+ }
+ Block {
+ BlockType SubSystem
+ ShowPortLabels "FromPortIcon"
+ Permissions "ReadWrite"
+ PermitHierarchicalResolution "All"
+ TreatAsAtomicUnit off
+ MinAlgLoopOccurrences off
+ PropExecContextOutsideSubsystem off
+ CheckFcnCallInpInsideContextMsg off
+ SystemSampleTime "-1"
+ RTWSystemCode "Auto"
+ RTWFcnNameOpts "Auto"
+ RTWFileNameOpts "Auto"
+ FunctionInterfaceSpec "void_void"
+ FunctionWithSeparateData off
+ RTWMemSecFuncInitTerm "Inherit from model"
+ RTWMemSecFuncExecute "Inherit from model"
+ RTWMemSecDataConstants "Inherit from model"
+ RTWMemSecDataInternal "Inherit from model"
+ RTWMemSecDataParameters "Inherit from model"
+ SimViewingDevice off
+ DataTypeOverride "UseLocalSettings"
+ DataTypeOverrideAppliesTo "AllNumericTypes"
+ MinMaxOverflowLogging "UseLocalSettings"
+ Opaque off
+ MaskHideContents off
+ SFBlockType "NONE"
+ Variant off
+ GeneratePreprocessorConditionals off
+ ContentPreviewEnabled off
+ }
+ Block {
+ BlockType Terminator
+ }
+ }
+ System {
+ Name "Cessna_6DOF"
+ Location [-8, -8, 1374, 746]
+ Open on
+ ModelBrowserVisibility off
+ ModelBrowserWidth 200
+ ScreenColor "white"
+ PaperOrientation "landscape"
+ PaperPositionMode "auto"
+ PaperType "A4"
+ PaperUnits "centimeters"
+ TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000]
+ TiledPageScale 1
+ ShowPageBoundaries off
+ ZoomFactor "100"
+ ReportName "simulink-default.rpt"
+ SIDHighWatermark "23"
+ Block {
+ BlockType Reference
+ Name "6DoF (Euler Angles)"
+ SID "1"
+ Ports [2, 8]
+ Position [235, 187, 435, 388]
+ ZOrder -1
+ LibraryVersion "1.44"
+ SourceBlock "aerolibobsolete/6DoF (Euler Angles)"
+ SourceType "6DoF EoM (Body Axis)"
+ ContentPreviewEnabled off
+ units "Metric (MKS)"
+ mtype "Fixed"
+ rep "Euler Angles"
+ xme_0 "[x y z]"
+ Vm_0 "[u v w]"
+ eul_0 "[phi theta psi]"
+ pm_0 "[p q r]"
+ mass_0 "m"
+ mass_e "0.5"
+ mass_f "2.0"
+ inertia "diag([I_xx I_yy I_zz])"
+ inertia_e "eye(3)"
+ inertia_f "2*eye(3)"
+ k_quat "1.0"
+ }
+ Block {
+ BlockType Demux
+ Name "Demux"
+ SID "7"
+ Ports [1, 3]
+ Position [655, 321, 660, 359]
+ ZOrder -2
+ ShowName off
+ Outputs "3"
+ DisplayOption "bar"
+ }
+ Block {
+ BlockType Demux
+ Name "Demux1"
+ SID "12"
+ Ports [1, 3]
+ Position [485, 126, 490, 164]
+ ZOrder -3
+ BlockMirror on
+ ShowName off
+ Outputs "3"
+ DisplayOption "bar"
+ }
+ Block {
+ BlockType Demux
+ Name "Demux2"
+ SID "15"
+ Ports [1, 3]
+ Position [485, 71, 490, 109]
+ ZOrder -4
+ BlockMirror on
+ ShowName off
+ Outputs "3"
+ DisplayOption "bar"
+ }
+ Block {
+ BlockType Derivative
+ Name "Derivative"
+ SID "6"
+ Position [615, 235, 645, 265]
+ ZOrder -5
+ }
+ Block {
+ BlockType Gain
+ Name "Gain"
+ SID "17"
+ Position [385, 65, 415, 95]
+ ZOrder -6
+ BlockMirror on
+ Gain "180/pi"
+ ParamDataTypeStr "Inherit: Inherit via internal rule"
+ OutDataTypeStr "Inherit: Inherit via internal rule"
+ SaturateOnIntegerOverflow off
+ }
+ Block {
+ BlockType Gain
+ Name "Gain1"
+ SID "18"
+ Position [430, 75, 460, 105]
+ ZOrder -7
+ BlockMirror on
+ Gain "180/pi"
+ ParamDataTypeStr "Inherit: Inherit via internal rule"
+ OutDataTypeStr "Inherit: Inherit via internal rule"
+ SaturateOnIntegerOverflow off
+ }
+ Block {
+ BlockType Gain
+ Name "Gain2"
+ SID "19"
+ Position [385, 85, 415, 115]
+ ZOrder -8
+ BlockMirror on
+ Gain "180/pi"
+ ParamDataTypeStr "Inherit: Inherit via internal rule"
+ OutDataTypeStr "Inherit: Inherit via internal rule"
+ SaturateOnIntegerOverflow off
+ }
+ Block {
+ BlockType Gain
+ Name "Gain3"
+ SID "20"
+ Position [615, 125, 645, 155]
+ ZOrder -9
+ Gain "180/pi"
+ ParamDataTypeStr "Inherit: Inherit via internal rule"
+ OutDataTypeStr "Inherit: Inherit via internal rule"
+ SaturateOnIntegerOverflow off
+ }
+ Block {
+ BlockType Gain
+ Name "Gain4"
+ SID "21"
+ Position [700, 135, 730, 165]
+ ZOrder -10
+ Gain "180/pi"
+ ParamDataTypeStr "Inherit: Inherit via internal rule"
+ OutDataTypeStr "Inherit: Inherit via internal rule"
+ SaturateOnIntegerOverflow off
+ }
+ Block {
+ BlockType Reference
+ Name "Incidence, Sideslip,\n& Airspeed"
+ SID "3"
+ Ports [1, 3]
+ Position [525, 275, 585, 325]
+ ZOrder -11
+ LibraryVersion "1.133"
+ SourceBlock "aerolibasang/Incidence, Sideslip,\n& Airspeed"
+ SourceType "Incidence,Sideslip,&Airspeed"
+ ContentPreviewEnabled off
+ }
+ Block {
+ BlockType SubSystem
+ Name "MATLAB Function1"
+ SID "5"
+ Ports [8, 2]
+ Position [715, 195, 830, 390]
+ ZOrder -12
+ LibraryVersion "1.32"
+ ErrorFcn "Stateflow.Translate.translate"
+ PermitHierarchicalResolution "ExplicitOnly"
+ TreatAsAtomicUnit on
+ RequestExecContextInheritance off
+ SFBlockType "MATLAB Function"
+ System {
+ Name "MATLAB Function1"
+ Location [227, 345, 838, 789]
+ Open off
+ ModelBrowserVisibility off
+ ModelBrowserWidth 200
+ ScreenColor "white"
+ PaperOrientation "landscape"
+ PaperPositionMode "auto"
+ PaperType "A4"
+ PaperUnits "centimeters"
+ TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000]
+ TiledPageScale 1
+ ShowPageBoundaries off
+ ZoomFactor "100"
+ SIDHighWatermark "29"
+ Block {
+ BlockType Inport
+ Name "V"
+ SID "5::1"
+ Position [20, 101, 40, 119]
+ ZOrder -1
+ IconDisplay "Port number"
+ }
+ Block {
+ BlockType Inport
+ Name "alpha"
+ SID "5::18"
+ Position [20, 136, 40, 154]
+ ZOrder -2
+ Port "2"
+ IconDisplay "Port number"
+ }
+ Block {
+ BlockType Inport
+ Name "alpha_dot"
+ SID "5::25"
+ Position [20, 171, 40, 189]
+ ZOrder -3
+ Port "3"
+ IconDisplay "Port number"
+ }
+ Block {
+ BlockType Inport
+ Name "beta"
+ SID "5::19"
+ Position [20, 206, 40, 224]
+ ZOrder -4
+ Port "4"
+ IconDisplay "Port number"
+ }
+ Block {
+ BlockType Inport
+ Name "p"
+ SID "5::20"
+ Position [20, 246, 40, 264]
+ ZOrder -5
+ Port "5"
+ IconDisplay "Port number"
+ }
+ Block {
+ BlockType Inport
+ Name "q"
+ SID "5::21"
+ Position [20, 281, 40, 299]
+ ZOrder -6
+ Port "6"
+ IconDisplay "Port number"
+ }
+ Block {
+ BlockType Inport
+ Name "r"
+ SID "5::22"
+ Position [20, 316, 40, 334]
+ ZOrder -7
+ Port "7"
+ IconDisplay "Port number"
+ }
+ Block {
+ BlockType Inport
+ Name "theta"
+ SID "5::23"
+ Position [20, 351, 40, 369]
+ ZOrder -8
+ Port "8"
+ IconDisplay "Port number"
+ }
+ Block {
+ BlockType Demux
+ Name " Demux "
+ SID "5::27"
+ Ports [1, 1]
+ Position [270, 230, 320, 270]
+ ZOrder 2
+ Outputs "1"
+ }
+ Block {
+ BlockType S-Function
+ Name " SFunction "
+ SID "5::26"
+ Tag "Stateflow S-Function Cessna_6DOF 1"
+ Ports [8, 3]
+ Position [180, 100, 230, 280]
+ ZOrder 1
+ FunctionName "sf_sfun"
+ PortCounts "[8 3]"
+ EnableBusSupport on
+ Port {
+ PortNumber 2
+ Name "F"
+ RTWStorageClass "Auto"
+ DataLoggingNameMode "SignalName"
+ }
+ Port {
+ PortNumber 3
+ Name "M"
+ RTWStorageClass "Auto"
+ DataLoggingNameMode "SignalName"
+ }
+ }
+ Block {
+ BlockType Terminator
+ Name " Terminator "
+ SID "5::28"
+ Position [460, 241, 480, 259]
+ ZOrder 3
+ }
+ Block {
+ BlockType Outport
+ Name "F"
+ SID "5::5"
+ Position [460, 101, 480, 119]
+ ZOrder -12
+ IconDisplay "Port number"
+ }
+ Block {
+ BlockType Outport
+ Name "M"
+ SID "5::24"
+ Position [460, 136, 480, 154]
+ ZOrder -13
+ Port "2"
+ IconDisplay "Port number"
+ }
+ Line {
+ ZOrder 38
+ SrcBlock "V"
+ SrcPort 1
+ DstBlock " SFunction "
+ DstPort 1
+ }
+ Line {
+ ZOrder 39
+ SrcBlock "alpha"
+ SrcPort 1
+ DstBlock " SFunction "
+ DstPort 2
+ }
+ Line {
+ ZOrder 40
+ SrcBlock "alpha_dot"
+ SrcPort 1
+ DstBlock " SFunction "
+ DstPort 3
+ }
+ Line {
+ ZOrder 41
+ SrcBlock "beta"
+ SrcPort 1
+ DstBlock " SFunction "
+ DstPort 4
+ }
+ Line {
+ ZOrder 42
+ SrcBlock "p"
+ SrcPort 1
+ DstBlock " SFunction "
+ DstPort 5
+ }
+ Line {
+ ZOrder 43
+ SrcBlock "q"
+ SrcPort 1
+ DstBlock " SFunction "
+ DstPort 6
+ }
+ Line {
+ ZOrder 44
+ SrcBlock "r"
+ SrcPort 1
+ DstBlock " SFunction "
+ DstPort 7
+ }
+ Line {
+ ZOrder 45
+ SrcBlock "theta"
+ SrcPort 1
+ DstBlock " SFunction "
+ DstPort 8
+ }
+ Line {
+ Name "F"
+ ZOrder 46
+ Labels [0, 0]
+ SrcBlock " SFunction "
+ SrcPort 2
+ DstBlock "F"
+ DstPort 1
+ }
+ Line {
+ Name "M"
+ ZOrder 47
+ Labels [0, 0]
+ SrcBlock " SFunction "
+ SrcPort 3
+ DstBlock "M"
+ DstPort 1
+ }
+ Line {
+ ZOrder 48
+ SrcBlock " Demux "
+ SrcPort 1
+ DstBlock " Terminator "
+ DstPort 1
+ }
+ Line {
+ ZOrder 49
+ SrcBlock " SFunction "
+ SrcPort 1
+ DstBlock " Demux "
+ DstPort 1
+ }
+ }
+ }
+ Block {
+ BlockType Scope
+ Name "Scope"
+ SID "13"
+ Ports [3]
+ Position [765, 124, 795, 156]
+ ZOrder -13
+ Floating off
+ Location [1, 48, 1367, 737]
+ Open off
+ NumInputPorts "3"
+ List {
+ ListType AxesTitles
+ axes1 "%<SignalLabel>"
+ axes2 "%<SignalLabel>"
+ axes3 "%<SignalLabel>"
+ }
+ ShowLegends off
+ YMin "-5~-5~-5"
+ YMax "5~5~5"
+ DataFormat "StructureWithTime"
+ SampleTime "0"
+ }
+ Block {
+ BlockType Scope
+ Name "Scope1"
+ SID "14"
+ Ports [3]
+ Position [410, 129, 440, 161]
+ ZOrder -14
+ BlockMirror on
+ Floating off
+ Location [1, 48, 1025, 737]
+ Open off
+ NumInputPorts "3"
+ List {
+ ListType AxesTitles
+ axes1 "%<SignalLabel>"
+ axes2 "%<SignalLabel>"
+ axes3 "%<SignalLabel>"
+ }
+ List {
+ ListType ScopeGraphics
+ FigureColor "[0.5 0.5 0.5]"
+ AxesColor "[0 0 0]"
+ AxesTickColor "[1 1 1]"
+ LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]"
+ LineStyles "-|-|-|-|-|-"
+ LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]"
+ MarkerStyles "none|none|none|none|none|none"
+ }
+ ShowLegends off
+ YMin "-5~-5~-5"
+ YMax "5~5~5"
+ SaveName "ScopeData1"
+ DataFormat "StructureWithTime"
+ SampleTime "0"
+ }
+ Block {
+ BlockType Scope
+ Name "Scope2"
+ SID "16"
+ Ports [3]
+ Position [330, 74, 360, 106]
+ ZOrder -15
+ BlockMirror on
+ Floating off
+ Location [1, 48, 1367, 737]
+ Open off
+ NumInputPorts "3"
+ List {
+ ListType AxesTitles
+ axes1 "%<SignalLabel>"
+ axes2 "%<SignalLabel>"
+ axes3 "%<SignalLabel>"
+ }
+ ShowLegends off
+ YMin "-5~-5~-5"
+ YMax "5~5~5"
+ SaveName "ScopeData2"
+ DataFormat "StructureWithTime"
+ SampleTime "0"
+ }
+ Block {
+ BlockType Scope
+ Name "Scope3"
+ SID "22"
+ Ports [3]
+ Position [755, 424, 785, 456]
+ ZOrder -16
+ Floating off
+ Location [1, 48, 1367, 737]
+ Open off
+ NumInputPorts "3"
+ List {
+ ListType AxesTitles
+ axes1 "%<SignalLabel>"
+ axes2 "%<SignalLabel>"
+ axes3 "%<SignalLabel>"
+ }
+ ShowLegends off
+ YMin "-5~-5~-5"
+ YMax "5~5~5"
+ SaveName "ScopeData3"
+ DataFormat "StructureWithTime"
+ SampleTime "0"
+ }
+ Block {
+ BlockType Terminator
+ Name "Terminator"
+ SID "8"
+ Position [475, 375, 495, 395]
+ ZOrder -17
+ }
+ Block {
+ BlockType Terminator
+ Name "Terminator1"
+ SID "9"
+ Position [550, 375, 570, 395]
+ ZOrder -18
+ }
+ Block {
+ BlockType Terminator
+ Name "Terminator2"
+ SID "10"
+ Position [460, 190, 480, 210]
+ ZOrder -19
+ }
+ Block {
+ BlockType Terminator
+ Name "Terminator3"
+ SID "11"
+ Position [460, 265, 480, 285]
+ ZOrder -20
+ }
+ Line {
+ ZOrder 1
+ SrcBlock "6DoF (Euler Angles)"
+ SrcPort 5
+ DstBlock "Incidence, Sideslip,\n& Airspeed"
+ DstPort 1
+ }
+ Line {
+ ZOrder 2
+ SrcBlock "Incidence, Sideslip,\n& Airspeed"
+ SrcPort 3
+ Points [0, -115]
+ Branch {
+ ZOrder 3
+ Points [110, 0]
+ DstBlock "MATLAB Function1"
+ DstPort 1
+ }
+ Branch {
+ ZOrder 4
+ Points [0, -70]
+ DstBlock "Scope"
+ DstPort 1
+ }
+ }
+ Line {
+ ZOrder 5
+ SrcBlock "Incidence, Sideslip,\n& Airspeed"
+ SrcPort 1
+ Points [10, 0; 0, -35]
+ Branch {
+ ZOrder 6
+ DstBlock "Derivative"
+ DstPort 1
+ }
+ Branch {
+ ZOrder 7
+ Points [0, -25]
+ Branch {
+ ZOrder 8
+ Points [100, 0]
+ DstBlock "MATLAB Function1"
+ DstPort 2
+ }
+ Branch {
+ ZOrder 9
+ DstBlock "Gain3"
+ DstPort 1
+ }
+ }
+ }
+ Line {
+ ZOrder 10
+ SrcBlock "Incidence, Sideslip,\n& Airspeed"
+ SrcPort 2
+ Points [75, 0; 0, -25]
+ Branch {
+ ZOrder 11
+ Points [35, 0]
+ DstBlock "MATLAB Function1"
+ DstPort 4
+ }
+ Branch {
+ ZOrder 12
+ Points [0, -125]
+ DstBlock "Gain4"
+ DstPort 1
+ }
+ }
+ Line {
+ ZOrder 13
+ SrcBlock "Derivative"
+ SrcPort 1
+ Points [50, 0]
+ DstBlock "MATLAB Function1"
+ DstPort 3
+ }
+ Line {
+ ZOrder 14
+ SrcBlock "Demux"
+ SrcPort 1
+ Points [25, 0]
+ Branch {
+ ZOrder 15
+ Points [0, -25]
+ DstBlock "MATLAB Function1"
+ DstPort 5
+ }
+ Branch {
+ ZOrder 16
+ Points [0, 100]
+ DstBlock "Scope3"
+ DstPort 1
+ }
+ }
+ Line {
+ ZOrder 17
+ SrcBlock "Demux"
+ SrcPort 2
+ Points [35, 0]
+ Branch {
+ ZOrder 18
+ DstBlock "MATLAB Function1"
+ DstPort 6
+ }
+ Branch {
+ ZOrder 19
+ Points [0, 100]
+ DstBlock "Scope3"
+ DstPort 2
+ }
+ }
+ Line {
+ ZOrder 20
+ SrcBlock "Demux"
+ SrcPort 3
+ Points [15, 0]
+ Branch {
+ ZOrder 21
+ Points [20, 0]
+ DstBlock "MATLAB Function1"
+ DstPort 7
+ }
+ Branch {
+ ZOrder 22
+ Points [0, 100]
+ DstBlock "Scope3"
+ DstPort 3
+ }
+ }
+ Line {
+ ZOrder 23
+ SrcBlock "6DoF (Euler Angles)"
+ SrcPort 6
+ Points [25, 0; 0, 35; 175, 0]
+ DstBlock "Demux"
+ DstPort 1
+ }
+ Line {
+ ZOrder 24
+ SrcBlock "MATLAB Function1"
+ SrcPort 1
+ Points [9, 0; 0, -70; -624, 0]
+ DstBlock "6DoF (Euler Angles)"
+ DstPort 1
+ }
+ Line {
+ ZOrder 25
+ SrcBlock "MATLAB Function1"
+ SrcPort 2
+ Points [9, 0; 0, 70; -624, 0]
+ DstBlock "6DoF (Euler Angles)"
+ DstPort 2
+ }
+ Line {
+ ZOrder 26
+ SrcBlock "6DoF (Euler Angles)"
+ SrcPort 7
+ Points [20, 0; 0, 20; 75, 0]
+ DstBlock "Terminator1"
+ DstPort 1
+ }
+ Line {
+ ZOrder 27
+ SrcBlock "6DoF (Euler Angles)"
+ SrcPort 8
+ Points [10, 0; 0, 10]
+ DstBlock "Terminator"
+ DstPort 1
+ }
+ Line {
+ ZOrder 28
+ SrcBlock "6DoF (Euler Angles)"
+ SrcPort 1
+ DstBlock "Terminator2"
+ DstPort 1
+ }
+ Line {
+ ZOrder 29
+ SrcBlock "6DoF (Euler Angles)"
+ SrcPort 4
+ DstBlock "Terminator3"
+ DstPort 1
+ }
+ Line {
+ ZOrder 30
+ SrcBlock "Demux1"
+ SrcPort 1
+ DstBlock "Scope1"
+ DstPort 1
+ }
+ Line {
+ ZOrder 31
+ SrcBlock "Demux1"
+ SrcPort 2
+ DstBlock "Scope1"
+ DstPort 2
+ }
+ Line {
+ ZOrder 32
+ SrcBlock "Demux1"
+ SrcPort 3
+ DstBlock "Scope1"
+ DstPort 3
+ }
+ Line {
+ ZOrder 33
+ SrcBlock "6DoF (Euler Angles)"
+ SrcPort 2
+ Points [0, 5; 65, 0]
+ DstBlock "Demux1"
+ DstPort 1
+ }
+ Line {
+ ZOrder 34
+ SrcBlock "Demux2"
+ SrcPort 1
+ DstBlock "Gain"
+ DstPort 1
+ }
+ Line {
+ ZOrder 35
+ SrcBlock "Demux2"
+ SrcPort 2
+ Points [-5, 0]
+ Branch {
+ ZOrder 36
+ Points [0, -30; 40, 0; 0, 305; 185, 0]
+ DstBlock "MATLAB Function1"
+ DstPort 8
+ }
+ Branch {
+ ZOrder 37
+ DstBlock "Gain1"
+ DstPort 1
+ }
+ }
+ Line {
+ ZOrder 38
+ SrcBlock "Demux2"
+ SrcPort 3
+ DstBlock "Gain2"
+ DstPort 1
+ }
+ Line {
+ ZOrder 39
+ SrcBlock "6DoF (Euler Angles)"
+ SrcPort 3
+ Points [70, 0; 0, -160]
+ DstBlock "Demux2"
+ DstPort 1
+ }
+ Line {
+ ZOrder 40
+ SrcBlock "Gain"
+ SrcPort 1
+ DstBlock "Scope2"
+ DstPort 1
+ }
+ Line {
+ ZOrder 41
+ SrcBlock "Gain1"
+ SrcPort 1
+ DstBlock "Scope2"
+ DstPort 2
+ }
+ Line {
+ ZOrder 42
+ SrcBlock "Gain2"
+ SrcPort 1
+ DstBlock "Scope2"
+ DstPort 3
+ }
+ Line {
+ ZOrder 43
+ SrcBlock "Gain3"
+ SrcPort 1
+ DstBlock "Scope"
+ DstPort 2
+ }
+ Line {
+ ZOrder 44
+ SrcBlock "Gain4"
+ SrcPort 1
+ DstBlock "Scope"
+ DstPort 3
+ }
+ }
+}
+#Finite State Machines
+#
+# Stateflow Version 8.1 (R2014a) dated Feb 8 2014, 02:29:12
+#
+#
+Stateflow {
+ machine {
+ id 1
+ name "Cessna_6DOF"
+ created "20-Dec-2014 14:27:29"
+ isLibrary 0
+ firstTarget 17
+ sfVersion 76014001.002
+ }
+ chart {
+ id 2
+ name "MATLAB Function1"
+ windowPosition [315.596 52 213 385]
+ viewLimits [0 156.75 0 153.75]
+ screen [1 1 1024 768 1.333333333333333]
+ treeNode [0 3 0 0]
+ firstTransition 15
+ firstJunction 14
+ viewObj 2
+ visible 1
+ machine 1
+ subviewS {
+ }
+ ssIdHighWaterMark 14
+ decomposition CLUSTER_CHART
+ type EML_CHART
+ firstData 4
+ chartFileNumber 1
+ disableImplicitCasting 1
+ eml {
+ name "FM_Cessna"
+ }
+ }
+ state {
+ id 3
+ labelString "eML_blk_kernel()"
+ position [18 64.5 118 66]
+ fontSize 12
+ chart 2
+ treeNode [2 0 0 0]
+ superState SUBCHART
+ subviewer 2
+ ssIdNumber 1
+ type FUNC_STATE
+ decomposition CLUSTER_STATE
+ eml {
+ isEML 1
+ script "function [F, M] = FM_Cessna(V, alpha, alpha_dot, beta, p, q, r, theta)\n\ng = 9.8;\nrho = 1.225;\n"
+ "\nm = 1043.26;\nC_bar = 1.493;\nb = 10.911;\nS_ref = 16.1651;\n\nC_L_0 = 0.25;\nC_L_alpha = 4.47;\nC_L_q = 1.7;\n"
+ "C_L_delta_e = 0.3476;\n\n% Ignore all other C_D derivatives excluding C_D_0\n% Use C_D = C_D_0 + k*C_L^2\n\nC_D_"
+ "0 = 0.036;\nk = 0.3;\n\nC_Y_beta = -0.31;\nC_Y_p = -0.037;\nC_Y_r = 0.21;\nC_Y_delta_a = 0;\n\nC_l_beta = -0.089"
+ ";\nC_l_p = -0.47;\nC_l_r = 0.096;\nC_l_delta_a = -0.09;\nC_l_delta_r = 0.0147;\n\nC_M_0 = -0.02;\nC_M_alpha = -1"
+ ".8;\nC_M_alpha_dot = -12.4;\nC_M_delta_e = -1.28;\n\nC_N_beta = 0.065;\nC_N_p = -0.03;\nC_N_r = -0.99;\nC_N_delt"
+ "a_a = -0.0053;\nC_N_delta_r = -0.0657;\n\n% Use delta_e and thrust value from output of fsolve(@Trim_function)\n"
+ "\ndelta_e = 0.0338;\ndelta_a = 0;\ndelta_r = 0;\nthrust = 4219.6;\n\nC_L = C_L_0 + C_L_alpha*alpha + C_L_q*(q*C_"
+ "bar/(2*V)) + C_L_delta_e*delta_e;\nC_D = C_D_0 + k*C_L^2;\nC_Y = C_Y_beta*beta + C_Y_p*(p*b/(2*V)) + C_Y_r*(r*b/"
+ "(2*V)) + C_Y_delta_a*delta_a;\n\nC_l = C_l_beta*beta + C_l_p*(p*b/(2*V)) + C_l_r*(r*b/(2*V)) + C_l_delta_a*delta"
+ "_a + C_l_delta_r*delta_r;\nC_M = C_M_0 + C_M_alpha*alpha + C_M_alpha_dot*(alpha_dot*C_bar/(2*V)) + C_M_delta_e*d"
+ "elta_e;\nC_N = C_N_beta*beta + C_N_p*(p*b/(2*V)) + C_N_r*(r*b/(2*V)) + C_N_delta_a*delta_a + C_N_delta_r*delta_r"
+ ";\n\nC_X = -C_D*cos(alpha) + C_L*sin(alpha);\nC_Z = -C_D*sin(alpha) - C_L*cos(alpha);\n\nF = zeros(3,1);\nM = ze"
+ "ros(3,1);\n\nq_bar = 0.5*rho*V*V;\n\nF(1,1) = q_bar*S_ref*C_X - m*g*sin(theta) + thrust;\nF(2,1) = q_bar*S_ref*C"
+ "_Y;\nF(3,1) = q_bar*S_ref*C_Z + m*g*cos(theta);\n\nM(1,1) = q_bar*b*S_ref*C_l;\nM(2,1) = q_bar*C_bar*S_ref*C_M;\n"
+ "M(3,1) = q_bar*b*S_ref*C_N;"
+ editorLayout "100 M4x1[10 5 700 500]"
+ }
+ }
+ data {
+ id 4
+ ssIdNumber 4
+ name "V"
+ linkNode [2 0 5]
+ scope INPUT_DATA
+ machine 1
+ props {
+ array {
+ size "-1"
+ }
+ type {
+ method SF_INHERITED_TYPE
+ primitive SF_DOUBLE_TYPE
+ }
+ complexity SF_COMPLEX_INHERITED
+ }
+ dataType "Inherit: Same as Simulink"
+ }
+ data {
+ id 5
+ ssIdNumber 5
+ name "F"
+ linkNode [2 4 6]
+ scope OUTPUT_DATA
+ machine 1
+ props {
+ array {
+ size "-1"
+ }
+ type {
+ method SF_INHERITED_TYPE
+ primitive SF_DOUBLE_TYPE
+ }
+ complexity SF_COMPLEX_INHERITED
+ frame SF_FRAME_NO
+ }
+ dataType "Inherit: Same as Simulink"
+ }
+ data {
+ id 6
+ ssIdNumber 6
+ name "alpha"
+ linkNode [2 5 7]
+ scope INPUT_DATA
+ machine 1
+ props {
+ array {
+ size "-1"
+ }
+ type {
+ method SF_INHERITED_TYPE
+ primitive SF_DOUBLE_TYPE
+ isSigned 1
+ wordLength "16"
+ }
+ complexity SF_COMPLEX_INHERITED
+ frame SF_FRAME_INHERITED
+ }
+ dataType "Inherit: Same as Simulink"
+ }
+ data {
+ id 7
+ ssIdNumber 13
+ name "alpha_dot"
+ linkNode [2 6 8]
+ scope INPUT_DATA
+ machine 1
+ props {
+ array {
+ size "-1"
+ }
+ type {
+ method SF_INHERITED_TYPE
+ primitive SF_DOUBLE_TYPE
+ isSigned 1
+ wordLength "16"
+ }
+ complexity SF_COMPLEX_INHERITED
+ frame SF_FRAME_INHERITED
+ }
+ dataType "Inherit: Same as Simulink"
+ }
+ data {
+ id 8
+ ssIdNumber 7
+ name "beta"
+ linkNode [2 7 9]
+ scope INPUT_DATA
+ machine 1
+ props {
+ array {
+ size "-1"
+ }
+ type {
+ method SF_INHERITED_TYPE
+ primitive SF_DOUBLE_TYPE
+ isSigned 1
+ wordLength "16"
+ }
+ complexity SF_COMPLEX_INHERITED
+ frame SF_FRAME_INHERITED
+ }
+ dataType "Inherit: Same as Simulink"
+ }
+ data {
+ id 9
+ ssIdNumber 8
+ name "p"
+ linkNode [2 8 10]
+ scope INPUT_DATA
+ machine 1
+ props {
+ array {
+ size "-1"
+ }
+ type {
+ method SF_INHERITED_TYPE
+ primitive SF_DOUBLE_TYPE
+ isSigned 1
+ wordLength "16"
+ }
+ complexity SF_COMPLEX_INHERITED
+ frame SF_FRAME_INHERITED
+ }
+ dataType "Inherit: Same as Simulink"
+ }
+ data {
+ id 10
+ ssIdNumber 9
+ name "q"
+ linkNode [2 9 11]
+ scope INPUT_DATA
+ machine 1
+ props {
+ array {
+ size "-1"
+ }
+ type {
+ method SF_INHERITED_TYPE
+ primitive SF_DOUBLE_TYPE
+ isSigned 1
+ wordLength "16"
+ }
+ complexity SF_COMPLEX_INHERITED
+ frame SF_FRAME_INHERITED
+ }
+ dataType "Inherit: Same as Simulink"
+ }
+ data {
+ id 11
+ ssIdNumber 10
+ name "r"
+ linkNode [2 10 12]
+ scope INPUT_DATA
+ machine 1
+ props {
+ array {
+ size "-1"
+ }
+ type {
+ method SF_INHERITED_TYPE
+ primitive SF_DOUBLE_TYPE
+ isSigned 1
+ wordLength "16"
+ }
+ complexity SF_COMPLEX_INHERITED
+ frame SF_FRAME_INHERITED
+ }
+ dataType "Inherit: Same as Simulink"
+ }
+ data {
+ id 12
+ ssIdNumber 11
+ name "theta"
+ linkNode [2 11 13]
+ scope INPUT_DATA
+ machine 1
+ props {
+ array {
+ size "-1"
+ }
+ type {
+ method SF_INHERITED_TYPE
+ primitive SF_DOUBLE_TYPE
+ isSigned 1
+ wordLength "16"
+ }
+ complexity SF_COMPLEX_INHERITED
+ frame SF_FRAME_INHERITED
+ }
+ dataType "Inherit: Same as Simulink"
+ }
+ data {
+ id 13
+ ssIdNumber 12
+ name "M"
+ linkNode [2 12 0]
+ scope OUTPUT_DATA
+ machine 1
+ props {
+ array {
+ size "-1"
+ }
+ type {
+ method SF_INHERITED_TYPE
+ primitive SF_DOUBLE_TYPE
+ isSigned 1
+ wordLength "16"
+ }
+ complexity SF_COMPLEX_INHERITED
+ frame SF_FRAME_NO
+ }
+ dataType "Inherit: Same as Simulink"
+ }
+ junction {
+ id 14
+ position [23.5747 49.5747 7]
+ chart 2
+ linkNode [2 0 0]
+ subviewer 2
+ ssIdNumber 3
+ type CONNECTIVE_JUNCTION
+ }
+ transition {
+ id 15
+ labelString "{eML_blk_kernel();}"
+ labelPosition [36.125 25.875 102.544 14.964]
+ fontSize 12
+ src {
+ intersection [0 0 1 0 23.5747 14.625 0 0]
+ }
+ dst {
+ id 14
+ intersection [1 0 -1 0 23.5747 42.5747 0 0]
+ }
+ midPoint [23.5747 24.9468]
+ chart 2
+ linkNode [2 0 0]
+ dataLimits [21.175 25.975 14.625 42.575]
+ subviewer 2
+ drawStyle SMART
+ slide {
+ sticky BOTH_STICK
+ }
+ executionOrder 1
+ ssIdNumber 2
+ }
+ instance {
+ id 16
+ name "MATLAB Function1"
+ machine 1
+ chart 2
+ }
+ target {
+ id 17
+ name "sfun"
+ description "Default Simulink S-Function Target."
+ machine 1
+ linkNode [1 0 0]
+ }
+}
|