Model { Name "test1" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "T" SolverMode "Auto" Solver "ode45" 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" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ConsistencyChecking "off" ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip on BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off 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 Created "Thu Aug 31 15:25:21 2000" Creator "Cornwell" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Cornwell" ModifiedDateFormat "%" LastModifiedDate "Wed May 16 10:53:10 2001" ModelVersionFormat "1.%" ConfigurationManager "none" 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 "test1" Location [341, 75, 913, 530] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "portrait" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Reference Name "Chirp Signal" Ports [0, 1, 0, 0, 0] Position [30, 25, 60, 55] SourceBlock "simulink3/Sources/Chirp Signal" SourceType "chirp" f1 "0.1" T "T" f2 "fs/2" } Block { BlockType Clock Name "Clock" Position [355, 20, 375, 40] DisplayTime off Decimation "10" } Block { BlockType Reference Name "Manual Switch" Ports [2, 1, 0, 0, 0] Position [105, 62, 135, 98] SourceBlock "simulink3/Nonlinear/Manual Switch" SourceType "Manual Switch" sw "1" action "0" } Block { BlockType Reference Name "Manual Switch2" Ports [2, 1, 0, 0, 0] Position [245, 57, 275, 93] SourceBlock "simulink3/Nonlinear/Manual Switch" SourceType "Manual Switch" sw "0" action "0" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [75, 127, 105, 158] Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType RandomNumber Name "Random\nNumber" Position [25, 95, 55, 125] Mean "0" Variance "F" Seed "seed" SampleTime "0" } Block { BlockType Scope Name "Scope2" Ports [1, 0, 0, 0, 0] Position [175, 194, 205, 226] Floating off Location [139, 417, 454, 721] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-1" YMax "1" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Step Name "Step" Position [25, 160, 55, 190] Time "Tburst" Before "1" After "0" SampleTime "0" } Block { BlockType SubSystem Name "Subsystem" Ports [1, 1, 0, 0, 0] Position [320, 85, 350, 135] OpenFcn " " ShowPortLabels on System { Name "Subsystem" Location [273, 308, 892, 509] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "In1" Position [45, 23, 75, 37] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Reference Name "Damping Matrix" Ports [1, 1, 0, 0, 0] Position [295, 85, 325, 115] Orientation "left" SourceBlock "simulink3/Math/Matrix\nGain" SourceType "Matrix Gain" K "[3.8313 -1.1234 -.2440;--1.1234 3.5873 -1.3" "674;-.244 -1.3674 2.4639]" } Block { BlockType Integrator Name "Integrator2" Ports [1, 1, 0, 0, 0] Position [305, 25, 335, 55] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "Integrator3" Ports [1, 1, 0, 0, 0] Position [375, 25, 405, 55] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Reference Name "Inverse of \nMass Matrix\n" Ports [1, 1, 0, 0, 0] Position [250, 25, 280, 55] SourceBlock "simulink3/Math/Matrix\nGain" SourceType "Matrix Gain" K "inv(eye(3,3)*2)" } Block { BlockType Reference Name "Stiffness Matrix" Ports [1, 1, 0, 0, 0] Position [270, 135, 300, 165] Orientation "left" SourceBlock "simulink3/Math/Matrix\nGain" SourceType "Matrix Gain" K "[20000 -10000 0 ;-10000 20000 -10000;0 -100" "00 10000]" } Block { BlockType Sum Name "Sum" Ports [3, 1, 0, 0, 0] Position [195, 30, 215, 50] ShowName off IconShape "round" Inputs "|+--" SaturateOnIntegerOverflow on } Block { BlockType Reference Name "make a vector\n" Ports [1, 1, 0, 0, 0] Position [115, 20, 145, 50] SourceBlock "simulink3/Math/Matrix\nGain" SourceType "Matrix Gain" K "[1;0;0]" } Block { BlockType Outport Name "Out1" Position [470, 33, 500, 47] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Integrator3" SrcPort 1 Points [40, 0] Branch { Points [0, 110] DstBlock "Stiffness Matrix" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Integrator2" SrcPort 1 Points [10, 0] Branch { DstBlock "Integrator3" DstPort 1 } Branch { Points [0, 60] DstBlock "Damping Matrix" DstPort 1 } } Line { SrcBlock "Inverse of \nMass Matrix\n" SrcPort 1 DstBlock "Integrator2" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Inverse of \nMass Matrix\n" DstPort 1 } Line { SrcBlock "Damping Matrix" SrcPort 1 Points [-85, 0] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Stiffness Matrix" SrcPort 1 Points [-81, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [20, 0] DstBlock "make a vector\n" DstPort 1 } Line { SrcBlock "make a vector\n" SrcPort 1 Points [34, 0] DstBlock "Sum" DstPort 1 } } } Block { BlockType ToWorkspace Name "To Workspace1" Position [460, 100, 520, 130] NamePlacement "alternate" VariableName "yout" Buffer "inf" Decimation "1" SampleTime "dt" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace2" Position [450, 15, 510, 45] VariableName "time" Buffer "inf" Decimation "1" SampleTime "dt" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace3" Position [345, 240, 405, 270] NamePlacement "alternate" VariableName "force" Buffer "inf" Decimation "1" SampleTime "dt" SaveFormat "Matrix" } Block { BlockType TransferFcn Name "anti-aliasing" Position [165, 62, 220, 98] Numerator "b" Denominator "a" } Line { SrcBlock "Subsystem" SrcPort 1 Points [90, 0] DstBlock "To Workspace1" DstPort 1 } Line { SrcBlock "Clock" SrcPort 1 DstBlock "To Workspace2" DstPort 1 } Line { SrcBlock "Chirp Signal" SrcPort 1 Points [25, 0] DstBlock "Manual Switch" DstPort 1 } Line { SrcBlock "Manual Switch" SrcPort 1 Points [0, 0] Branch { Points [5, 0] DstBlock "Scope2" DstPort 1 } Branch { Points [10, 0] Branch { DstBlock "anti-aliasing" DstPort 1 } Branch { Points [0, -55; 80, 0] DstBlock "Manual Switch2" DstPort 1 } } } Line { SrcBlock "Step" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Random\nNumber" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 Points [0, -45; -25, 0; 0, -10] DstBlock "Manual Switch" DstPort 2 } Line { SrcBlock "anti-aliasing" SrcPort 1 Points [5, 0] DstBlock "Manual Switch2" DstPort 2 } Line { SrcBlock "Manual Switch2" SrcPort 1 Points [0, 15; -20, 0; 0, 20; 35, 0] Branch { DstBlock "Subsystem" DstPort 1 } Branch { Points [0, 145] DstBlock "To Workspace3" DstPort 1 } } } }