Model {
  Name			  "test2"
  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	  "%<Auto>"
  LastModifiedBy	  "Cornwell"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Mon May 14 17:19:24 2001"
  ModelVersionFormat	  "1.%<AutoIncrement:129>"
  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		    "test2"
    Location		    [236, 107, 808, 562]
    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		      Clock
      Name		      "Clock"
      Position		      [360, 50, 380, 70]
      DisplayTime	      off
      Decimation	      "10"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [365, 115, 395, 165]
      OpenFcn		      " "
      ShowPortLabels	      on
      System {
	Name			"Subsystem"
	Location		[103, 279, 722, 480]
	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			  "  [ 11.5409   -1.8503   -2.7246   -1.1819  "
"  3.9344; -1.8503    7.0678   -1.2837   -1.3484   -0.5910;-2.7246   -1.2837  "
"  7.5265   -1.2561   -1.9302;-1.1819   -1.3484   -1.2561    7.4664   -2.7155;"
"3.9344   -0.5910   -1.9302   -2.7155   14.0422]"
	}
	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(5,5)*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			  "[2 -1 0 0 0;-1 4 -3 0 0;0 -3 4 -1 0;0 0 -1 "
"1.5 -.5;0 0 0 -.5 2]*100000"
	}
	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, 15, 145, 45]
	  SourceBlock		  "simulink3/Math/Matrix\nGain"
	  SourceType		  "Matrix Gain"
	  K			  "[1;0;0;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
	  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		      [465, 130, 525, 160]
      NamePlacement	      "alternate"
      VariableName	      "yout"
      Buffer		      "inf"
      Decimation	      "1"
      SampleTime	      "dt"
      SaveFormat	      "Matrix"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace2"
      Position		      [455, 45, 515, 75]
      VariableName	      "time"
      Buffer		      "inf"
      Decimation	      "1"
      SampleTime	      "dt"
      SaveFormat	      "Matrix"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace3"
      Position		      [400, 255, 460, 285]
      NamePlacement	      "alternate"
      VariableName	      "force"
      Buffer		      "inf"
      Decimation	      "1"
      SampleTime	      "dt"
      SaveFormat	      "Matrix"
    }
    Line {
      SrcBlock		      "Subsystem"
      SrcPort		      1
      Points		      [50, 0]
      DstBlock		      "To Workspace1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock"
      SrcPort		      1
      DstBlock		      "To Workspace2"
      DstPort		      1
    }
    Line {
      Points		      [275, 140; 55, 0]
      Branch {
	DstBlock		"Subsystem"
	DstPort			1
      }
      Branch {
	Points			[0, 130]
	DstBlock		"To Workspace3"
	DstPort			1
      }
    }
  }
}