Model { Name "L22_L5_sim" Version 5.0 SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Mon Nov 18 13:49:14 2002" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "boser" ModifiedDateFormat "%" LastModifiedDate "Tue Nov 19 11:50:53 2002" ModelVersionFormat "1.%" ConfigurationManager "None" SimParamPage "Solver" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" 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 on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on RTWExpressionDepthLimit 5 SimulationMode "normal" Solver "ode45" SolverMode "Auto" StartTime "0.0" StopTime "10.0" MaxOrder 5 MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" RelTol "1e-3" AbsTol "auto" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" LoadExternalInput off ExternalInput "[t, u]" LoadInitialState off InitialState "xInitial" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" Decimation "1" LimitDataPoints on MaxDataPoints "1000" SignalLoggingName "sigsOut" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" CheckForMatrixSingularity "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SfunCompatibilityCheckMsg "none" RTWInlineParameters off BlockReductionOpt on BooleanDataType on ConditionallyExecuteInputs on ParameterPooling on OptimizeBlockIOStorage on ZeroCross on AssertionControl "UseLocalSettings" ProdHWDeviceType "Microprocessor" ProdHWWordLengths "8,16,32,32" RTWSystemTargetFile "grt.tlc" RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off RTWRetainRTWFile off TLCProfiler off TLCDebug off TLCCoverage off TLCAssertion off BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType DiscreteFilter Numerator "[1]" Denominator "[1 2]" SampleTime "1" Realization "auto" RTWStateStorageClass "Auto" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ShowAdditionalParam off ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Inport Port "1" PortDimensions "-1" SampleTime "-1" ShowAdditionalParam off LatchInput off DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Outport Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Relay OnSwitchValue "eps" OffSwitchValue "eps" OnOutputValue "1" OffOutputValue "0" ShowAdditionalParam off OutputDataTypeScalingMode "All ports same datatype" OutDataType "sfix(16)" OutScaling "2^0" ConRadixGroup "Use specified scaling" ZeroCross on } Block { BlockType Sum IconShape "rectangular" Inputs "++" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow 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 "L22_L5_sim" Location [480, 95, 1462, 587] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Inport Name "X" Position [40, 133, 70, 147] PortDimensions "1" SampleTime "T" } Block { BlockType Relay Name "Comparator" Position [560, 390, 590, 420] Orientation "down" NamePlacement "alternate" OffOutputValue "-1" } Block { BlockType DiscreteFilter Name "I1" Position [205, 122, 265, 158] Numerator "[0 0.1]" Denominator "[1 -1]" SampleTime "-1" } Block { BlockType DiscreteFilter Name "I2" Position [380, 122, 440, 158] Numerator "[0 1]" Denominator "[1 -1]" SampleTime "-1" } Block { BlockType DiscreteFilter Name "I3" Position [480, 122, 540, 158] Numerator "[0 0.25]" Denominator "[1 -1]" SampleTime "-1" } Block { BlockType DiscreteFilter Name "I4" Position [680, 122, 740, 158] Numerator "[00.25]" Denominator "[1 -1]" SampleTime "-1" } Block { BlockType DiscreteFilter Name "I5" Position [780, 122, 840, 158] Numerator "[0 0.125]" Denominator "[1 -1]" SampleTime "-1" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [125, 130, 145, 150] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Sum Name "Sum1" Ports [5, 1] Position [240, 305, 910, 340] Orientation "down" NamePlacement "alternate" ShowName off Inputs "+++++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [330, 121, 350, 154] ShowName off Inputs "-+" } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [620, 121, 640, 154] ShowName off Inputs "-+" } Block { BlockType Gain Name "a1" Position [275, 230, 305, 260] Orientation "down" NamePlacement "alternate" } Block { BlockType Gain Name "a2" Position [440, 230, 470, 260] Orientation "down" NamePlacement "alternate" Gain "0.5" } Block { BlockType Gain Name "a3" Position [560, 230, 590, 260] Orientation "down" NamePlacement "alternate" Gain "0.5" } Block { BlockType Gain Name "a4" Position [734, 230, 776, 260] Orientation "down" NamePlacement "alternate" Gain "0.25" } Block { BlockType Gain Name "a5" Position [854, 230, 896, 260] Orientation "down" NamePlacement "alternate" Gain "0.25" } Block { BlockType Gain Name "b1" Position [380, 38, 455, 72] Orientation "left" Gain "1/512" } Block { BlockType Gain Name "b2" Position [690, 36, 805, 74] Orientation "left" Gain "1/16-1/64" } Block { BlockType Gain Name "g" Position [120, 235, 150, 265] Orientation "up" Gain "3" } Block { BlockType Outport Name "Y" Position [655, 428, 685, 442] } Block { BlockType Outport Name "I_1" Position [310, 183, 340, 197] Port "2" } Block { BlockType Outport Name "I_2" Position [480, 183, 510, 197] Port "3" } Block { BlockType Outport Name "I_3" Position [605, 183, 635, 197] Port "4" } Block { BlockType Outport Name "I_4" Position [780, 183, 810, 197] Port "5" } Block { BlockType Outport Name "I_5" Position [900, 183, 930, 197] Port "6" } Block { BlockType Outport Name "Q" Position [615, 358, 645, 372] Port "7" } Line { SrcBlock "Sum" SrcPort 1 DstBlock "I1" DstPort 1 } Line { SrcBlock "I2" SrcPort 1 Points [0, 0; 10, 0] Branch { DstBlock "I3" DstPort 1 } Branch { Points [0, 50] Branch { DstBlock "a2" DstPort 1 } Branch { DstBlock "I_2" DstPort 1 } } } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "I2" DstPort 1 } Line { SrcBlock "I3" SrcPort 1 Points [0, 0; 30, 0] Branch { Points [0, -85] DstBlock "b1" DstPort 1 } Branch { Points [30, 0] DstBlock "Sum3" DstPort 2 } Branch { Points [0, 50] Branch { DstBlock "a3" DstPort 1 } Branch { DstBlock "I_3" DstPort 1 } } } Line { SrcBlock "b1" SrcPort 1 Points [-75, 0; 0, 75] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "I4" SrcPort 1 Points [0, 0; 10, 0] Branch { DstBlock "I5" DstPort 1 } Branch { Points [0, 50] Branch { DstBlock "a4" DstPort 1 } Branch { DstBlock "I_4" DstPort 1 } } } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "I4" DstPort 1 } Line { SrcBlock "I5" SrcPort 1 Points [0, 0; 30, 0] Branch { Points [0, -85] DstBlock "b2" DstPort 1 } Branch { Points [0, 50] Branch { DstBlock "a5" DstPort 1 } Branch { DstBlock "I_5" DstPort 1 } } } Line { SrcBlock "b2" SrcPort 1 Points [-85, 0; 0, 75] DstBlock "Sum3" DstPort 1 } Line { SrcBlock "I1" SrcPort 1 Points [0, 0; 20, 0] Branch { Points [0, 50] Branch { DstBlock "a1" DstPort 1 } Branch { DstBlock "I_1" DstPort 1 } } Branch { Points [25, 0] DstBlock "Sum2" DstPort 2 } } Line { SrcBlock "a1" SrcPort 1 Points [0, 15; 15, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "a3" SrcPort 1 DstBlock "Sum1" DstPort 3 } Line { SrcBlock "a4" SrcPort 1 Points [0, 15; -45, 0] DstBlock "Sum1" DstPort 4 } Line { SrcBlock "a5" SrcPort 1 Points [0, 15; -30, 0] DstBlock "Sum1" DstPort 5 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, 0; 0, 20] Branch { DstBlock "Comparator" DstPort 1 } Branch { DstBlock "Q" DstPort 1 } } Line { SrcBlock "Comparator" SrcPort 1 Points [0, 10] Branch { DstBlock "Y" DstPort 1 } Branch { Points [-440, 0] DstBlock "g" DstPort 1 } } Line { SrcBlock "X" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "a2" SrcPort 1 Points [0, 15; -15, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "g" SrcPort 1 DstBlock "Sum" DstPort 2 } } }