Model { Name "simExample" Version 3.00 SimParamPage "WorkspaceI/O" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "20" SolverMode "SingleTasking" Solver "ode23" RelTol "1e-3" AbsTol "1e-3" Refine "1" MaxStep "1" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime off TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off 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 off StatusBar off BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_unix.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 "Mon Oct 2 10:50:50 2000" Creator "ce120f" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "ce120f" ModifiedDateFormat "%" LastModifiedDate "Sat Nov 4 11:20:36 2000" 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 "simExample" Location [548, 643, 1217, 903] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Clock Name "Clock" Position [385, 165, 405, 185] DisplayTime off Decimation "10" } Block { BlockType TransferFcn Name "Gp" Position [295, 42, 370, 88] Numerator "[3]" Denominator "[0.5 1 1]" } Block { BlockType Gain Name "Kc" Position [195, 44, 230, 86] Gain "1.5" SaturateOnIntegerOverflow on } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [535, 49, 565, 81] Floating off Location [876, 330, 1200, 569] Open on 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 Step Name "Step Input" Position [30, 50, 50, 70] Time "0" Before "0" After "1" SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [120, 55, 140, 75] IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType TransportDelay Name "Time delay" Position [255, 117, 330, 153] Orientation "left" DelayTime "0.1" InitialInput "0" BufferSize "1024" } Block { BlockType ToWorkspace Name "To Workspace" Position [530, 130, 590, 160] VariableName "C" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace1" Position [440, 160, 500, 190] VariableName "tout" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Line { SrcBlock "Clock" SrcPort 1 DstBlock "To Workspace1" DstPort 1 } Line { SrcBlock "Time delay" SrcPort 1 Points [-153, 0; 0, -65] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Gp" SrcPort 1 Points [0, 0] Branch { Points [115, 0] Branch { Points [0, 80] DstBlock "To Workspace" DstPort 1 } Branch { DstBlock "Scope" DstPort 1 } } Branch { Points [82, 0; 0, 70] DstBlock "Time delay" DstPort 1 } } Line { SrcBlock "Kc" SrcPort 1 DstBlock "Gp" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Kc" DstPort 1 } Line { SrcBlock "Step Input" SrcPort 1 DstBlock "Sum" DstPort 1 } Annotation { Position [129, 18] Text "A simple negative feedback system" FontName "helvetica" FontSize 12 FontWeight "bold" } Annotation { Position [234, 204] Text "Under \"Simulation Parameters,\" you'll see tha" "t tout is\nexported by default. We do it again so it's more explicit." FontName "helvetica" FontWeight "bold" } Annotation { Position [529, 224] Text "Exporting variables to the workspace gives us\n" "more options for plotting results and analysis." FontName "helvetica" FontWeight "bold" } Annotation { Position [519, 24] Text "If nothing happens(!), double click the Scope " "\nicon to open the graphing window." FontName "helvetica" FontWeight "bold" } } }