Model { Name "eg5p3" Version 2.09 SimParamPage Solver SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off PaperOrientation landscape PaperType usletter PaperUnits inches StartTime "0.0" StopTime "20.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 RTWRetainRTWFile off RTWTemplateMakefile "grt_unix.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 "eg5p3" Location [70, 200, 570, 460] Open on ScreenColor white Block { BlockType DiscreteTransferFcn Name "Discrete\nTransfer Fcn" Position [305, 46, 430, 84] Numerator "0.00199*[1 0.9934]" Denominator "[1 -1.9802 0.9802]" SampleTime "0.2" } Block { BlockType DiscreteTransferFcn Name "Discrete\nTransfer Fcn1" Position [175, 57, 280, 103] Numerator "[9.15 -9.15*0.9802]" Denominator "[1 -0.8187]" SampleTime "0.2" } Block { BlockType Step Name "Step" Position [20, 70, 50, 100] Time "1" Before "0" After "1" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [105, 67, 135, 98] Inputs "+-" } Block { BlockType ToWorkspace Name "To Workspace" Position [350, 185, 410, 215] VariableName "simout" Buffer "inf" Decimation "1" SampleTime "-1" } Line { SrcBlock "Discrete\nTransfer Fcn" SrcPort 1 Points [0, 75; -150, 0] Branch { Points [0, 60] DstBlock "To Workspace" DstPort 1 } Branch { Points [-205, 0; 0, -50] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "Step" SrcPort 1 Points [35, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Discrete\nTransfer Fcn1" SrcPort 1 Points [5, 0] DstBlock "Discrete\nTransfer Fcn" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [20, 0] DstBlock "Discrete\nTransfer Fcn1" DstPort 1 } } }