Model { Name "ball" Version 3.0 SampleTimeColors off ShowPortDataTypes off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Thu Jun 07 17:06:05 2001" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "manning" ModifiedDateFormat "%" LastModifiedDate "Tue Jun 12 15:25:31 2001" ModelVersionFormat "1.%" ConfigurationManager "none" SimParamPage "Solver" StartTime "0.0" StopTime "10.0" 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" Decimation "1" AlgebraicLoopMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ZeroCross on SimulationMode "normal" RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly 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 OptimizeBlockIOStorage on BufferReuse on 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 "ball" Location [197, 188, 745, 410] 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 Reference Name "PID\nController" Ports [1, 1, 0, 0, 0] Position [265, 55, 295, 85] SourceBlock "simulink_extras/Additional\nLinear/PID Controll" "er" SourceType "PID Controller" P "50" I "0" D "20" Port { PortNumber 1 Name "Applied Force (N)" TestPoint off RTWStorageClass "Auto" } } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [145, 60, 165, 80] ShowName off IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on Port { PortNumber 1 Name "Position Error (m)" TestPoint off RTWStorageClass "Auto" } } Block { BlockType Constant Name "Target Position (m)" Position [60, 55, 90, 85] Value "0" } Block { BlockType Reference Name "ball" Description "\".\\ba" "ll.wm3\"||\"Position of Ball.x\"|-0.586387||\"Applied Force\"|3.13872e+068||" Ports [1, 1, 0, 0, 0] Position [400, 55, 460, 85] SourceBlock "vnplantblock/vNPlant" SourceType "" Port { PortNumber 1 Name "Position (m)" TestPoint off RTWStorageClass "Auto" } } Line { SrcBlock "Target Position (m)" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { Name "Position Error (m)" Labels [0, 0] SrcBlock "Sum" SrcPort 1 DstBlock "PID\nController" DstPort 1 } Line { Name "Applied Force (N)" Labels [0, 0] SrcBlock "PID\nController" SrcPort 1 DstBlock "ball" DstPort 1 } Line { Name "Position (m)" Labels [3, 0] SrcBlock "ball" SrcPort 1 Points [15, 0; 0, 95; -325, 0] DstBlock "Sum" DstPort 2 } } }