Model { Name "ModelFirst" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths on ShowPortDataTypes off StartTime "0.0" StopTime "15" SolverMode "Auto" Solver "ode113" RelTol "1e-3" AbsTol "1e-3" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "0.002" 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 on 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 "Wed Apr 03 06:04:40 2002" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Thu Apr 25 17:59:09 2002" 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 "ModelFirst" Location [18, 74, 814, 556] Open on ModelBrowserVisibility off ModelBrowserWidth 212 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Scope Name "Accelerations" Ports [1, 0, 0, 0, 0] Position [330, 164, 360, 196] Floating off Location [194, 134, 518, 373] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Constant Name "Ground levels" Position [15, 133, 95, 167] Value "[30 10 0]" } Block { BlockType Scope Name "Positions" Ports [1, 0, 0, 0, 0] Position [330, 14, 360, 46] Floating off Location [34, 291, 517, 550] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-2.5" YMax "30" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType "S-Function" Name "S-Function" Ports [2, 3, 0, 0, 0] Position [185, 71, 250, 139] FunctionName "model" PortCounts "[]" SFunctionModules "''" } Block { BlockType Scope Name "Speeds" Ports [1, 0, 0, 0, 0] Position [330, 89, 360, 121] Floating off Location [11, 30, 335, 269] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Constant Name "Starting positions" Position [15, 43, 95, 77] Value "[50 40 10]" } Line { SrcBlock "S-Function" SrcPort 1 Points [35, 0; 0, -55] DstBlock "Positions" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 2 DstBlock "Speeds" DstPort 1 } Line { SrcBlock "S-Function" SrcPort 3 Points [35, 0; 0, 55] DstBlock "Accelerations" DstPort 1 } Line { SrcBlock "Ground levels" SrcPort 1 Points [35, 0; 0, -25] DstBlock "S-Function" DstPort 2 } Line { SrcBlock "Starting positions" SrcPort 1 Points [35, 0; 0, 30] DstBlock "S-Function" DstPort 1 } } }