Model { Name "AltexSim" Version 2.20 SimParamPage "WorkspaceI/O" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off StartTime "0.0" StopTime "10.0" Solver ode45 RelTol "1e-3" AbsTol "1e-6" 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" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg warning MinStepSizeMsg warning UnconnectedInputMsg warning UnconnectedOutputMsg warning UnconnectedLineMsg warning ConsistencyChecking off ZeroCross on SimulationMode normal RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWPlaceOutputsASAP off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode 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 "AltexSim" Location [5, 51, 506, 523] Open on ToolBar on StatusBar on ScreenColor cyan PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [175, 237, 210, 273] Inputs "2" } Block { BlockType Constant Name "Rudder" Position [45, 215, 105, 255] Value "deltaR" } Block { BlockType Reference Name "Rudder1" Ports [0, 1, 0, 0, 0] Position [45, 146, 140, 194] SourceBlock "simulink/Sources/Repeating\nSequence" SourceType "Repeating table" rep_seq_t "tvals" rep_seq_y "ovals" } Block { BlockType "S-Function" Name "S-Function" Ports [1, 1, 0, 0, 0] Position [230, 225, 340, 285] FunctionName "VehDyn" Parameters "CDynVec" PortCounts "[]" SFunctionModules "''" } Block { BlockType Constant Name "Thrust" Position [80, 285, 140, 325] Value "Tp" } Block { BlockType ToWorkspace Name "To Workspace" Position [415, 225, 480, 285] VariableName "yout" Buffer "inf" Decimation "1" SampleTime "-1" } Line { SrcBlock "S-Function" SrcPort 1 DstBlock "To Workspace" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "S-Function" DstPort 1 } Line { SrcBlock "Thrust" SrcPort 1 Points [15, 0] DstBlock "Mux" DstPort 2 } Line { SrcBlock "Rudder1" SrcPort 1 Points [15, 0] DstBlock "Mux" DstPort 1 } } }