Model { Name "model1" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "4" SolverMode "Auto" Solver "ode45" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "0.01" 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 "Sat Apr 07 11:23:26 2001" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Sat Feb 09 03:37:34 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 "model1" Location [89, 157, 727, 372] 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 Controller\n(with Approximate\nDerivative)" Ports [1, 1, 0, 0, 0] Position [140, 35, 170, 65] FontName "Arial" FontSize 12 FontAngle "italic" SourceBlock "simulink_extras/Additional\nLinear/PID Controll" "er\n(with Approximate\nDerivative)" SourceType "PID(2) Controller" P "P" I "I" D "D" N "N" } Block { BlockType Scope Name "Scope1" Ports [1, 0, 0, 0, 0] Position [540, 109, 570, 141] FontName "Arial" FontSize 12 FontAngle "italic" Floating off Location [5, 30, 805, 583] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "14" YMin "0" YMax "1.1" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Step Name "Step" Position [30, 35, 60, 65] FontName "Arial" FontSize 12 FontAngle "italic" Time "0" Before "0" After "1" SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [90, 40, 110, 60] ShowName off FontName "Arial" FontSize 12 FontAngle "italic" IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType ToWorkspace Name "To Workspace" Position [470, 165, 530, 195] VariableName "qq" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "StructureWithTime" } Block { BlockType TransferFcn Name "Transfer Fcn" Position [290, 32, 350, 68] FontName "Arial" FontSize 12 FontAngle "italic" Numerator "[1]" Denominator "[1 1]" } Block { BlockType TransferFcn Name "Transfer Fcn1" Position [370, 32, 430, 68] FontName "Arial" FontSize 12 FontAngle "italic" Numerator "[1]" Denominator "[0.2 1]" } Block { BlockType TransferFcn Name "Transfer Fcn2" Position [210, 32, 270, 68] FontName "Arial" FontSize 12 FontAngle "italic" Numerator "[6]" Denominator "[3 1]" } Block { BlockType TransportDelay Name "Transport\nDelay" Position [455, 35, 485, 65] FontName "Arial" FontSize 12 FontAngle "italic" DelayTime "0.4" InitialInput "0" BufferSize "1024" } Block { BlockType Outport Name "NCD Outport" Position [525, 20, 585, 80] DropShadow on OpenFcn "optblock" FontName "Arial" FontSize 12 FontAngle "italic" Port "1" OutputWhenDisabled "held" InitialOutput "0" MaskType "NCD Outport" MaskDisplay "plot([0:10],[-.5 1.5 .6 1.3 .8 1.1 .95 1.02 .99" " 1 1]);\ndisp('\\n\\n NCD\\n OutPort 1'); " MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" } Line { SrcBlock "Transfer Fcn2" SrcPort 1 DstBlock "Transfer Fcn" DstPort 1 } Line { SrcBlock "Transfer Fcn" SrcPort 1 DstBlock "Transfer Fcn1" DstPort 1 } Line { SrcBlock "Transfer Fcn1" SrcPort 1 DstBlock "Transport\nDelay" DstPort 1 } Line { SrcBlock "Transport\nDelay" SrcPort 1 Points [10, 0] Branch { DstBlock "NCD Outport" DstPort 1 } Branch { Points [0, 70] Branch { Points [0, 5] DstBlock "Scope1" DstPort 1 } Branch { Points [-75, 0] Branch { Points [-325, 0] DstBlock "Sum" DstPort 2 } Branch { Points [0, 60] DstBlock "To Workspace" DstPort 1 } } } } Line { SrcBlock "Step" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "PID Controller\n(with Approximate\nDerivative)" DstPort 1 } Line { SrcBlock "PID Controller\n(with Approximate\nDerivative)" SrcPort 1 DstBlock "Transfer Fcn2" DstPort 1 } } }