Created
February 29, 2012 17:30
-
-
Save tobin/1942771 to your computer and use it in GitHub Desktop.
Exponential running average
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to calculate an exponential running average. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Model { | |
Name "running_average" | |
Version 7.7 | |
MdlSubVersion 0 | |
GraphicalInterface { | |
NumRootInports 1 | |
Inport { | |
BusObject "" | |
Name "x" | |
} | |
NumRootOutports 2 | |
Outport { | |
BusObject "" | |
BusOutputAsStruct "off" | |
Name "mean" | |
} | |
Outport { | |
BusObject "" | |
BusOutputAsStruct "off" | |
Name "variance" | |
} | |
ParameterArgumentNames "" | |
ComputedModelVersion "1.3" | |
NumModelReferences 0 | |
NumTestPointedSignals 0 | |
} | |
SavedCharacterEncoding "UTF-8" | |
SaveDefaultBlockParams on | |
ScopeRefreshTime 0.035000 | |
OverrideScopeRefreshTime on | |
DisableAllScopes off | |
DataTypeOverride "UseLocalSettings" | |
DataTypeOverrideAppliesTo "AllNumericTypes" | |
MinMaxOverflowLogging "UseLocalSettings" | |
MinMaxOverflowArchiveMode "Overwrite" | |
MaxMDLFileLineLength 120 | |
Created "Wed Feb 29 18:09:48 2012" | |
Creator "tobin" | |
UpdateHistory "UpdateHistoryNever" | |
ModifiedByFormat "%<Auto>" | |
LastModifiedBy "tobin" | |
ModifiedDateFormat "%<Auto>" | |
LastModifiedDate "Wed Feb 29 21:33:47 2012" | |
RTWModifiedTimeStamp 252452005 | |
ModelVersionFormat "1.%<AutoIncrement:3>" | |
ConfigurationManager "None" | |
SampleTimeColors off | |
SampleTimeAnnotations off | |
LibraryLinkDisplay "none" | |
WideLines off | |
ShowLineDimensions off | |
ShowPortDataTypes 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" | |
LinearizationMsg "none" | |
Profile off | |
ParamWorkspaceSource "MATLABWorkspace" | |
AccelSystemTargetFile "accel.tlc" | |
AccelTemplateMakefile "accel_default_tmf" | |
AccelMakeCommand "make_rtw" | |
TryForcingSFcnDF off | |
Object { | |
$PropName "DataLoggingOverride" | |
$ObjectID 1 | |
$ClassName "Simulink.SimulationData.ModelLoggingInfo" | |
model_ "running_average" | |
signals_ [] | |
overrideMode_ [0.0] | |
Array { | |
Type "Cell" | |
Dimension 1 | |
Cell "running_average" | |
PropName "logAsSpecifiedByModels_" | |
} | |
Array { | |
Type "Cell" | |
Dimension 1 | |
Cell [] | |
PropName "logAsSpecifiedByModelsSSIDs_" | |
} | |
} | |
RecordCoverage off | |
CovPath "/" | |
CovSaveName "covdata" | |
CovMetricSettings "dw" | |
CovNameIncrementing off | |
CovHtmlReporting on | |
CovForceBlockReductionOff on | |
covSaveCumulativeToWorkspaceVar on | |
CovSaveSingleToWorkspaceVar on | |
CovCumulativeVarName "covCumulativeData" | |
CovCumulativeReport off | |
CovReportOnPause on | |
CovModelRefEnable "Off" | |
CovExternalEMLEnable off | |
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 2 | |
Version "1.11.0" | |
Array { | |
Type "Handle" | |
Dimension 8 | |
Simulink.SolverCC { | |
$ObjectID 3 | |
Version "1.11.0" | |
StartTime "0.0" | |
StopTime "10.0" | |
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" | |
ConcurrentTasks off | |
Solver "ode3" | |
SolverName "ode3" | |
SolverJacobianMethodControl "auto" | |
ShapePreserveControl "DisableAll" | |
ZeroCrossControl "UseLocalSettings" | |
ZeroCrossAlgorithm "Nonadaptive" | |
AlgebraicLoopSolver "TrustRegion" | |
SolverResetMethod "Fast" | |
PositivePriorityOrder off | |
AutoInsertRateTranBlk off | |
SampleTimeConstraint "Unconstrained" | |
InsertRTBMode "Whenever possible" | |
} | |
Simulink.DataIOCC { | |
$ObjectID 4 | |
Version "1.11.0" | |
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 | |
SaveTime on | |
ReturnWorkspaceOutputs off | |
StateSaveName "xout" | |
TimeSaveName "tout" | |
OutputSaveName "yout" | |
SignalLoggingName "logsout" | |
DSMLoggingName "dsmout" | |
OutputOption "RefineOutputTimes" | |
OutputTimes "[]" | |
ReturnWorkspaceOutputsName "out" | |
Refine "1" | |
} | |
Simulink.OptimizationCC { | |
$ObjectID 5 | |
Version "1.11.0" | |
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 | |
UseSpecifiedMinMax off | |
InlineInvariantSignals off | |
OptimizeBlockIOStorage on | |
BufferReuse on | |
EnhancedBackFolding off | |
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 | |
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 | |
AccelParallelForEachSubsystem on | |
} | |
Simulink.DebuggingCC { | |
$ObjectID 6 | |
Version "1.11.0" | |
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 "Use local settings" | |
SignalLabelMismatchMsg "none" | |
UnconnectedInputMsg "warning" | |
UnconnectedOutputMsg "warning" | |
UnconnectedLineMsg "warning" | |
SFcnCompatibilityMsg "none" | |
UniqueDataStoreMsg "none" | |
BusObjectLabelMismatch "warning" | |
RootOutportRequireBusObject "warning" | |
AssertControl "UseLocalSettings" | |
EnableOverflowDetection off | |
ModelReferenceIOMsg "none" | |
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" | |
} | |
Simulink.HardwareCC { | |
$ObjectID 7 | |
Version "1.11.0" | |
ProdBitPerChar 8 | |
ProdBitPerShort 16 | |
ProdBitPerInt 32 | |
ProdBitPerLong 32 | |
ProdBitPerFloat 32 | |
ProdBitPerDouble 64 | |
ProdBitPerPointer 32 | |
ProdLargestAtomicInteger "Char" | |
ProdLargestAtomicFloat "None" | |
ProdIntDivRoundTo "Undefined" | |
ProdEndianess "Unspecified" | |
ProdWordSize 32 | |
ProdShiftRightIntArith on | |
ProdHWDeviceType "32-bit Generic" | |
TargetBitPerChar 8 | |
TargetBitPerShort 16 | |
TargetBitPerInt 32 | |
TargetBitPerLong 32 | |
TargetBitPerFloat 32 | |
TargetBitPerDouble 64 | |
TargetBitPerPointer 32 | |
TargetLargestAtomicInteger "Char" | |
TargetLargestAtomicFloat "None" | |
TargetShiftRightIntArith on | |
TargetIntDivRoundTo "Undefined" | |
TargetEndianess "Unspecified" | |
TargetWordSize 32 | |
TargetTypeEmulationWarnSuppressLevel 0 | |
TargetPreprocMaxBitsSint 32 | |
TargetPreprocMaxBitsUint 32 | |
TargetHWDeviceType "Specified" | |
TargetUnknown off | |
ProdEqTarget on | |
} | |
Simulink.ModelReferenceCC { | |
$ObjectID 8 | |
Version "1.11.0" | |
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 9 | |
Version "1.11.0" | |
SFSimEnableDebug on | |
SFSimOverflowDetection on | |
SFSimEcho on | |
SimBlas on | |
SimCtrlC on | |
SimExtrinsic on | |
SimIntegrity on | |
SimUseLocalCustomCode off | |
SimParseCustomCode on | |
SimBuildMode "sf_incremental_build" | |
} | |
Simulink.RTWCC { | |
$BackupClass "Simulink.RTWCC" | |
$ObjectID 10 | |
Version "1.11.0" | |
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" | |
GenCodeOnly off | |
MakeCommand "make_rtw" | |
GenerateMakefile on | |
TemplateMakefile "grt_default_tmf" | |
GenerateReport off | |
SaveLog off | |
RTWVerbose on | |
RetainRTWFile off | |
ProfileTLC off | |
TLCDebug off | |
TLCCoverage off | |
TLCAssert off | |
ProcessScriptMode "Default" | |
ConfigurationMode "Optimized" | |
ConfigAtBuild off | |
RTWUseLocalCustomCode off | |
RTWUseSimCustomCode off | |
IncludeHyperlinkInReport off | |
LaunchReport off | |
TargetLang "C" | |
IncludeBusHierarchyInRTWFileBlockHierarchyMap off | |
IncludeERTFirstTime off | |
GenerateTraceInfo off | |
GenerateTraceReport off | |
GenerateTraceReportSl off | |
GenerateTraceReportSf off | |
GenerateTraceReportEml off | |
GenerateCodeInfo off | |
GenerateSLWebview off | |
GenerateCodeMetricsReport off | |
RTWCompilerOptimization "Off" | |
CheckMdlBeforeBuild "Off" | |
CustomRebuildMode "OnUpdate" | |
Array { | |
Type "Handle" | |
Dimension 2 | |
Simulink.CodeAppCC { | |
$ObjectID 11 | |
Version "1.11.0" | |
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 | |
IgnoreCustomStorageClasses on | |
IgnoreTestpoints off | |
IncHierarchyInIds off | |
MaxIdLength 31 | |
PreserveName off | |
PreserveNameWithParent off | |
ShowEliminatedStatement off | |
IncAutoGenComments off | |
SimulinkDataObjDesc off | |
SFDataObjDesc off | |
MATLABFcnDesc off | |
IncDataTypeInIds off | |
MangleLength 1 | |
CustomSymbolStrGlobalVar "$R$N$M" | |
CustomSymbolStrType "$N$R$M" | |
CustomSymbolStrField "$N$M" | |
CustomSymbolStrFcn "$R$N$M$F" | |
CustomSymbolStrFcnArg "rt$I$N$M" | |
CustomSymbolStrBlkIO "rtb_$N$M" | |
CustomSymbolStrTmpVar "$N$M" | |
CustomSymbolStrMacro "$R$N$M" | |
DefineNamingRule "None" | |
ParamNamingRule "None" | |
SignalNamingRule "None" | |
InsertBlockDesc off | |
InsertPolySpaceComments off | |
SimulinkBlockComments on | |
MATLABSourceComments off | |
EnableCustomComments off | |
InlinedPrmAccess "Literals" | |
ReqsInCode off | |
UseSimReservedNames off | |
} | |
Simulink.GRTTargetCC { | |
$BackupClass "Simulink.TargetCC" | |
$ObjectID 12 | |
Version "1.11.0" | |
Array { | |
Type "Cell" | |
Dimension 16 | |
Cell "GeneratePreprocessorConditionals" | |
Cell "IncludeMdlTerminateFcn" | |
Cell "CombineOutputUpdateFcns" | |
Cell "SuppressErrorStatus" | |
Cell "ERTCustomFileBanners" | |
Cell "GenerateSampleERTMain" | |
Cell "GenerateTestInterfaces" | |
Cell "ModelStepFunctionPrototypeControlCompliant" | |
Cell "CPPClassGenCompliant" | |
Cell "MultiInstanceERTCode" | |
Cell "PurelyIntegerCode" | |
Cell "SupportComplex" | |
Cell "SupportAbsoluteTime" | |
Cell "SupportContinuousTime" | |
Cell "SupportNonInlinedSFcns" | |
Cell "PortableWordSizes" | |
PropName "DisabledProps" | |
} | |
TargetFcnLib "ansi_tfl_table_tmw.mat" | |
TargetLibSuffix "" | |
TargetPreCompLibLocation "" | |
TargetFunctionLibrary "ANSI_C" | |
UtilityFuncGeneration "Auto" | |
ERTMultiwordTypeDef "System defined" | |
FunctionExecutionProfile off | |
CodeExecutionProfiling off | |
ERTCodeCoverageTool "None" | |
ERTMultiwordLength 256 | |
MultiwordLength 2048 | |
GenerateFullHeader on | |
GenerateSampleERTMain off | |
GenerateTestInterfaces off | |
IsPILTarget off | |
ModelReferenceCompliant on | |
ParMdlRefBuildCompliant on | |
CompOptLevelCompliant 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 | |
SupportNonFinite on | |
SupportComplex on | |
PurelyIntegerCode off | |
SupportContinuousTime on | |
SupportNonInlinedSFcns on | |
SupportVariableSizeSignals off | |
EnableShiftOperators on | |
ParenthesesLevel "Nominal" | |
PortableWordSizes off | |
ModelStepFunctionPrototypeControlCompliant off | |
CPPClassGenCompliant off | |
AutosarCompliant 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 | |
} | |
PropName "Components" | |
} | |
} | |
PropName "Components" | |
} | |
Name "Configuration" | |
CurrentDlgPage "Solver" | |
ConfigPrmDlgPosition [ 0, 0, 882, 662 ] | |
} | |
PropName "ConfigurationSets" | |
} | |
Simulink.ConfigSet { | |
$PropName "ActiveConfigurationSet" | |
$ObjectID 2 | |
} | |
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" | |
} | |
BlockParameterDefaults { | |
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 Product | |
Inputs "2" | |
Multiplication "Element-wise(.*)" | |
CollapseMode "All dimensions" | |
CollapseDim "1" | |
InputSameDT on | |
OutMin "[]" | |
OutMax "[]" | |
OutDataTypeStr "Inherit: Same as first input" | |
LockScale off | |
RndMeth "Zero" | |
SaturateOnIntegerOverflow on | |
SampleTime "-1" | |
} | |
Block { | |
BlockType Sum | |
IconShape "rectangular" | |
Inputs "++" | |
CollapseMode "All dimensions" | |
CollapseDim "1" | |
InputSameDT on | |
AccumDataTypeStr "Inherit: Inherit via internal rule" | |
OutMin "[]" | |
OutMax "[]" | |
OutDataTypeStr "Inherit: Same as first input" | |
LockScale off | |
RndMeth "Floor" | |
SaturateOnIntegerOverflow on | |
SampleTime "-1" | |
} | |
Block { | |
BlockType UnitDelay | |
X0 "0" | |
InputProcessing "Inherited" | |
SampleTime "1" | |
StateMustResolveToSignalObject off | |
RTWStateStorageClass "Auto" | |
} | |
} | |
System { | |
Name "running_average" | |
Location [323, 94, 1296, 747] | |
Open on | |
ModelBrowserVisibility off | |
ModelBrowserWidth 200 | |
ScreenColor "white" | |
PaperOrientation "landscape" | |
PaperPositionMode "auto" | |
PaperType "usletter" | |
PaperUnits "inches" | |
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] | |
TiledPageScale 1 | |
ShowPageBoundaries off | |
ZoomFactor "100" | |
ReportName "simulink-default.rpt" | |
SIDHighWatermark "28" | |
Block { | |
BlockType Inport | |
Name "x" | |
SID "28" | |
Position [45, 73, 75, 87] | |
IconDisplay "Port number" | |
} | |
Block { | |
BlockType Gain | |
Name "Gain" | |
SID "2" | |
Position [430, 146, 500, 204] | |
Gain "a" | |
ParamDataTypeStr "Inherit: Inherit via internal rule" | |
OutDataTypeStr "Inherit: Inherit via internal rule" | |
SaturateOnIntegerOverflow off | |
} | |
Block { | |
BlockType Gain | |
Name "Gain1" | |
SID "3" | |
Position [430, 246, 500, 304] | |
Gain "1-a" | |
ParamDataTypeStr "Inherit: Inherit via internal rule" | |
OutDataTypeStr "Inherit: Inherit via internal rule" | |
SaturateOnIntegerOverflow off | |
} | |
Block { | |
BlockType Gain | |
Name "Gain2" | |
SID "16" | |
Position [430, 381, 500, 439] | |
Gain "a" | |
ParamDataTypeStr "Inherit: Inherit via internal rule" | |
OutDataTypeStr "Inherit: Inherit via internal rule" | |
SaturateOnIntegerOverflow off | |
} | |
Block { | |
BlockType Gain | |
Name "Gain3" | |
SID "17" | |
Position [430, 481, 500, 539] | |
Gain "1-a" | |
ParamDataTypeStr "Inherit: Inherit via internal rule" | |
OutDataTypeStr "Inherit: Inherit via internal rule" | |
SaturateOnIntegerOverflow off | |
} | |
Block { | |
BlockType Product | |
Name "Product" | |
SID "7" | |
Ports [2, 1] | |
Position [170, 327, 200, 358] | |
InputSameDT off | |
OutDataTypeStr "Inherit: Inherit via internal rule" | |
SaturateOnIntegerOverflow off | |
} | |
Block { | |
BlockType Product | |
Name "Product1" | |
SID "14" | |
Ports [2, 1] | |
Position [705, 327, 735, 358] | |
InputSameDT off | |
OutDataTypeStr "Inherit: Inherit via internal rule" | |
SaturateOnIntegerOverflow off | |
} | |
Block { | |
BlockType Sum | |
Name "Sum" | |
SID "4" | |
Ports [2, 1] | |
Position [525, 165, 545, 185] | |
ShowName off | |
IconShape "round" | |
Inputs "|++" | |
InputSameDT off | |
OutDataTypeStr "Inherit: Inherit via internal rule" | |
SaturateOnIntegerOverflow off | |
} | |
Block { | |
BlockType Sum | |
Name "Sum1" | |
SID "18" | |
Ports [2, 1] | |
Position [525, 400, 545, 420] | |
ShowName off | |
IconShape "round" | |
Inputs "|++" | |
InputSameDT off | |
OutDataTypeStr "Inherit: Inherit via internal rule" | |
SaturateOnIntegerOverflow off | |
} | |
Block { | |
BlockType Sum | |
Name "Sum2" | |
SID "13" | |
Ports [2, 1] | |
Position [785, 400, 805, 420] | |
NamePlacement "alternate" | |
ShowName off | |
IconShape "round" | |
Inputs "-+|" | |
InputSameDT off | |
OutDataTypeStr "Inherit: Inherit via internal rule" | |
SaturateOnIntegerOverflow off | |
} | |
Block { | |
BlockType UnitDelay | |
Name "Unit Delay" | |
SID "1" | |
Position [340, 258, 375, 292] | |
InputProcessing "Elements as channels (sample based)" | |
SampleTime "-1" | |
} | |
Block { | |
BlockType UnitDelay | |
Name "Unit Delay1" | |
SID "19" | |
Position [340, 493, 375, 527] | |
InputProcessing "Elements as channels (sample based)" | |
SampleTime "-1" | |
} | |
Block { | |
BlockType Outport | |
Name "mean" | |
SID "5" | |
Position [845, 168, 875, 182] | |
IconDisplay "Port number" | |
} | |
Block { | |
BlockType Outport | |
Name "variance" | |
SID "15" | |
Position [845, 403, 875, 417] | |
Port "2" | |
IconDisplay "Port number" | |
} | |
Line { | |
SrcBlock "Gain" | |
SrcPort 1 | |
DstBlock "Sum" | |
DstPort 1 | |
} | |
Line { | |
SrcBlock "Unit Delay" | |
SrcPort 1 | |
DstBlock "Gain1" | |
DstPort 1 | |
} | |
Line { | |
SrcBlock "Gain1" | |
SrcPort 1 | |
Points [30, 0] | |
DstBlock "Sum" | |
DstPort 2 | |
} | |
Line { | |
SrcBlock "Sum" | |
SrcPort 1 | |
Points [45, 0] | |
Branch { | |
Points [60, 0] | |
Branch { | |
Points [0, 160] | |
Branch { | |
DstBlock "Product1" | |
DstPort 1 | |
} | |
Branch { | |
Points [0, 15] | |
DstBlock "Product1" | |
DstPort 2 | |
} | |
} | |
Branch { | |
DstBlock "mean" | |
DstPort 1 | |
} | |
} | |
Branch { | |
Points [0, 170; -300, 0; 0, -70] | |
DstBlock "Unit Delay" | |
DstPort 1 | |
} | |
} | |
Line { | |
SrcBlock "Gain2" | |
SrcPort 1 | |
DstBlock "Sum1" | |
DstPort 1 | |
} | |
Line { | |
SrcBlock "Unit Delay1" | |
SrcPort 1 | |
DstBlock "Gain3" | |
DstPort 1 | |
} | |
Line { | |
SrcBlock "Gain3" | |
SrcPort 1 | |
Points [30, 0] | |
DstBlock "Sum1" | |
DstPort 2 | |
} | |
Line { | |
SrcBlock "Sum1" | |
SrcPort 1 | |
Points [45, 0] | |
Branch { | |
Points [0, 170; -300, 0; 0, -70] | |
DstBlock "Unit Delay1" | |
DstPort 1 | |
} | |
Branch { | |
DstBlock "Sum2" | |
DstPort 2 | |
} | |
} | |
Line { | |
SrcBlock "Product" | |
SrcPort 1 | |
Points [25, 0; 0, 65] | |
DstBlock "Gain2" | |
DstPort 1 | |
} | |
Line { | |
SrcBlock "Sum2" | |
SrcPort 1 | |
DstBlock "variance" | |
DstPort 1 | |
} | |
Line { | |
SrcBlock "Product1" | |
SrcPort 1 | |
Points [55, 0] | |
DstBlock "Sum2" | |
DstPort 1 | |
} | |
Line { | |
SrcBlock "x" | |
SrcPort 1 | |
Points [35, 0; 0, 95] | |
Branch { | |
Points [0, 160] | |
Branch { | |
DstBlock "Product" | |
DstPort 1 | |
} | |
Branch { | |
Points [0, 15] | |
DstBlock "Product" | |
DstPort 2 | |
} | |
} | |
Branch { | |
DstBlock "Gain" | |
DstPort 1 | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Model { | |
Name "running_average2" | |
Version 7.7 | |
MdlSubVersion 0 | |
GraphicalInterface { | |
NumRootInports 1 | |
Inport { | |
BusObject "" | |
Name "x" | |
} | |
NumRootOutports 2 | |
Outport { | |
BusObject "" | |
BusOutputAsStruct "off" | |
Name "mean" | |
} | |
Outport { | |
BusObject "" | |
BusOutputAsStruct "off" | |
Name "variance" | |
} | |
ParameterArgumentNames "" | |
ComputedModelVersion "1.4" | |
NumModelReferences 0 | |
NumTestPointedSignals 0 | |
} | |
SavedCharacterEncoding "UTF-8" | |
SaveDefaultBlockParams on | |
ScopeRefreshTime 0.035000 | |
OverrideScopeRefreshTime on | |
DisableAllScopes off | |
DataTypeOverride "UseLocalSettings" | |
DataTypeOverrideAppliesTo "AllNumericTypes" | |
MinMaxOverflowLogging "UseLocalSettings" | |
MinMaxOverflowArchiveMode "Overwrite" | |
MaxMDLFileLineLength 120 | |
Created "Wed Feb 29 18:09:48 2012" | |
Creator "tobin" | |
UpdateHistory "UpdateHistoryNever" | |
ModifiedByFormat "%<Auto>" | |
LastModifiedBy "tobin" | |
ModifiedDateFormat "%<Auto>" | |
LastModifiedDate "Wed Feb 29 21:33:45 2012" | |
RTWModifiedTimeStamp 252451616 | |
ModelVersionFormat "1.%<AutoIncrement:4>" | |
ConfigurationManager "None" | |
SampleTimeColors off | |
SampleTimeAnnotations off | |
LibraryLinkDisplay "none" | |
WideLines off | |
ShowLineDimensions off | |
ShowPortDataTypes 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" | |
LinearizationMsg "none" | |
Profile off | |
ParamWorkspaceSource "MATLABWorkspace" | |
AccelSystemTargetFile "accel.tlc" | |
AccelTemplateMakefile "accel_default_tmf" | |
AccelMakeCommand "make_rtw" | |
TryForcingSFcnDF off | |
Object { | |
$PropName "DataLoggingOverride" | |
$ObjectID 1 | |
$ClassName "Simulink.SimulationData.ModelLoggingInfo" | |
model_ "running_average2" | |
overrideMode_ [0.0] | |
Array { | |
Type "Cell" | |
Dimension 1 | |
Cell "running_average2" | |
PropName "logAsSpecifiedByModels_" | |
} | |
Array { | |
Type "Cell" | |
Dimension 1 | |
Cell [] | |
PropName "logAsSpecifiedByModelsSSIDs_" | |
} | |
} | |
RecordCoverage off | |
CovPath "/" | |
CovSaveName "covdata" | |
CovMetricSettings "dw" | |
CovNameIncrementing off | |
CovHtmlReporting on | |
CovForceBlockReductionOff on | |
covSaveCumulativeToWorkspaceVar on | |
CovSaveSingleToWorkspaceVar on | |
CovCumulativeVarName "covCumulativeData" | |
CovCumulativeReport off | |
CovReportOnPause on | |
CovModelRefEnable "Off" | |
CovExternalEMLEnable off | |
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 2 | |
Version "1.11.0" | |
Array { | |
Type "Handle" | |
Dimension 8 | |
Simulink.SolverCC { | |
$ObjectID 3 | |
Version "1.11.0" | |
StartTime "0.0" | |
StopTime "10.0" | |
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" | |
ConcurrentTasks off | |
Solver "ode3" | |
SolverName "ode3" | |
SolverJacobianMethodControl "auto" | |
ShapePreserveControl "DisableAll" | |
ZeroCrossControl "UseLocalSettings" | |
ZeroCrossAlgorithm "Nonadaptive" | |
AlgebraicLoopSolver "TrustRegion" | |
SolverResetMethod "Fast" | |
PositivePriorityOrder off | |
AutoInsertRateTranBlk off | |
SampleTimeConstraint "Unconstrained" | |
InsertRTBMode "Whenever possible" | |
} | |
Simulink.DataIOCC { | |
$ObjectID 4 | |
Version "1.11.0" | |
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 | |
SaveTime on | |
ReturnWorkspaceOutputs off | |
StateSaveName "xout" | |
TimeSaveName "tout" | |
OutputSaveName "yout" | |
SignalLoggingName "logsout" | |
DSMLoggingName "dsmout" | |
OutputOption "RefineOutputTimes" | |
OutputTimes "[]" | |
ReturnWorkspaceOutputsName "out" | |
Refine "1" | |
} | |
Simulink.OptimizationCC { | |
$ObjectID 5 | |
Version "1.11.0" | |
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 | |
UseSpecifiedMinMax off | |
InlineInvariantSignals off | |
OptimizeBlockIOStorage on | |
BufferReuse on | |
EnhancedBackFolding off | |
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 | |
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 | |
AccelParallelForEachSubsystem on | |
} | |
Simulink.DebuggingCC { | |
$ObjectID 6 | |
Version "1.11.0" | |
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 "Use local settings" | |
SignalLabelMismatchMsg "none" | |
UnconnectedInputMsg "warning" | |
UnconnectedOutputMsg "warning" | |
UnconnectedLineMsg "warning" | |
SFcnCompatibilityMsg "none" | |
UniqueDataStoreMsg "none" | |
BusObjectLabelMismatch "warning" | |
RootOutportRequireBusObject "warning" | |
AssertControl "UseLocalSettings" | |
EnableOverflowDetection off | |
ModelReferenceIOMsg "none" | |
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" | |
} | |
Simulink.HardwareCC { | |
$ObjectID 7 | |
Version "1.11.0" | |
ProdBitPerChar 8 | |
ProdBitPerShort 16 | |
ProdBitPerInt 32 | |
ProdBitPerLong 32 | |
ProdBitPerFloat 32 | |
ProdBitPerDouble 64 | |
ProdBitPerPointer 32 | |
ProdLargestAtomicInteger "Char" | |
ProdLargestAtomicFloat "None" | |
ProdIntDivRoundTo "Undefined" | |
ProdEndianess "Unspecified" | |
ProdWordSize 32 | |
ProdShiftRightIntArith on | |
ProdHWDeviceType "32-bit Generic" | |
TargetBitPerChar 8 | |
TargetBitPerShort 16 | |
TargetBitPerInt 32 | |
TargetBitPerLong 32 | |
TargetBitPerFloat 32 | |
TargetBitPerDouble 64 | |
TargetBitPerPointer 32 | |
TargetLargestAtomicInteger "Char" | |
TargetLargestAtomicFloat "None" | |
TargetShiftRightIntArith on | |
TargetIntDivRoundTo "Undefined" | |
TargetEndianess "Unspecified" | |
TargetWordSize 32 | |
TargetTypeEmulationWarnSuppressLevel 0 | |
TargetPreprocMaxBitsSint 32 | |
TargetPreprocMaxBitsUint 32 | |
TargetHWDeviceType "Specified" | |
TargetUnknown off | |
ProdEqTarget on | |
} | |
Simulink.ModelReferenceCC { | |
$ObjectID 8 | |
Version "1.11.0" | |
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 9 | |
Version "1.11.0" | |
SFSimEnableDebug on | |
SFSimOverflowDetection on | |
SFSimEcho on | |
SimBlas on | |
SimCtrlC on | |
SimExtrinsic on | |
SimIntegrity on | |
SimUseLocalCustomCode off | |
SimParseCustomCode on | |
SimBuildMode "sf_incremental_build" | |
} | |
Simulink.RTWCC { | |
$BackupClass "Simulink.RTWCC" | |
$ObjectID 10 | |
Version "1.11.0" | |
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" | |
GenCodeOnly off | |
MakeCommand "make_rtw" | |
GenerateMakefile on | |
TemplateMakefile "grt_default_tmf" | |
GenerateReport off | |
SaveLog off | |
RTWVerbose on | |
RetainRTWFile off | |
ProfileTLC off | |
TLCDebug off | |
TLCCoverage off | |
TLCAssert off | |
ProcessScriptMode "Default" | |
ConfigurationMode "Optimized" | |
ConfigAtBuild off | |
RTWUseLocalCustomCode off | |
RTWUseSimCustomCode off | |
IncludeHyperlinkInReport off | |
LaunchReport off | |
TargetLang "C" | |
IncludeBusHierarchyInRTWFileBlockHierarchyMap off | |
IncludeERTFirstTime off | |
GenerateTraceInfo off | |
GenerateTraceReport off | |
GenerateTraceReportSl off | |
GenerateTraceReportSf off | |
GenerateTraceReportEml off | |
GenerateCodeInfo off | |
GenerateSLWebview off | |
GenerateCodeMetricsReport off | |
RTWCompilerOptimization "Off" | |
CheckMdlBeforeBuild "Off" | |
CustomRebuildMode "OnUpdate" | |
Array { | |
Type "Handle" | |
Dimension 2 | |
Simulink.CodeAppCC { | |
$ObjectID 11 | |
Version "1.11.0" | |
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 | |
IgnoreCustomStorageClasses on | |
IgnoreTestpoints off | |
IncHierarchyInIds off | |
MaxIdLength 31 | |
PreserveName off | |
PreserveNameWithParent off | |
ShowEliminatedStatement off | |
IncAutoGenComments off | |
SimulinkDataObjDesc off | |
SFDataObjDesc off | |
MATLABFcnDesc off | |
IncDataTypeInIds off | |
MangleLength 1 | |
CustomSymbolStrGlobalVar "$R$N$M" | |
CustomSymbolStrType "$N$R$M" | |
CustomSymbolStrField "$N$M" | |
CustomSymbolStrFcn "$R$N$M$F" | |
CustomSymbolStrFcnArg "rt$I$N$M" | |
CustomSymbolStrBlkIO "rtb_$N$M" | |
CustomSymbolStrTmpVar "$N$M" | |
CustomSymbolStrMacro "$R$N$M" | |
DefineNamingRule "None" | |
ParamNamingRule "None" | |
SignalNamingRule "None" | |
InsertBlockDesc off | |
InsertPolySpaceComments off | |
SimulinkBlockComments on | |
MATLABSourceComments off | |
EnableCustomComments off | |
InlinedPrmAccess "Literals" | |
ReqsInCode off | |
UseSimReservedNames off | |
} | |
Simulink.GRTTargetCC { | |
$BackupClass "Simulink.TargetCC" | |
$ObjectID 12 | |
Version "1.11.0" | |
Array { | |
Type "Cell" | |
Dimension 16 | |
Cell "GeneratePreprocessorConditionals" | |
Cell "IncludeMdlTerminateFcn" | |
Cell "CombineOutputUpdateFcns" | |
Cell "SuppressErrorStatus" | |
Cell "ERTCustomFileBanners" | |
Cell "GenerateSampleERTMain" | |
Cell "GenerateTestInterfaces" | |
Cell "ModelStepFunctionPrototypeControlCompliant" | |
Cell "CPPClassGenCompliant" | |
Cell "MultiInstanceERTCode" | |
Cell "PurelyIntegerCode" | |
Cell "SupportComplex" | |
Cell "SupportAbsoluteTime" | |
Cell "SupportContinuousTime" | |
Cell "SupportNonInlinedSFcns" | |
Cell "PortableWordSizes" | |
PropName "DisabledProps" | |
} | |
TargetFcnLib "ansi_tfl_table_tmw.mat" | |
TargetLibSuffix "" | |
TargetPreCompLibLocation "" | |
TargetFunctionLibrary "ANSI_C" | |
UtilityFuncGeneration "Auto" | |
ERTMultiwordTypeDef "System defined" | |
FunctionExecutionProfile off | |
CodeExecutionProfiling off | |
ERTCodeCoverageTool "None" | |
ERTMultiwordLength 256 | |
MultiwordLength 2048 | |
GenerateFullHeader on | |
GenerateSampleERTMain off | |
GenerateTestInterfaces off | |
IsPILTarget off | |
ModelReferenceCompliant on | |
ParMdlRefBuildCompliant on | |
CompOptLevelCompliant 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 | |
SupportNonFinite on | |
SupportComplex on | |
PurelyIntegerCode off | |
SupportContinuousTime on | |
SupportNonInlinedSFcns on | |
SupportVariableSizeSignals off | |
EnableShiftOperators on | |
ParenthesesLevel "Nominal" | |
PortableWordSizes off | |
ModelStepFunctionPrototypeControlCompliant off | |
CPPClassGenCompliant off | |
AutosarCompliant 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 | |
} | |
PropName "Components" | |
} | |
} | |
PropName "Components" | |
} | |
Name "Configuration" | |
CurrentDlgPage "Solver" | |
ConfigPrmDlgPosition [ 0, 0, 882, 662 ] | |
} | |
PropName "ConfigurationSets" | |
} | |
Simulink.ConfigSet { | |
$PropName "ActiveConfigurationSet" | |
$ObjectID 2 | |
} | |
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" | |
} | |
BlockParameterDefaults { | |
Block { | |
BlockType DiscreteFilter | |
Numerator "[1]" | |
Denominator "[1 0.5]" | |
InputProcessing "Elements as channels (sample based)" | |
InitialStates "0" | |
SampleTime "-1" | |
a0EqualsOne off | |
NumCoefMin "[]" | |
NumCoefMax "[]" | |
DenCoefMin "[]" | |
DenCoefMax "[]" | |
OutMin "[]" | |
OutMax "[]" | |
StateDataTypeStr "Inherit: Same as input" | |
NumCoefDataTypeStr "Inherit: Inherit via internal rule" | |
DenCoefDataTypeStr "Inherit: Inherit via internal rule" | |
NumProductDataTypeStr "Inherit: Inherit via internal rule" | |
DenProductDataTypeStr "Inherit: Inherit via internal rule" | |
NumAccumDataTypeStr "Inherit: Inherit via internal rule" | |
DenAccumDataTypeStr "Inherit: Inherit via internal rule" | |
OutDataTypeStr "Inherit: Inherit via internal rule" | |
LockScale off | |
RndMeth "Floor" | |
SaturateOnIntegerOverflow off | |
StateMustResolveToSignalObject off | |
RTWStateStorageClass "Auto" | |
} | |
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 Product | |
Inputs "2" | |
Multiplication "Element-wise(.*)" | |
CollapseMode "All dimensions" | |
CollapseDim "1" | |
InputSameDT on | |
OutMin "[]" | |
OutMax "[]" | |
OutDataTypeStr "Inherit: Same as first input" | |
LockScale off | |
RndMeth "Zero" | |
SaturateOnIntegerOverflow on | |
SampleTime "-1" | |
} | |
Block { | |
BlockType Sum | |
IconShape "rectangular" | |
Inputs "++" | |
CollapseMode "All dimensions" | |
CollapseDim "1" | |
InputSameDT on | |
AccumDataTypeStr "Inherit: Inherit via internal rule" | |
OutMin "[]" | |
OutMax "[]" | |
OutDataTypeStr "Inherit: Same as first input" | |
LockScale off | |
RndMeth "Floor" | |
SaturateOnIntegerOverflow on | |
SampleTime "-1" | |
} | |
} | |
System { | |
Name "running_average2" | |
Location [323, 94, 1296, 747] | |
Open on | |
ModelBrowserVisibility off | |
ModelBrowserWidth 200 | |
ScreenColor "white" | |
PaperOrientation "landscape" | |
PaperPositionMode "auto" | |
PaperType "usletter" | |
PaperUnits "inches" | |
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] | |
TiledPageScale 1 | |
ShowPageBoundaries off | |
ZoomFactor "100" | |
ReportName "simulink-default.rpt" | |
SIDHighWatermark "29" | |
Block { | |
BlockType Inport | |
Name "x" | |
SID "29" | |
Position [45, 73, 75, 87] | |
IconDisplay "Port number" | |
} | |
Block { | |
BlockType DiscreteFilter | |
Name "Discrete Filter" | |
SID "27" | |
Position [430, 150, 495, 200] | |
Numerator "[a]" | |
Denominator "[1 (1-a)]" | |
SampleTime "1" | |
} | |
Block { | |
BlockType DiscreteFilter | |
Name "Discrete Filter1" | |
SID "28" | |
Position [430, 385, 495, 435] | |
Numerator "[a]" | |
Denominator "[1 (1-a)]" | |
SampleTime "1" | |
} | |
Block { | |
BlockType Product | |
Name "Product" | |
SID "7" | |
Ports [2, 1] | |
Position [170, 327, 200, 358] | |
InputSameDT off | |
OutDataTypeStr "Inherit: Inherit via internal rule" | |
SaturateOnIntegerOverflow off | |
} | |
Block { | |
BlockType Product | |
Name "Product1" | |
SID "14" | |
Ports [2, 1] | |
Position [705, 327, 735, 358] | |
InputSameDT off | |
OutDataTypeStr "Inherit: Inherit via internal rule" | |
SaturateOnIntegerOverflow off | |
} | |
Block { | |
BlockType Sum | |
Name "Sum2" | |
SID "13" | |
Ports [2, 1] | |
Position [785, 400, 805, 420] | |
NamePlacement "alternate" | |
ShowName off | |
IconShape "round" | |
Inputs "-+|" | |
InputSameDT off | |
OutDataTypeStr "Inherit: Inherit via internal rule" | |
SaturateOnIntegerOverflow off | |
} | |
Block { | |
BlockType Outport | |
Name "mean" | |
SID "5" | |
Position [845, 168, 875, 182] | |
IconDisplay "Port number" | |
} | |
Block { | |
BlockType Outport | |
Name "variance" | |
SID "15" | |
Position [845, 403, 875, 417] | |
Port "2" | |
IconDisplay "Port number" | |
} | |
Line { | |
SrcBlock "Discrete Filter" | |
SrcPort 1 | |
Points [155, 0] | |
Branch { | |
Points [0, 160] | |
Branch { | |
DstBlock "Product1" | |
DstPort 1 | |
} | |
Branch { | |
Points [0, 15] | |
DstBlock "Product1" | |
DstPort 2 | |
} | |
} | |
Branch { | |
DstBlock "mean" | |
DstPort 1 | |
} | |
} | |
Line { | |
SrcBlock "Discrete Filter1" | |
SrcPort 1 | |
DstBlock "Sum2" | |
DstPort 2 | |
} | |
Line { | |
SrcBlock "Product" | |
SrcPort 1 | |
Points [85, 0; 0, 65] | |
DstBlock "Discrete Filter1" | |
DstPort 1 | |
} | |
Line { | |
SrcBlock "Sum2" | |
SrcPort 1 | |
DstBlock "variance" | |
DstPort 1 | |
} | |
Line { | |
SrcBlock "Product1" | |
SrcPort 1 | |
Points [55, 0] | |
DstBlock "Sum2" | |
DstPort 1 | |
} | |
Line { | |
SrcBlock "x" | |
SrcPort 1 | |
Points [35, 0; 0, 95] | |
Branch { | |
Points [0, 160] | |
Branch { | |
DstBlock "Product" | |
DstPort 1 | |
} | |
Branch { | |
Points [0, 15] | |
DstBlock "Product" | |
DstPort 2 | |
} | |
} | |
Branch { | |
DstBlock "Discrete Filter" | |
DstPort 1 | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment