Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / matlab / revo / altitude_plant.mdl
blob669e2dd26b19efe81554b4c6fb66548f6cbd396a
1 Model {
2   Name                    "altitude_plant"
3   Version                 7.8
4   MdlSubVersion           0
5   GraphicalInterface {
6     NumRootInports          1
7     Inport {
8       BusObject               ""
9       Name                    "Altitude Setpoint"
10     }
11     NumRootOutports         3
12     Outport {
13       BusObject               ""
14       BusOutputAsStruct       "off"
15       Name                    "Altitude"
16     }
17     Outport {
18       BusObject               ""
19       BusOutputAsStruct       "off"
20       Name                    "Measured Altitude"
21     }
22     Outport {
23       BusObject               ""
24       BusOutputAsStruct       "off"
25       Name                    "Measured Accel"
26     }
27     ParameterArgumentNames  ""
28     ComputedModelVersion    "1.11"
29     NumModelReferences      0
30     NumTestPointedSignals   0
31   }
32   SavedCharacterEncoding  "ISO-8859-1"
33   SaveDefaultBlockParams  on
34   ScopeRefreshTime        0.035000
35   OverrideScopeRefreshTime on
36   DisableAllScopes        off
37   DataTypeOverride        "UseLocalSettings"
38   DataTypeOverrideAppliesTo "AllNumericTypes"
39   MinMaxOverflowLogging   "UseLocalSettings"
40   MinMaxOverflowArchiveMode "Overwrite"
41   FPTRunName              "Run 1"
42   MaxMDLFileLineLength    120
43   Created                 "Sun Jan 01 10:58:12 2012"
44   Creator                 "jcotton81"
45   UpdateHistory           "UpdateHistoryNever"
46   ModifiedByFormat        "%<Auto>"
47   LastModifiedBy          "jcotton81"
48   ModifiedDateFormat      "%<Auto>"
49   LastModifiedDate        "Mon Jan 02 14:46:15 2012"
50   RTWModifiedTimeStamp    247320281
51   ModelVersionFormat      "1.%<AutoIncrement:11>"
52   ConfigurationManager    "None"
53   SampleTimeColors        off
54   SampleTimeAnnotations   off
55   LibraryLinkDisplay      "disabled"
56   WideLines               off
57   ShowLineDimensions      off
58   ShowPortDataTypes       off
59   ShowDesignRanges        off
60   ShowLoopsOnError        on
61   IgnoreBidirectionalLines off
62   ShowStorageClass        off
63   ShowTestPointIcons      on
64   ShowSignalResolutionIcons on
65   ShowViewerIcons         on
66   SortedOrder             off
67   ExecutionContextIcon    off
68   ShowLinearizationAnnotations on
69   BlockNameDataTip        off
70   BlockParametersDataTip  off
71   BlockDescriptionStringDataTip off
72   ToolBar                 on
73   StatusBar               on
74   BrowserShowLibraryLinks off
75   BrowserLookUnderMasks   off
76   SimulationMode          "normal"
77   LinearizationMsg        "none"
78   Profile                 off
79   ParamWorkspaceSource    "MATLABWorkspace"
80   AccelSystemTargetFile   "accel.tlc"
81   AccelTemplateMakefile   "accel_default_tmf"
82   AccelMakeCommand        "make_rtw"
83   TryForcingSFcnDF        off
84   Object {
85     $PropName               "DataLoggingOverride"
86     $ObjectID               1
87     $ClassName              "Simulink.SimulationData.ModelLoggingInfo"
88     model_                  "altitude_plant"
89     overrideMode_           [0.0]
90     Array {
91       Type                    "Cell"
92       Dimension               1
93       Cell                    "altitude_plant"
94       PropName                "logAsSpecifiedByModels_"
95     }
96     Array {
97       Type                    "Cell"
98       Dimension               1
99       Cell                    []
100       PropName                "logAsSpecifiedByModelsSSIDs_"
101     }
102   }
103   RecordCoverage          off
104   CovPath                 "/"
105   CovSaveName             "covdata"
106   CovMetricSettings       "dw"
107   CovNameIncrementing     off
108   CovHtmlReporting        on
109   CovForceBlockReductionOff on
110   covSaveCumulativeToWorkspaceVar on
111   CovSaveSingleToWorkspaceVar on
112   CovCumulativeVarName    "covCumulativeData"
113   CovCumulativeReport     off
114   CovReportOnPause        on
115   CovModelRefEnable       "Off"
116   CovExternalEMLEnable    off
117   ExtModeBatchMode        off
118   ExtModeEnableFloating   on
119   ExtModeTrigType         "manual"
120   ExtModeTrigMode         "normal"
121   ExtModeTrigPort         "1"
122   ExtModeTrigElement      "any"
123   ExtModeTrigDuration     1000
124   ExtModeTrigDurationFloating "auto"
125   ExtModeTrigHoldOff      0
126   ExtModeTrigDelay        0
127   ExtModeTrigDirection    "rising"
128   ExtModeTrigLevel        0
129   ExtModeArchiveMode      "off"
130   ExtModeAutoIncOneShot   off
131   ExtModeIncDirWhenArm    off
132   ExtModeAddSuffixToVar   off
133   ExtModeWriteAllDataToWs off
134   ExtModeArmWhenConnect   on
135   ExtModeSkipDownloadWhenConnect off
136   ExtModeLogAll           on
137   ExtModeAutoUpdateStatusClock on
138   BufferReuse             on
139   ShowModelReferenceBlockVersion off
140   ShowModelReferenceBlockIO off
141   Array {
142     Type                    "Handle"
143     Dimension               1
144     Simulink.ConfigSet {
145       $ObjectID               2
146       Version                 "1.11.1"
147       Array {
148         Type                    "Handle"
149         Dimension               8
150         Simulink.SolverCC {
151           $ObjectID               3
152           Version                 "1.11.1"
153           StartTime               "0.0"
154           StopTime                "200.0"
155           AbsTol                  "auto"
156           FixedStep               "auto"
157           InitialStep             "auto"
158           MaxNumMinSteps          "-1"
159           MaxOrder                5
160           ZcThreshold             "auto"
161           ConsecutiveZCsStepRelTol "10*128*eps"
162           MaxConsecutiveZCs       "1000"
163           ExtrapolationOrder      4
164           NumberNewtonIterations  1
165           MaxStep                 "auto"
166           MinStep                 "auto"
167           MaxConsecutiveMinStep   "1"
168           RelTol                  "1e-3"
169           SolverMode              "Auto"
170           ConcurrentTasks         off
171           Solver                  "ode45"
172           SolverName              "ode45"
173           SolverJacobianMethodControl "auto"
174           ShapePreserveControl    "DisableAll"
175           ZeroCrossControl        "UseLocalSettings"
176           ZeroCrossAlgorithm      "Nonadaptive"
177           AlgebraicLoopSolver     "TrustRegion"
178           SolverResetMethod       "Fast"
179           PositivePriorityOrder   off
180           AutoInsertRateTranBlk   off
181           SampleTimeConstraint    "Unconstrained"
182           InsertRTBMode           "Whenever possible"
183         }
184         Simulink.DataIOCC {
185           $ObjectID               4
186           Version                 "1.11.1"
187           Decimation              "1"
188           ExternalInput           "[t, u]"
189           FinalStateName          "xFinal"
190           InitialState            "xInitial"
191           LimitDataPoints         on
192           MaxDataPoints           "1000"
193           LoadExternalInput       on
194           LoadInitialState        off
195           SaveFinalState          off
196           SaveCompleteFinalSimState off
197           SaveFormat              "Array"
198           SignalLoggingSaveFormat "ModelDataLogs"
199           SaveOutput              on
200           SaveState               off
201           SignalLogging           on
202           DSMLogging              on
203           InspectSignalLogs       off
204           SaveTime                on
205           ReturnWorkspaceOutputs  off
206           StateSaveName           "xout"
207           TimeSaveName            "tout"
208           OutputSaveName          "yout"
209           SignalLoggingName       "logsout"
210           DSMLoggingName          "dsmout"
211           OutputOption            "RefineOutputTimes"
212           OutputTimes             "[]"
213           ReturnWorkspaceOutputsName "out"
214           Refine                  "1"
215         }
216         Simulink.OptimizationCC {
217           $ObjectID               5
218           Version                 "1.11.1"
219           Array {
220             Type                    "Cell"
221             Dimension               8
222             Cell                    "BooleansAsBitfields"
223             Cell                    "PassReuseOutputArgsAs"
224             Cell                    "PassReuseOutputArgsThreshold"
225             Cell                    "ZeroExternalMemoryAtStartup"
226             Cell                    "ZeroInternalMemoryAtStartup"
227             Cell                    "OptimizeModelRefInitCode"
228             Cell                    "NoFixptDivByZeroProtection"
229             Cell                    "UseSpecifiedMinMax"
230             PropName                "DisabledProps"
231           }
232           BlockReduction          on
233           BooleanDataType         on
234           ConditionallyExecuteInputs on
235           InlineParams            off
236           UseIntDivNetSlope       off
237           UseFloatMulNetSlope     off
238           UseSpecifiedMinMax      off
239           InlineInvariantSignals  off
240           OptimizeBlockIOStorage  on
241           BufferReuse             on
242           EnhancedBackFolding     off
243           StrengthReduction       off
244           ExpressionFolding       on
245           BooleansAsBitfields     off
246           BitfieldContainerType   "uint_T"
247           EnableMemcpy            on
248           MemcpyThreshold         64
249           PassReuseOutputArgsAs   "Structure reference"
250           ExpressionDepthLimit    2147483647
251           FoldNonRolledExpr       on
252           LocalBlockOutputs       on
253           RollThreshold           5
254           SystemCodeInlineAuto    off
255           StateBitsets            off
256           DataBitsets             off
257           UseTempVars             off
258           ZeroExternalMemoryAtStartup on
259           ZeroInternalMemoryAtStartup on
260           InitFltsAndDblsToZero   off
261           NoFixptDivByZeroProtection off
262           EfficientFloat2IntCast  off
263           EfficientMapNaN2IntZero on
264           OptimizeModelRefInitCode off
265           LifeSpan                "inf"
266           MaxStackSize            "Inherit from target"
267           BufferReusableBoundary  on
268           SimCompilerOptimization "Off"
269           AccelVerboseBuild       off
270           AccelParallelForEachSubsystem on
271         }
272         Simulink.DebuggingCC {
273           $ObjectID               6
274           Version                 "1.11.1"
275           RTPrefix                "error"
276           ConsistencyChecking     "none"
277           ArrayBoundsChecking     "none"
278           SignalInfNanChecking    "none"
279           SignalRangeChecking     "none"
280           ReadBeforeWriteMsg      "UseLocalSettings"
281           WriteAfterWriteMsg      "UseLocalSettings"
282           WriteAfterReadMsg       "UseLocalSettings"
283           AlgebraicLoopMsg        "warning"
284           ArtificialAlgebraicLoopMsg "warning"
285           SaveWithDisabledLinksMsg "warning"
286           SaveWithParameterizedLinksMsg "warning"
287           CheckSSInitialOutputMsg on
288           UnderspecifiedInitializationDetection "Classic"
289           MergeDetectMultiDrivingBlocksExec "none"
290           CheckExecutionContextPreStartOutputMsg off
291           CheckExecutionContextRuntimeOutputMsg off
292           SignalResolutionControl "UseLocalSettings"
293           BlockPriorityViolationMsg "warning"
294           MinStepSizeMsg          "warning"
295           TimeAdjustmentMsg       "none"
296           MaxConsecutiveZCsMsg    "error"
297           MaskedZcDiagnostic      "warning"
298           IgnoredZcDiagnostic     "warning"
299           SolverPrmCheckMsg       "warning"
300           InheritedTsInSrcMsg     "warning"
301           DiscreteInheritContinuousMsg "warning"
302           MultiTaskDSMMsg         "error"
303           MultiTaskCondExecSysMsg "error"
304           MultiTaskRateTransMsg   "error"
305           SingleTaskRateTransMsg  "none"
306           TasksWithSamePriorityMsg "warning"
307           SigSpecEnsureSampleTimeMsg "warning"
308           CheckMatrixSingularityMsg "none"
309           IntegerOverflowMsg      "warning"
310           Int32ToFloatConvMsg     "warning"
311           ParameterDowncastMsg    "error"
312           ParameterOverflowMsg    "error"
313           ParameterUnderflowMsg   "none"
314           ParameterPrecisionLossMsg "warning"
315           ParameterTunabilityLossMsg "warning"
316           FixptConstUnderflowMsg  "none"
317           FixptConstOverflowMsg   "none"
318           FixptConstPrecisionLossMsg "none"
319           UnderSpecifiedDataTypeMsg "none"
320           UnnecessaryDatatypeConvMsg "none"
321           VectorMatrixConversionMsg "none"
322           InvalidFcnCallConnMsg   "error"
323           FcnCallInpInsideContextMsg "Enable All"
324           SignalLabelMismatchMsg  "none"
325           UnconnectedInputMsg     "warning"
326           UnconnectedOutputMsg    "warning"
327           UnconnectedLineMsg      "warning"
328           SFcnCompatibilityMsg    "none"
329           FrameProcessingCompatibilityMsg "warning"
330           UniqueDataStoreMsg      "none"
331           BusObjectLabelMismatch  "warning"
332           RootOutportRequireBusObject "warning"
333           AssertControl           "UseLocalSettings"
334           EnableOverflowDetection off
335           ModelReferenceIOMsg     "none"
336           ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error"
337           ModelReferenceVersionMismatchMessage "none"
338           ModelReferenceIOMismatchMessage "none"
339           ModelReferenceCSMismatchMessage "none"
340           UnknownTsInhSupMsg      "warning"
341           ModelReferenceDataLoggingMessage "warning"
342           ModelReferenceSymbolNameMessage "warning"
343           ModelReferenceExtraNoncontSigs "error"
344           StateNameClashWarn      "warning"
345           SimStateInterfaceChecksumMismatchMsg "warning"
346           SimStateOlderReleaseMsg "error"
347           InitInArrayFormatMsg    "warning"
348           StrictBusMsg            "ErrorLevel1"
349           BusNameAdapt            "WarnAndRepair"
350           NonBusSignalsTreatedAsBus "none"
351           LoggingUnavailableSignals "error"
352           BlockIODiagnostic       "none"
353           SFUnusedDataAndEventsDiag "warning"
354           SFUnexpectedBacktrackingDiag "warning"
355           SFInvalidInputDataAccessInChartInitDiag "warning"
356           SFNoUnconditionalDefaultTransitionDiag "warning"
357           SFTransitionOutsideNaturalParentDiag "warning"
358           SFUnconditionalTransitionShadowingDiag "warning"
359         }
360         Simulink.HardwareCC {
361           $ObjectID               7
362           Version                 "1.11.1"
363           ProdBitPerChar          8
364           ProdBitPerShort         16
365           ProdBitPerInt           32
366           ProdBitPerLong          32
367           ProdBitPerFloat         32
368           ProdBitPerDouble        64
369           ProdBitPerPointer       32
370           ProdLargestAtomicInteger "Char"
371           ProdLargestAtomicFloat  "None"
372           ProdIntDivRoundTo       "Undefined"
373           ProdEndianess           "Unspecified"
374           ProdWordSize            32
375           ProdShiftRightIntArith  on
376           ProdHWDeviceType        "32-bit Generic"
377           TargetBitPerChar        8
378           TargetBitPerShort       16
379           TargetBitPerInt         32
380           TargetBitPerLong        32
381           TargetBitPerFloat       32
382           TargetBitPerDouble      64
383           TargetBitPerPointer     32
384           TargetLargestAtomicInteger "Char"
385           TargetLargestAtomicFloat "None"
386           TargetShiftRightIntArith on
387           TargetIntDivRoundTo     "Undefined"
388           TargetEndianess         "Unspecified"
389           TargetWordSize          32
390           TargetTypeEmulationWarnSuppressLevel 0
391           TargetPreprocMaxBitsSint 32
392           TargetPreprocMaxBitsUint 32
393           TargetHWDeviceType      "Specified"
394           TargetUnknown           off
395           ProdEqTarget            on
396         }
397         Simulink.ModelReferenceCC {
398           $ObjectID               8
399           Version                 "1.11.1"
400           UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange"
401           CheckModelReferenceTargetMessage "error"
402           EnableParallelModelReferenceBuilds off
403           ParallelModelReferenceErrorOnInvalidPool on
404           ParallelModelReferenceMATLABWorkerInit "None"
405           ModelReferenceNumInstancesAllowed "Multi"
406           PropagateVarSize        "Infer from blocks in model"
407           ModelReferencePassRootInputsByReference on
408           ModelReferenceMinAlgLoopOccurrences off
409           PropagateSignalLabelsOutOfModel off
410           SupportModelReferenceSimTargetCustomCode off
411         }
412         Simulink.SFSimCC {
413           $ObjectID               9
414           Version                 "1.11.1"
415           SFSimEnableDebug        on
416           SFSimOverflowDetection  on
417           SFSimEcho               on
418           SimBlas                 on
419           SimCtrlC                on
420           SimExtrinsic            on
421           SimIntegrity            on
422           SimUseLocalCustomCode   off
423           SimParseCustomCode      on
424           SimBuildMode            "sf_incremental_build"
425         }
426         Simulink.RTWCC {
427           $BackupClass            "Simulink.RTWCC"
428           $ObjectID               10
429           Version                 "1.11.1"
430           Array {
431             Type                    "Cell"
432             Dimension               8
433             Cell                    "IncludeHyperlinkInReport"
434             Cell                    "GenerateTraceInfo"
435             Cell                    "GenerateTraceReport"
436             Cell                    "GenerateTraceReportSl"
437             Cell                    "GenerateTraceReportSf"
438             Cell                    "GenerateTraceReportEml"
439             Cell                    "GenerateSLWebview"
440             Cell                    "GenerateCodeMetricsReport"
441             PropName                "DisabledProps"
442           }
443           SystemTargetFile        "grt.tlc"
444           GenCodeOnly             off
445           MakeCommand             "make_rtw"
446           GenerateMakefile        on
447           TemplateMakefile        "grt_default_tmf"
448           GenerateReport          off
449           SaveLog                 off
450           RTWVerbose              on
451           RetainRTWFile           off
452           ProfileTLC              off
453           TLCDebug                off
454           TLCCoverage             off
455           TLCAssert               off
456           ProcessScriptMode       "Default"
457           ConfigurationMode       "Optimized"
458           ConfigAtBuild           off
459           RTWUseLocalCustomCode   off
460           RTWUseSimCustomCode     off
461           IncludeHyperlinkInReport off
462           LaunchReport            off
463           TargetLang              "C"
464           IncludeBusHierarchyInRTWFileBlockHierarchyMap off
465           IncludeERTFirstTime     off
466           GenerateTraceInfo       off
467           GenerateTraceReport     off
468           GenerateTraceReportSl   off
469           GenerateTraceReportSf   off
470           GenerateTraceReportEml  off
471           GenerateCodeInfo        off
472           GenerateSLWebview       off
473           GenerateCodeMetricsReport off
474           RTWCompilerOptimization "Off"
475           CheckMdlBeforeBuild     "Off"
476           CustomRebuildMode       "OnUpdate"
477           Array {
478             Type                    "Handle"
479             Dimension               2
480             Simulink.CodeAppCC {
481               $ObjectID               11
482               Version                 "1.11.1"
483               Array {
484                 Type                    "Cell"
485                 Dimension               21
486                 Cell                    "IgnoreCustomStorageClasses"
487                 Cell                    "IgnoreTestpoints"
488                 Cell                    "InsertBlockDesc"
489                 Cell                    "InsertPolySpaceComments"
490                 Cell                    "SFDataObjDesc"
491                 Cell                    "MATLABFcnDesc"
492                 Cell                    "SimulinkDataObjDesc"
493                 Cell                    "DefineNamingRule"
494                 Cell                    "SignalNamingRule"
495                 Cell                    "ParamNamingRule"
496                 Cell                    "InlinedPrmAccess"
497                 Cell                    "CustomSymbolStr"
498                 Cell                    "CustomSymbolStrGlobalVar"
499                 Cell                    "CustomSymbolStrType"
500                 Cell                    "CustomSymbolStrField"
501                 Cell                    "CustomSymbolStrFcn"
502                 Cell                    "CustomSymbolStrFcnArg"
503                 Cell                    "CustomSymbolStrBlkIO"
504                 Cell                    "CustomSymbolStrTmpVar"
505                 Cell                    "CustomSymbolStrMacro"
506                 Cell                    "ReqsInCode"
507                 PropName                "DisabledProps"
508               }
509               ForceParamTrailComments off
510               GenerateComments        on
511               IgnoreCustomStorageClasses on
512               IgnoreTestpoints        off
513               IncHierarchyInIds       off
514               MaxIdLength             31
515               PreserveName            off
516               PreserveNameWithParent  off
517               ShowEliminatedStatement off
518               IncAutoGenComments      off
519               SimulinkDataObjDesc     off
520               SFDataObjDesc           off
521               MATLABFcnDesc           off
522               IncDataTypeInIds        off
523               MangleLength            1
524               CustomSymbolStrGlobalVar "$R$N$M"
525               CustomSymbolStrType     "$N$R$M"
526               CustomSymbolStrField    "$N$M"
527               CustomSymbolStrFcn      "$R$N$M$F"
528               CustomSymbolStrFcnArg   "rt$I$N$M"
529               CustomSymbolStrBlkIO    "rtb_$N$M"
530               CustomSymbolStrTmpVar   "$N$M"
531               CustomSymbolStrMacro    "$R$N$M"
532               DefineNamingRule        "None"
533               ParamNamingRule         "None"
534               SignalNamingRule        "None"
535               InsertBlockDesc         off
536               InsertPolySpaceComments off
537               SimulinkBlockComments   on
538               MATLABSourceComments    off
539               EnableCustomComments    off
540               InlinedPrmAccess        "Literals"
541               ReqsInCode              off
542               UseSimReservedNames     off
543             }
544             Simulink.GRTTargetCC {
545               $BackupClass            "Simulink.TargetCC"
546               $ObjectID               12
547               Version                 "1.11.1"
548               Array {
549                 Type                    "Cell"
550                 Dimension               16
551                 Cell                    "GeneratePreprocessorConditionals"
552                 Cell                    "IncludeMdlTerminateFcn"
553                 Cell                    "CombineOutputUpdateFcns"
554                 Cell                    "SuppressErrorStatus"
555                 Cell                    "ERTCustomFileBanners"
556                 Cell                    "GenerateSampleERTMain"
557                 Cell                    "GenerateTestInterfaces"
558                 Cell                    "ModelStepFunctionPrototypeControlCompliant"
559                 Cell                    "CPPClassGenCompliant"
560                 Cell                    "MultiInstanceERTCode"
561                 Cell                    "PurelyIntegerCode"
562                 Cell                    "SupportComplex"
563                 Cell                    "SupportAbsoluteTime"
564                 Cell                    "SupportContinuousTime"
565                 Cell                    "SupportNonInlinedSFcns"
566                 Cell                    "PortableWordSizes"
567                 PropName                "DisabledProps"
568               }
569               TargetFcnLib            "ansi_tfl_table_tmw.mat"
570               TargetLibSuffix         ""
571               TargetPreCompLibLocation ""
572               TargetFunctionLibrary   "ANSI_C"
573               UtilityFuncGeneration   "Auto"
574               ERTMultiwordTypeDef     "System defined"
575               CodeExecutionProfiling  off
576               ERTMultiwordLength      256
577               MultiwordLength         2048
578               GenerateFullHeader      on
579               GenerateSampleERTMain   off
580               GenerateTestInterfaces  off
581               IsPILTarget             off
582               ModelReferenceCompliant on
583               ParMdlRefBuildCompliant on
584               CompOptLevelCompliant   on
585               ConcurrentExecutionCompliant on
586               IncludeMdlTerminateFcn  on
587               GeneratePreprocessorConditionals "Disable all"
588               CombineOutputUpdateFcns off
589               CombineSignalStateStructs off
590               SuppressErrorStatus     off
591               ERTFirstTimeCompliant   off
592               IncludeFileDelimiter    "Auto"
593               ERTCustomFileBanners    off
594               SupportAbsoluteTime     on
595               LogVarNameModifier      "rt_"
596               MatFileLogging          on
597               MultiInstanceERTCode    off
598               SupportNonFinite        on
599               SupportComplex          on
600               PurelyIntegerCode       off
601               SupportContinuousTime   on
602               SupportNonInlinedSFcns  on
603               SupportVariableSizeSignals off
604               EnableShiftOperators    on
605               ParenthesesLevel        "Nominal"
606               PortableWordSizes       off
607               ModelStepFunctionPrototypeControlCompliant off
608               CPPClassGenCompliant    off
609               AutosarCompliant        off
610               UseMalloc               off
611               ExtMode                 off
612               ExtModeStaticAlloc      off
613               ExtModeTesting          off
614               ExtModeStaticAllocSize  1000000
615               ExtModeTransport        0
616               ExtModeMexFile          "ext_comm"
617               ExtModeIntrfLevel       "Level1"
618               RTWCAPISignals          off
619               RTWCAPIParams           off
620               RTWCAPIStates           off
621               RTWCAPIRootIO           off
622               GenerateASAP2           off
623             }
624             PropName                "Components"
625           }
626         }
627         PropName                "Components"
628       }
629       Name                    "Configuration"
630       CurrentDlgPage          "Solver"
631       ConfigPrmDlgPosition     [ 400, 210, 1280, 840 ] 
632     }
633     PropName                "ConfigurationSets"
634   }
635   Simulink.ConfigSet {
636     $PropName               "ActiveConfigurationSet"
637     $ObjectID               2
638   }
639   BlockDefaults {
640     ForegroundColor         "black"
641     BackgroundColor         "white"
642     DropShadow              off
643     NamePlacement           "normal"
644     FontName                "Helvetica"
645     FontSize                10
646     FontWeight              "normal"
647     FontAngle               "normal"
648     ShowName                on
649     BlockRotation           0
650     BlockMirror             off
651   }
652   AnnotationDefaults {
653     HorizontalAlignment     "center"
654     VerticalAlignment       "middle"
655     ForegroundColor         "black"
656     BackgroundColor         "white"
657     DropShadow              off
658     FontName                "Helvetica"
659     FontSize                10
660     FontWeight              "normal"
661     FontAngle               "normal"
662     UseDisplayTextAsClickCallback off
663   }
664   LineDefaults {
665     FontName                "Helvetica"
666     FontSize                9
667     FontWeight              "normal"
668     FontAngle               "normal"
669   }
670   BlockParameterDefaults {
671     Block {
672       BlockType               Constant
673       Value                   "1"
674       VectorParams1D          on
675       SamplingMode            "Sample based"
676       OutMin                  "[]"
677       OutMax                  "[]"
678       OutDataTypeStr          "Inherit: Inherit from 'Constant value'"
679       LockScale               off
680       SampleTime              "inf"
681       FramePeriod             "inf"
682       PreserveConstantTs      off
683     }
684     Block {
685       BlockType               Gain
686       Gain                    "1"
687       Multiplication          "Element-wise(K.*u)"
688       ParamMin                "[]"
689       ParamMax                "[]"
690       ParamDataTypeStr        "Inherit: Same as input"
691       OutMin                  "[]"
692       OutMax                  "[]"
693       OutDataTypeStr          "Inherit: Same as input"
694       LockScale               off
695       RndMeth                 "Floor"
696       SaturateOnIntegerOverflow on
697       SampleTime              "-1"
698     }
699     Block {
700       BlockType               Inport
701       Port                    "1"
702       OutputFunctionCall      off
703       OutMin                  "[]"
704       OutMax                  "[]"
705       OutDataTypeStr          "Inherit: auto"
706       LockScale               off
707       BusOutputAsStruct       off
708       PortDimensions          "-1"
709       VarSizeSig              "Inherit"
710       SampleTime              "-1"
711       SignalType              "auto"
712       SamplingMode            "auto"
713       LatchByDelayingOutsideSignal off
714       LatchInputForFeedbackSignals off
715       Interpolate             on
716     }
717     Block {
718       BlockType               Integrator
719       ExternalReset           "none"
720       InitialConditionSource  "internal"
721       InitialCondition        "0"
722       LimitOutput             off
723       UpperSaturationLimit    "inf"
724       LowerSaturationLimit    "-inf"
725       ShowSaturationPort      off
726       ShowStatePort           off
727       AbsoluteTolerance       "auto"
728       IgnoreLimit             off
729       ZeroCross               on
730       ContinuousStateAttributes "''"
731     }
732     Block {
733       BlockType               Outport
734       Port                    "1"
735       OutMin                  "[]"
736       OutMax                  "[]"
737       OutDataTypeStr          "Inherit: auto"
738       LockScale               off
739       BusOutputAsStruct       off
740       PortDimensions          "-1"
741       VarSizeSig              "Inherit"
742       SampleTime              "-1"
743       SignalType              "auto"
744       SamplingMode            "auto"
745       SourceOfInitialOutputValue "Dialog"
746       OutputWhenDisabled      "held"
747       InitialOutput           "[]"
748     }
749     Block {
750       BlockType               RandomNumber
751       Mean                    "0"
752       Variance                "1"
753       Seed                    "0"
754       SampleTime              "-1"
755       VectorParams1D          on
756     }
757     Block {
758       BlockType               SubSystem
759       ShowPortLabels          "FromPortIcon"
760       Permissions             "ReadWrite"
761       PermitHierarchicalResolution "All"
762       TreatAsAtomicUnit       off
763       CheckFcnCallInpInsideContextMsg off
764       SystemSampleTime        "-1"
765       RTWFcnNameOpts          "Auto"
766       RTWFileNameOpts         "Auto"
767       RTWMemSecFuncInitTerm   "Inherit from model"
768       RTWMemSecFuncExecute    "Inherit from model"
769       RTWMemSecDataConstants  "Inherit from model"
770       RTWMemSecDataInternal   "Inherit from model"
771       RTWMemSecDataParameters "Inherit from model"
772       SimViewingDevice        off
773       DataTypeOverride        "UseLocalSettings"
774       DataTypeOverrideAppliesTo "AllNumericTypes"
775       MinMaxOverflowLogging   "UseLocalSettings"
776       SFBlockType             "NONE"
777       Variant                 off
778       GeneratePreprocessorConditionals off
779     }
780     Block {
781       BlockType               Sum
782       IconShape               "rectangular"
783       Inputs                  "++"
784       CollapseMode            "All dimensions"
785       CollapseDim             "1"
786       InputSameDT             on
787       AccumDataTypeStr        "Inherit: Inherit via internal rule"
788       OutMin                  "[]"
789       OutMax                  "[]"
790       OutDataTypeStr          "Inherit: Same as first input"
791       LockScale               off
792       RndMeth                 "Floor"
793       SaturateOnIntegerOverflow on
794       SampleTime              "-1"
795     }
796   }
797   System {
798     Name                    "altitude_plant"
799     Location                [2567, 115, 3338, 555]
800     Open                    on
801     ModelBrowserVisibility  off
802     ModelBrowserWidth       200
803     ScreenColor             "white"
804     PaperOrientation        "landscape"
805     PaperPositionMode       "auto"
806     PaperType               "usletter"
807     PaperUnits              "inches"
808     TiledPaperMargins       [0.500000, 0.500000, 0.500000, 0.500000]
809     TiledPageScale          1
810     ShowPageBoundaries      off
811     ZoomFactor              "100"
812     ReportName              "simulink-default.rpt"
813     SIDHighWatermark        "69"
814     Block {
815       BlockType               Inport
816       Name                    "Altitude Setpoint"
817       SID                     "62"
818       Position                [25, 133, 55, 147]
819       ZOrder                  -1
820       IconDisplay             "Port number"
821     }
822     Block {
823       BlockType               Sum
824       Name                    "Add"
825       SID                     "68"
826       Ports                   [2, 1]
827       Position                [225, 127, 255, 158]
828       ZOrder                  -2
829       InputSameDT             off
830       OutDataTypeStr          "Inherit: Inherit via internal rule"
831       SaturateOnIntegerOverflow off
832     }
833     Block {
834       BlockType               Constant
835       Name                    "Constant"
836       SID                     "69"
837       Position                [140, 80, 170, 110]
838       ZOrder                  -5
839       Value                   "0"
840     }
841     Block {
842       BlockType               Reference
843       Name                    "PID Controller (2DOF)"
844       SID                     "67"
845       Ports                   [2, 1]
846       Position                [140, 130, 195, 170]
847       ZOrder                  -7
848       LibraryVersion          "1.256"
849       SourceBlock             "simulink/Continuous/PID Controller (2DOF)"
850       SourceType              "PID 2dof"
851       Controller              "PID"
852       TimeDomain              "Continuous-time"
853       SampleTime              "1"
854       IntegratorMethod        "Forward Euler"
855       FilterMethod            "Forward Euler"
856       Form                    "Parallel"
857       P                       "0.1"
858       I                       "0.0"
859       D                       "0"
860       N                       "100"
861       b                       "1"
862       c                       "1"
863       InitialConditionSource  "internal"
864       InitialConditionForIntegrator "0"
865       InitialConditionForFilter "0"
866       ExternalReset           "none"
867       IgnoreLimit             off
868       ZeroCross               on
869       LimitOutput             off
870       UpperSaturationLimit    "inf"
871       LowerSaturationLimit    "-inf"
872       LinearizeAsGain         off
873       AntiWindupMode          "none"
874       Kb                      "1"
875       TrackingMode            off
876       Kt                      "1"
877       RndMeth                 "Floor"
878       SaturateOnIntegerOverflow off
879       LockScale               off
880       PParamMin               "[]"
881       PParamMax               "[]"
882       PParamDataTypeStr       "Inherit: Inherit via internal rule"
883       IParamMin               "[]"
884       IParamMax               "[]"
885       IParamDataTypeStr       "Inherit: Inherit via internal rule"
886       DParamMin               "[]"
887       DParamMax               "[]"
888       DParamDataTypeStr       "Inherit: Inherit via internal rule"
889       NParamMin               "[]"
890       NParamMax               "[]"
891       NParamDataTypeStr       "Inherit: Inherit via internal rule"
892       bParamMin               "[]"
893       bParamMax               "[]"
894       bParamDataTypeStr       "Inherit: Inherit via internal rule"
895       cParamMin               "[]"
896       cParamMax               "[]"
897       cParamDataTypeStr       "Inherit: Inherit via internal rule"
898       KbParamMin              "[]"
899       KbParamMax              "[]"
900       KbParamDataTypeStr      "Inherit: Inherit via internal rule"
901       KtParamMin              "[]"
902       KtParamMax              "[]"
903       KtParamDataTypeStr      "Inherit: Inherit via internal rule"
904       POutMin                 "[]"
905       POutMax                 "[]"
906       POutDataTypeStr         "Inherit: Inherit via internal rule"
907       IOutMin                 "[]"
908       IOutMax                 "[]"
909       IOutDataTypeStr         "Inherit: Inherit via internal rule"
910       DOutMin                 "[]"
911       DOutMax                 "[]"
912       DOutDataTypeStr         "Inherit: Inherit via internal rule"
913       NOutMin                 "[]"
914       NOutMax                 "[]"
915       NOutDataTypeStr         "Inherit: Inherit via internal rule"
916       bOutMin                 "[]"
917       bOutMax                 "[]"
918       bOutDataTypeStr         "Inherit: Inherit via internal rule"
919       cOutMin                 "[]"
920       cOutMax                 "[]"
921       cOutDataTypeStr         "Inherit: Inherit via internal rule"
922       KbOutMin                "[]"
923       KbOutMax                "[]"
924       KbOutDataTypeStr        "Inherit: Inherit via internal rule"
925       KtOutMin                "[]"
926       KtOutMax                "[]"
927       KtOutDataTypeStr        "Inherit: Inherit via internal rule"
928       IntegratorOutMin        "[]"
929       IntegratorOutMax        "[]"
930       IntegratorOutDataTypeStr "Inherit: Inherit via internal rule"
931       FilterOutMin            "[]"
932       FilterOutMax            "[]"
933       FilterOutDataTypeStr    "Inherit: Inherit via internal rule"
934       SumOutMin               "[]"
935       SumOutMax               "[]"
936       SumOutDataTypeStr       "Inherit: Inherit via internal rule"
937       Sum1OutMin              "[]"
938       Sum1OutMax              "[]"
939       Sum1OutDataTypeStr      "Inherit: Inherit via internal rule"
940       Sum2OutMin              "[]"
941       Sum2OutMax              "[]"
942       Sum2OutDataTypeStr      "Inherit: Inherit via internal rule"
943       Sum3OutMin              "[]"
944       Sum3OutMax              "[]"
945       Sum3OutDataTypeStr      "Inherit: Inherit via internal rule"
946       SumI1OutMin             "[]"
947       SumI1OutMax             "[]"
948       SumI1OutDataTypeStr     "Inherit: Inherit via internal rule"
949       SumI2OutMin             "[]"
950       SumI2OutMax             "[]"
951       SumI2OutDataTypeStr     "Inherit: Inherit via internal rule"
952       SumI3OutMin             "[]"
953       SumI3OutMax             "[]"
954       SumI3OutDataTypeStr     "Inherit: Inherit via internal rule"
955       SumDOutMin              "[]"
956       SumDOutMax              "[]"
957       SumDOutDataTypeStr      "Inherit: Inherit via internal rule"
958       SumAccumDataTypeStr     "Inherit: Inherit via internal rule"
959       Sum1AccumDataTypeStr    "Inherit: Inherit via internal rule"
960       Sum2AccumDataTypeStr    "Inherit: Inherit via internal rule"
961       Sum3AccumDataTypeStr    "Inherit: Inherit via internal rule"
962       SumI1AccumDataTypeStr   "Inherit: Inherit via internal rule"
963       SumI2AccumDataTypeStr   "Inherit: Inherit via internal rule"
964       SumI3AccumDataTypeStr   "Inherit: Inherit via internal rule"
965       SumDAccumDataTypeStr    "Inherit: Inherit via internal rule"
966       SaturationOutMin        "[]"
967       SaturationOutMax        "[]"
968       SaturationOutDataTypeStr "Inherit: Same as input"
969       IntegratorContinuousStateAttributes "''"
970       IntegratorStateMustResolveToSignalObject off
971       IntegratorRTWStateStorageClass "Auto"
972       FilterContinuousStateAttributes "''"
973       FilterStateMustResolveToSignalObject off
974       FilterRTWStateStorageClass "Auto"
975     }
976     Block {
977       BlockType               SubSystem
978       Name                    "Subsystem"
979       SID                     "57"
980       Ports                   [1, 3]
981       Position                [300, 120, 440, 180]
982       MinAlgLoopOccurrences   off
983       PropExecContextOutsideSubsystem off
984       RTWSystemCode           "Auto"
985       FunctionWithSeparateData off
986       Opaque                  off
987       RequestExecContextInheritance off
988       MaskHideContents        off
989       System {
990         Name                    "Subsystem"
991         Location                [700, 127, 1473, 405]
992         Open                    on
993         ModelBrowserVisibility  off
994         ModelBrowserWidth       200
995         ScreenColor             "white"
996         PaperOrientation        "landscape"
997         PaperPositionMode       "auto"
998         PaperType               "usletter"
999         PaperUnits              "inches"
1000         TiledPaperMargins       [0.500000, 0.500000, 0.500000, 0.500000]
1001         TiledPageScale          1
1002         ShowPageBoundaries      off
1003         ZoomFactor              "100"
1004         Block {
1005           BlockType               Inport
1006           Name                    "Throttle"
1007           SID                     "58"
1008           Position                [25, 33, 55, 47]
1009           ZOrder                  -1
1010           IconDisplay             "Port number"
1011         }
1012         Block {
1013           BlockType               RandomNumber
1014           Name                    "Accel Noise"
1015           SID                     "24"
1016           Position                [195, 125, 225, 155]
1017           ZOrder                  -15
1018           SampleTime              "0.1"
1019         }
1020         Block {
1021           BlockType               Sum
1022           Name                    "Add"
1023           SID                     "25"
1024           Ports                   [2, 1]
1025           Position                [195, 32, 225, 63]
1026           ZOrder                  -2
1027           InputSameDT             off
1028           OutDataTypeStr          "Inherit: Inherit via internal rule"
1029           SaturateOnIntegerOverflow off
1030           Port {
1031             PortNumber              1
1032             Name                    "Acceleration"
1033             RTWStorageClass         "Auto"
1034             DataLoggingNameMode     "SignalName"
1035           }
1036         }
1037         Block {
1038           BlockType               Sum
1039           Name                    "Add1"
1040           SID                     "26"
1041           Ports                   [2, 1]
1042           Position                [260, 117, 290, 148]
1043           ZOrder                  -2
1044           InputSameDT             off
1045           OutDataTypeStr          "Inherit: Inherit via internal rule"
1046           SaturateOnIntegerOverflow off
1047         }
1048         Block {
1049           BlockType               Sum
1050           Name                    "Add2"
1051           SID                     "27"
1052           Ports                   [2, 1]
1053           Position                [480, 87, 510, 118]
1054           ZOrder                  -2
1055           InputSameDT             off
1056           OutDataTypeStr          "Inherit: Inherit via internal rule"
1057           SaturateOnIntegerOverflow off
1058         }
1059         Block {
1060           BlockType               RandomNumber
1061           Name                    "Altitude Noise"
1062           SID                     "28"
1063           Position                [420, 95, 450, 125]
1064           ZOrder                  -15
1065           SampleTime              "0.1"
1066         }
1067         Block {
1068           BlockType               Gain
1069           Name                    "Gain"
1070           SID                     "29"
1071           Position                [115, 25, 145, 55]
1072           ZOrder                  -11
1073           Gain                    "9.81"
1074           ParamDataTypeStr        "Inherit: Inherit via internal rule"
1075           OutDataTypeStr          "Inherit: Inherit via internal rule"
1076           SaturateOnIntegerOverflow off
1077           Port {
1078             PortNumber              1
1079             Name                    "Thrust"
1080             RTWStorageClass         "Auto"
1081             DataLoggingNameMode     "SignalName"
1082           }
1083         }
1084         Block {
1085           BlockType               Constant
1086           Name                    "Gravity"
1087           SID                     "30"
1088           Position                [115, 80, 145, 110]
1089           ZOrder                  -5
1090           Value                   "-9.81"
1091         }
1092         Block {
1093           BlockType               Integrator
1094           Name                    "Integrator"
1095           SID                     "31"
1096           Ports                   [1, 1]
1097           Position                [305, 35, 335, 65]
1098           ZOrder                  -2
1099           Port {
1100             PortNumber              1
1101             Name                    "Velocity"
1102             RTWStorageClass         "Auto"
1103             DataLoggingNameMode     "SignalName"
1104           }
1105         }
1106         Block {
1107           BlockType               Integrator
1108           Name                    "Integrator1"
1109           SID                     "32"
1110           Ports                   [1, 1]
1111           Position                [420, 35, 450, 65]
1112           ZOrder                  -2
1113         }
1114         Block {
1115           BlockType               Outport
1116           Name                    "Altitude"
1117           SID                     "59"
1118           Position                [520, 43, 550, 57]
1119           ZOrder                  -9
1120           IconDisplay             "Port number"
1121         }
1122         Block {
1123           BlockType               Outport
1124           Name                    "Measured Altitude"
1125           SID                     "60"
1126           Position                [570, 98, 600, 112]
1127           ZOrder                  -9
1128           Port                    "2"
1129           IconDisplay             "Port number"
1130         }
1131         Block {
1132           BlockType               Outport
1133           Name                    "Measured Accel"
1134           SID                     "61"
1135           Position                [335, 128, 365, 142]
1136           ZOrder                  -9
1137           Port                    "3"
1138           IconDisplay             "Port number"
1139         }
1140         Line {
1141           SrcBlock                "Add1"
1142           SrcPort                 1
1143           DstBlock                "Measured Accel"
1144           DstPort                 1
1145         }
1146         Line {
1147           SrcBlock                "Altitude Noise"
1148           SrcPort                 1
1149           DstBlock                "Add2"
1150           DstPort                 2
1151         }
1152         Line {
1153           SrcBlock                "Accel Noise"
1154           SrcPort                 1
1155           DstBlock                "Add1"
1156           DstPort                 2
1157         }
1158         Line {
1159           SrcBlock                "Integrator1"
1160           SrcPort                 1
1161           Points                  [15, 0]
1162           Branch {
1163             Points                  [-5, 0]
1164             DstBlock                "Add2"
1165             DstPort                 1
1166           }
1167           Branch {
1168             DstBlock                "Altitude"
1169             DstPort                 1
1170           }
1171         }
1172         Line {
1173           Name                    "Velocity"
1174           Labels                  [1, 0]
1175           SrcBlock                "Integrator"
1176           SrcPort                 1
1177           DstBlock                "Integrator1"
1178           DstPort                 1
1179         }
1180         Line {
1181           Name                    "Acceleration"
1182           SrcBlock                "Add"
1183           SrcPort                 1
1184           Points                  [15, 0]
1185           Branch {
1186             DstBlock                "Add1"
1187             DstPort                 1
1188           }
1189           Branch {
1190             Labels                  [1, 0]
1191             DstBlock                "Integrator"
1192             DstPort                 1
1193           }
1194         }
1195         Line {
1196           SrcBlock                "Gravity"
1197           SrcPort                 1
1198           Points                  [15, 0; 0, -40]
1199           DstBlock                "Add"
1200           DstPort                 2
1201         }
1202         Line {
1203           Name                    "Thrust"
1204           Labels                  [1, 0]
1205           SrcBlock                "Gain"
1206           SrcPort                 1
1207           DstBlock                "Add"
1208           DstPort                 1
1209         }
1210         Line {
1211           SrcBlock                "Add2"
1212           SrcPort                 1
1213           DstBlock                "Measured Altitude"
1214           DstPort                 1
1215         }
1216         Line {
1217           SrcBlock                "Throttle"
1218           SrcPort                 1
1219           DstBlock                "Gain"
1220           DstPort                 1
1221         }
1222       }
1223     }
1224     Block {
1225       BlockType               Outport
1226       Name                    "Altitude"
1227       SID                     "37"
1228       Position                [620, 123, 650, 137]
1229       ZOrder                  -9
1230       NamePlacement           "alternate"
1231       IconDisplay             "Port number"
1232     }
1233     Block {
1234       BlockType               Outport
1235       Name                    "Measured Altitude"
1236       SID                     "38"
1237       Position                [685, 143, 715, 157]
1238       ZOrder                  -9
1239       Port                    "2"
1240       IconDisplay             "Port number"
1241     }
1242     Block {
1243       BlockType               Outport
1244       Name                    "Measured Accel"
1245       SID                     "39"
1246       Position                [485, 163, 515, 177]
1247       ZOrder                  -9
1248       Port                    "3"
1249       IconDisplay             "Port number"
1250     }
1251     Line {
1252       SrcBlock                "Subsystem"
1253       SrcPort                 1
1254       DstBlock                "Altitude"
1255       DstPort                 1
1256     }
1257     Line {
1258       SrcBlock                "Subsystem"
1259       SrcPort                 2
1260       Points                  [105, 0]
1261       Branch {
1262         DstBlock                "Measured Altitude"
1263         DstPort                 1
1264       }
1265       Branch {
1266         Points                  [0, 55; -455, 0; 0, -45]
1267         DstBlock                "PID Controller (2DOF)"
1268         DstPort                 2
1269       }
1270     }
1271     Line {
1272       SrcBlock                "Subsystem"
1273       SrcPort                 3
1274       DstBlock                "Measured Accel"
1275       DstPort                 1
1276     }
1277     Line {
1278       SrcBlock                "Altitude Setpoint"
1279       SrcPort                 1
1280       DstBlock                "PID Controller (2DOF)"
1281       DstPort                 1
1282     }
1283     Line {
1284       SrcBlock                "PID Controller (2DOF)"
1285       SrcPort                 1
1286       DstBlock                "Add"
1287       DstPort                 2
1288     }
1289     Line {
1290       SrcBlock                "Add"
1291       SrcPort                 1
1292       Points                  [10, 0; 0, 5]
1293       DstBlock                "Subsystem"
1294       DstPort                 1
1295     }
1296     Line {
1297       SrcBlock                "Constant"
1298       SrcPort                 1
1299       Points                  [35, 0]
1300       DstBlock                "Add"
1301       DstPort                 1
1302     }
1303   }