Model { Name "rms_ref" Version 3.00 RequirementInfo "9" SampleTimeColors off WideVectorLines off ShowLineWidths on ShowPortDataTypes off RecordCoverage off BlockDataTips on BlockParametersDataTip on BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off PreLoadFcn "dsp_examples_u = [6 1 3 -7 2 5 8 0 -1 -3 2 1;1 3 9 " "2 4 1 6 2 5 0 4 17]';" PostLoadFcn "set_param(gcs,'SimulationCommand','Update')" Created "Mon Dec 20 11:46:01 1999" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "dfass" ModifiedDateFormat "%" LastModifiedDate "Tue Mar 07 18:23:55 2000" ModelVersionFormat "1.%" ConfigurationManager "none" SimParamPage "Solver" InvariantConstants off StartTime "0.0" StopTime "5" SolverMode "Auto" Solver "FixedStepDiscrete" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Matrix" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" SingleTaskRateTransMsg "none" MultiTaskRateTransMsg "error" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" LinearizationMsg "none" VectorMatrixConversionMsg "none" SfunCompatibilityCheckMsg "none" ArrayBoundsChecking "none" ConsistencyChecking "none" ZeroCross on Profile off SimulationMode "normal" RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off TLCProfiler off TLCDebug off TLCCoverage off AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect off ExtModeLogAll on OptimizeBlockIOStorage on BlockReductionOpt off BufferReuse on BooleanDataType off BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "rms_ref" Location [633, 509, 1165, 758] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Reference Name "Discrete \nImpulse" Ports [0, 1, 0, 0, 0] Position [175, 160, 215, 200] Orientation "up" NamePlacement "alternate" SourceBlock "dspsrcs3/Discrete \nImpulse" SourceType "Discrete Impulse " Delay "2" SampleTime "1" FrameSample "1" Datatype "Double" } Block { BlockType Reference Name "RMS" Ports [2, 1, 0, 0, 0] Position [235, 102, 310, 138] SourceBlock "dspstat3/RMS" SourceType "RMS" run on reset on } Block { BlockType Reference Name "Signal From\nWorkspace" Ports [0, 1, 0, 0, 0] Position [60, 94, 145, 126] SourceBlock "dspsrcs3/Signal From\nWorkspace" SourceType "Signal From Workspace" X "dsp_examples_u" Ts "1/3" nsamps "3" OutputAfterFinalValue "SettingToZero" } Block { BlockType ToWorkspace Name "To Workspace" Position [380, 104, 480, 136] VariableName "dsp_examples_yout" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Line { SrcBlock "Signal From\nWorkspace" SrcPort 1 DstBlock "RMS" DstPort 1 } Line { SrcBlock "Discrete \nImpulse" SrcPort 1 Points [0, -25] DstBlock "RMS" DstPort 2 } Line { SrcBlock "RMS" SrcPort 1 DstBlock "To Workspace" DstPort 1 } Annotation { Position [13, 22] HorizontalAlignment "left" ForegroundColor "blue" Text "RMS Example" DropShadow on FontName "Arial" FontSize 16 FontWeight "bold" } Annotation { Position [141, 23] HorizontalAlignment "left" ForegroundColor "blue" Text "In this example, the RMS block calculates the r" "unning RMS\nof a frame-based 3-by-2 (two-channel) matrix input." FontName "Arial" } Annotation { Position [11, 233] HorizontalAlignment "left" ForegroundColor "red" Text "Note: This model created workspace variables ca" "lled \"dsp_examples_u\" and \"dsp_examples_yout\"." FontName "Arial" } } }