Model { Name "tstswitc" Version 4.00 SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off RecordCoverage off CovPath "/" CovSaveName "covdata" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip on BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Tue Oct 20 09:12:39 1998" Creator "tdelve" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "ysong" ModifiedDateFormat "%" LastModifiedDate "Wed Aug 23 10:56:38 2000" ModelVersionFormat "1.%" ConfigurationManager "none" SimParamPage "Solver" StartTime "0.0" StopTime "200" SolverMode "SingleTasking" Solver "VariableStepDiscrete" RelTol "1e-3" AbsTol "1e-6" Refine "1" MaxStep ".1" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime off TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off 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 "tstswitc" Location [63, 334, 505, 588] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "Change\nthis value" Ports [1, 1] Position [170, 141, 220, 169] ForegroundColor "red" CopyFcn "slideg Copy" DeleteFcn "slideg DeleteBlock" LoadFcn "slideg Load" NameChangeFcn "slideg NameChange" OpenFcn "slideg Open" ParentCloseFcn "slideg ParentClose" ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" MaskPromptString "Low|Gain|High" MaskStyleString "edit,edit,edit" MaskTunableValueString "on,on,on" MaskCallbackString "||" MaskEnableString "on,on,on" MaskVisibilityString "on,on,on" MaskToolTipString "on,on,on" MaskDisplay "disp('1.001')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "0|1.001|3" MaskVariableAliases ",," System { Name "Change\nthis value" Location [360, 145, 860, 405] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [20, 75, 40, 95] Port "1" Interpolate on } Block { BlockType Gain Name "Change\nthis value" Position [90, 61, 140, 89] ForegroundColor "red" Gain "1.001" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "Out1" Position [170, 75, 190, 95] Port "1" OutputWhenDisabled "held" InitialOutput "0" } Line { SrcBlock "Change\nthis value" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "In1" SrcPort 1 DstBlock "Change\nthis value" DstPort 1 } } } Block { BlockType Constant Name "Constant" Position [120, 145, 140, 165] ShowName off Value "1" VectorParams1D on } Block { BlockType Reference Name "Graph" Ports [1] Position [370, 71, 400, 109] SourceBlock "com_sour/Graph" SourceType "Graph scope." tr "20" ym "-1.1" yma "1.2" color "'r-/b--/g-./k:/m*/ro/b+'" } Block { BlockType Mux Name "Mux" Ports [3, 1] Position [170, 63, 205, 97] ShowName off Inputs "3" DisplayOption "none" } Block { BlockType SignalGenerator Name "Signal\ngenerator" Position [35, 13, 80, 47] ShowName off WaveForm "sine" Amplitude "1.000000" Frequency "1.000000" Units "rad/sec" VectorParams1D on } Block { BlockType SignalGenerator Name "Signal\ngenerator1" Position [35, 63, 80, 97] ShowName off WaveForm "square" Amplitude "1.000000" Frequency "1.000000" Units "rad/sec" VectorParams1D on } Block { BlockType SignalGenerator Name "Signal\ngenerator2" Position [35, 108, 80, 142] ShowName off WaveForm "sawtooth" Amplitude "1.000000" Frequency "1.000000" Units "rad/sec" VectorParams1D on } Block { BlockType Reference Name "Signal switch" Ports [2, 1] Position [255, 68, 335, 112] ShowName off SourceBlock "com_util/Signal switch" SourceType "Vector signal re-distribution" sw "[1 2;2 3;3 1]" df "[0 0]" } Line { SrcBlock "Signal\ngenerator" SrcPort 1 Points [55, 0; 0, 40] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Signal\ngenerator1" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Signal\ngenerator2" SrcPort 1 Points [45, 0; 0, -35] DstBlock "Mux" DstPort 3 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Signal switch" DstPort 1 } Line { SrcBlock "Signal switch" SrcPort 1 DstBlock "Graph" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Change\nthis value" DstPort 1 } Line { SrcBlock "Change\nthis value" SrcPort 1 Points [5, 0; 0, -55] DstBlock "Signal switch" DstPort 2 } Annotation { Position [225, 232] Text "Warning: This model is obsolete and may be remo" "ved in the future." FontName "Arial" FontSize 12 } } }