Model { Name "sprmassdamp" Version 5.0 SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Sun Feb 13 17:09:12 2005" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Fri Feb 18 00:45:45 2005" ModelVersionFormat "1.%" ConfigurationManager "None" SimParamPage "Solver" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" 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 on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on RTWExpressionDepthLimit 5 SimulationMode "normal" Solver "ode45" SolverMode "Auto" StartTime "0.0" StopTime "25" MaxOrder 5 MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" RelTol "1e-6" AbsTol "auto" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" LoadExternalInput off ExternalInput "[t, u]" LoadInitialState off InitialState "xInitial" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" Decimation "1" LimitDataPoints on MaxDataPoints "1000" SignalLoggingName "sigsOut" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" CheckForMatrixSingularity "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SfunCompatibilityCheckMsg "none" RTWInlineParameters off BlockReductionOpt on BooleanDataType on ConditionallyExecuteInputs on ParameterPooling on OptimizeBlockIOStorage on ZeroCross on AssertionControl "UseLocalSettings" ProdHWDeviceType "Microprocessor" ProdHWWordLengths "8,16,32,32" RTWSystemTargetFile "grt.tlc" RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off RTWRetainRTWFile off TLCProfiler off TLCDebug off TLCCoverage off TLCAssertion off BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType BusCreator Inputs "4" DisplayOption "none" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ShowAdditionalParam off ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Ground } Block { BlockType Inport Port "1" PortDimensions "-1" SampleTime "-1" ShowAdditionalParam off LatchInput off DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" ZeroCross on } Block { BlockType MATLABFcn MATLABFcn "sin" OutputDimensions "-1" OutputSignalType "auto" Output1D on } Block { BlockType Outport Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Scope Floating off ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType "S-Function" FunctionName "system" PortCounts "[]" SFunctionModules "''" } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Switch Criteria "u2 >= Threshold" Threshold "0" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Inherit via internal rule" RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross on } Block { BlockType ToWorkspace VariableName "simulink_output" MaxDataPoints "1000" Decimation "1" SampleTime "0" } Block { BlockType TransferFcn Numerator "[1]" Denominator "[1 2 1]" AbsoluteTolerance "auto" Realization "auto" } } 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 "sprmassdamp" Location [109, 89, 673, 374] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType ToWorkspace Name "\n" Position [135, 66, 175, 84] VariableName "u" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "\n1" Position [510, 41, 550, 59] VariableName "v" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "\n2" Position [405, 138, 445, 162] ShowName off VariableName "x" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType BusCreator Name "Bus\nCreator" Ports [2, 1] Position [360, 71, 365, 109] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Gain Name "Gain" Position [467, 185, 513, 225] Orientation "down" NamePlacement "alternate" Gain "9" } Block { BlockType Gain Name "Gain1" Position [630, 190, 660, 220] Orientation "down" NamePlacement "alternate" Gain "12" } Block { BlockType Ground Name "Ground" Position [450, 270, 470, 290] Orientation "left" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [300, 85, 330, 115] } Block { BlockType Integrator Name "Integrator1" Ports [1, 1] Position [510, 85, 540, 115] } Block { BlockType MATLABFcn Name "MATLAB Fcn" Position [405, 85, 465, 115] MATLABFcn "batas" } Block { BlockType MATLABFcn Name "MATLAB Fcn1" Position [560, 85, 620, 115] MATLABFcn "satamp" } Block { BlockType Reference Name "Manual Switch" Ports [2, 1] Position [380, 252, 410, 288] Orientation "left" SourceBlock "simulink/Signal\nRouting/Manual Switch" SourceType "Manual Switch" sw "0" action "0" } Block { BlockType Scope Name "Scope" Ports [1] Position [665, 84, 695, 116] Location [188, 355, 512, 594] Open on NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope1" Ports [1] Position [520, 139, 550, 171] Location [188, 355, 512, 594] Open on NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } SaveName "ScopeData1" DataFormat "StructureWithTime" } Block { BlockType Scope Name "Scope2" Ports [1] Position [135, 129, 165, 161] Location [188, 355, 512, 594] Open on NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } SaveName "ScopeData2" DataFormat "StructureWithTime" } Block { BlockType Step Name "Step" Position [20, 85, 50, 115] Time "0" After "100" SampleTime "0" } Block { BlockType Step Name "Step1" Position [30, 195, 60, 225] Time "2" After "-200" SampleTime "0" } Block { BlockType Step Name "Step2" Position [75, 245, 105, 275] Time "5" After "100" SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [175, 235, 195, 255] Orientation "up" NamePlacement "alternate" ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [175, 90, 195, 110] NamePlacement "alternate" ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [80, 90, 100, 110] NamePlacement "alternate" ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [80, 155, 100, 175] Orientation "up" NamePlacement "alternate" ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType TransferFcn Name "Transfer Fcn" Position [220, 82, 280, 118] Denominator "[57]" } Line { SrcBlock "Transfer Fcn" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { Labels [1, 0] SrcBlock "Integrator1" SrcPort 1 DstBlock "MATLAB Fcn1" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [0, 15] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Bus\nCreator" DstPort 2 } Line { SrcBlock "MATLAB Fcn" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [5, 0] Branch { Points [0, 0] DstBlock "Integrator1" DstPort 1 } Branch { Points [0, 50] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 5] DstBlock "Scope1" DstPort 1 } } } Branch { Points [5, 0; 0, -50] DstBlock "\n1" DstPort 1 } } Line { SrcBlock "Bus\nCreator" SrcPort 1 Points [10, 0; 0, 10] Branch { DstBlock "MATLAB Fcn" DstPort 1 } Branch { Labels [1, 0] Points [0, 50] DstBlock "\n2" DstPort 1 } } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Transfer Fcn" DstPort 1 } Line { SrcBlock "Step" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Sum1" DstPort 1 } Branch { DstBlock "Scope2" DstPort 1 } Branch { DstBlock "\n" DstPort 1 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { Labels [2, 0] SrcBlock "MATLAB Fcn1" SrcPort 1 Points [0, 0; 20, 0] Branch { Points [0, 0] DstBlock "Scope" DstPort 1 } Branch { Points [0, 0] Branch { Labels [1, 0] DstBlock "Gain1" DstPort 1 } Branch { Points [0, -75; -300, 0] DstBlock "Bus\nCreator" DstPort 1 } } } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Step1" SrcPort 1 Points [25, 0] DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Step2" SrcPort 1 Points [15, 0; 0, -95] DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Gain1" SrcPort 1 Points [0, 35] DstBlock "Manual Switch" DstPort 1 } Line { SrcBlock "Manual Switch" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Ground" SrcPort 1 DstBlock "Manual Switch" DstPort 2 } } }