Model { Name "sum_tut1" Version 4.00 SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions on ShowPortDataTypes off RecordCoverage off CovPath "/" CovSaveName "covdata" CovNameIncrementing off CovHtmlReporting on BlockParametersDataTip on BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Thu Nov 19 15:53:29 1998" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "dfass" ModifiedDateFormat "%" LastModifiedDate "Tue Jul 04 15:11:38 2000" ModelVersionFormat "1.%" ConfigurationManager "none" DefaultBlockFontName "Helvetica" DefaultBlockFontSize 10 DefaultBlockFontWeight "normal" DefaultBlockFontAngle "normal" DefaultAnnotationFontName "Helvetica" DefaultAnnotationFontSize 10 DefaultAnnotationFontWeight "normal" DefaultAnnotationFontAngle "normal" DefaultLineFontName "Helvetica" DefaultLineFontSize 9 DefaultLineFontWeight "normal" DefaultLineFontAngle "normal" SimParamPage "Solver" StartTime "0.0" StopTime "10.0" SolverMode "SingleTasking" Solver "FixedStepDiscrete" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" 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 "Array" LimitDataPoints off MaxDataPoints "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" SingleTaskRateTransMsg "none" MultiTaskRateTransMsg "error" IntegerOverflowMsg "warning" CheckForMatrixSingularity "none" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" LinearizationMsg "none" VectorMatrixConversionMsg "none" SfunCompatibilityCheckMsg "none" BlockPriorityViolationMsg "warning" 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 BufferReuse on ParameterPooling on BlockReductionOpt off 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 "sum_tut1" Location [365, 308, 884, 569] 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 Mux Name "Mux" Ports [3, 1] Position [290, 111, 295, 149] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Reference Name "Signal From\nWorkspace" Ports [0, 1] Position [110, 88, 165, 122] SourceBlock "dspsrcs3/Signal From\nWorkspace" SourceType "Signal From Workspace" X "1:10" Ts "1" nsamps "1" OutputAfterFinalValue "Setting To Zero" } Block { BlockType Reference Name "Signal From\nWorkspace1" Ports [0, 1] Position [110, 158, 165, 192] SourceBlock "dspsrcs3/Signal From\nWorkspace" SourceType "Signal From Workspace" X "1:10" Ts "2" nsamps "1" OutputAfterFinalValue "Setting To Zero" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [215, 130, 235, 150] ShowName off IconShape "round" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType ToWorkspace Name "To Workspace" Position [335, 114, 440, 146] VariableName "dsp_examples_yout" MaxDataPoints "inf" Decimation "1" SampleTime "-1" SaveFormat "Array" } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "Signal From\nWorkspace" SrcPort 1 Points [0, 0; 55, 0] Branch { DstBlock "Sum1" DstPort 1 } Branch { Points [50, 0] DstBlock "Mux" DstPort 1 } } Line { SrcBlock "Signal From\nWorkspace1" SrcPort 1 Points [0, 0; 55, 0] Branch { DstBlock "Sum1" DstPort 2 } Branch { Points [30, 0; 0, -45] DstBlock "Mux" DstPort 2 } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "To Workspace" DstPort 1 } Annotation { Position [18, 22] HorizontalAlignment "left" ForegroundColor "blue" Text "Cross-Rate Sum Example" DropShadow on FontName "Arial" FontSize 16 FontWeight "bold" } Annotation { Position [236, 23] HorizontalAlignment "left" ForegroundColor "blue" Text "In this example, the Sum block adds two signals" " having \ndifferent rates. " FontName "Arial" } Annotation { Position [16, 248] HorizontalAlignment "left" ForegroundColor "red" Text "Note: This model creates a workspace variable c" "alled \"dsp_examples_yout\"." FontName "Arial" } } }