# $Revision: 1.4.2.1 $
Model {
  Name			  "f14_dig_sf"
  Version		  6.2
  MdlSubVersion		  0
  GraphicalInterface {
    NumRootInports	    0
    NumRootOutports	    0
    ParameterArgumentNames  ""
    ComputedModelVersion    "1.39"
    NumModelReferences	    0
    NumTestPointedSignals   0
  }
  Description		  "This model of the F14 is used to design a high angl"
"e of attack Digital Flight Control System.  The design works in conjunction w"
"ith the GUI in F14guid.  There is documentation that goes along with this fil"
"e and the\nGUI.  The documentaiton is in the Word file \"F14 Design.doc\"."
  SavedCharacterEncoding  "US-ASCII"
  PreLoadFcn		  "f14dat_digital"
  SaveDefaultBlockParams  on
  SampleTimeColors	  off
  LibraryLinkDisplay	  "none"
  WideLines		  on
  ShowLineDimensions	  off
  ShowPortDataTypes	  off
  ShowLoopsOnError	  on
  IgnoreBidirectionalLines off
  ShowStorageClass	  off
  ShowTestPointIcons	  on
  ShowViewerIcons	  on
  SortedOrder		  off
  ExecutionContextIcon	  off
  ShowLinearizationAnnotations on
  RecordCoverage	  off
  CovPath		  "/"
  CovSaveName		  "covdata"
  CovMetricSettings	  "dw"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  covSaveCumulativeToWorkspaceVar on
  CovSaveSingleToWorkspaceVar on
  CovCumulativeVarName	  "covCumulativeData"
  CovCumulativeReport	  off
  CovReportOnPause	  on
  ScopeRefreshTime	  0.035000
  OverrideScopeRefreshTime on
  DisableAllScopes	  off
  DataTypeOverride	  "UseLocalSettings"
  MinMaxOverflowLogging	  "UseLocalSettings"
  MinMaxOverflowArchiveMode "Overwrite"
  BlockNameDataTip	  off
  BlockParametersDataTip  on
  BlockDescriptionStringDataTip	on
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  CloseFcn		  "\n"
  Created		  "Fri Aug 28 17:36:02 1998"
  Creator		  "The MathWorks Inc."
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "batserve"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Sat Jan 22 19:08:11 2005"
  ModelVersionFormat	  "1.%<AutoIncrement:39>"
  ConfigurationManager	  "none"
  LinearizationMsg	  "none"
  Profile		  off
  ParamWorkspaceSource	  "MATLABWorkspace"
  AccelSystemTargetFile	  "accel.tlc"
  AccelTemplateMakefile	  "accel_default_tmf"
  AccelMakeCommand	  "make_rtw"
  TryForcingSFcnDF	  off
  ExtModeBatchMode	  off
  ExtModeEnableFloating	  on
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "oneshot"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigDurationFloating "auto"
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  off
  ExtModeSkipDownloadWhenConnect off
  ExtModeLogAll		  on
  ExtModeAutoUpdateStatusClock off
  BufferReuse		  on
  StrictBusMsg		  "None"
  ProdHWDeviceType	  "32-bit Generic"
  ShowModelReferenceBlockVersion off
  ShowModelReferenceBlockIO off
  Array {
    Type		    "Handle"
    Dimension		    1
    Simulink.ConfigSet {
      $ObjectID		      1
      Version		      "1.1.0"
      Array {
	Type			"Handle"
	Dimension		7
	Simulink.SolverCC {
	  $ObjectID		  2
	  Version		  "1.1.0"
	  StartTime		  "0.0"
	  StopTime		  "1000000"
	  AbsTol		  "1e-6"
	  FixedStep		  ".01"
	  InitialStep		  "auto"
	  MaxNumMinSteps	  "-1"
	  MaxOrder		  5
	  ExtrapolationOrder	  4
	  NumberNewtonIterations  1
	  MaxStep		  "auto"
	  MinStep		  "auto"
	  RelTol		  "1e-4"
	  SolverMode		  "SingleTasking"
	  Solver		  "ode45"
	  SolverName		  "ode45"
	  ZeroCrossControl	  "UseLocalSettings"
	  AlgebraicLoopSolver	  "TrustRegion"
	  SolverResetMethod	  "Fast"
	  PositivePriorityOrder	  off
	  AutoInsertRateTranBlk	  off
	  SampleTimeConstraint	  "Unconstrained"
	  RateTranMode		  "Deterministic"
	}
	Simulink.DataIOCC {
	  $ObjectID		  3
	  Version		  "1.1.0"
	  Decimation		  "1"
	  ExternalInput		  "[]"
	  FinalStateName	  "xFinal"
	  InitialState		  "[]"
	  LimitDataPoints	  off
	  MaxDataPoints		  "1000"
	  LoadExternalInput	  off
	  LoadInitialState	  off
	  SaveFinalState	  off
	  SaveFormat		  "Array"
	  SaveOutput		  off
	  SaveState		  off
	  SignalLogging		  on
	  SaveTime		  off
	  StateSaveName		  "xout"
	  TimeSaveName		  "tout"
	  OutputSaveName	  "yout"
	  SignalLoggingName	  "logsOut"
	  OutputOption		  "RefineOutputTimes"
	  OutputTimes		  "[]"
	  Refine		  "1"
	}
	Simulink.OptimizationCC {
	  $ObjectID		  4
	  Version		  "1.1.0"
	  BlockReduction	  off
	  BooleanDataType	  off
	  ConditionallyExecuteInputs on
	  InlineParams		  off
	  InlineInvariantSignals  on
	  OptimizeBlockIOStorage  on
	  BufferReuse		  on
	  EnforceIntegerDowncast  on
	  ExpressionFolding	  on
	  FoldNonRolledExpr	  on
	  LocalBlockOutputs	  on
	  ParameterPooling	  on
	  RollThreshold		  5
	  SystemCodeInlineAuto	  off
	  StateBitsets		  off
	  DataBitsets		  off
	  UseTempVars		  off
	  ZeroExternalMemoryAtStartup on
	  ZeroInternalMemoryAtStartup on
	  InitFltsAndDblsToZero	  on
	  NoFixptDivByZeroProtection off
	  EfficientFloat2IntCast  off
	  OptimizeModelRefInitCode off
	  LifeSpan		  "inf"
	  BufferReusableBoundary  on
	}
	Simulink.DebuggingCC {
	  $ObjectID		  5
	  Version		  "1.1.0"
	  RTPrefix		  "error"
	  ConsistencyChecking	  "none"
	  ArrayBoundsChecking	  "none"
	  SignalInfNanChecking	  "none"
	  AlgebraicLoopMsg	  "warning"
	  ArtificialAlgebraicLoopMsg "warning"
	  CheckSSInitialOutputMsg on
	  CheckExecutionContextPreStartOutputMsg on
	  CheckExecutionContextRuntimeOutputMsg	on
	  SignalResolutionControl "TryResolveAllWithWarning"
	  BlockPriorityViolationMsg "warning"
	  MinStepSizeMsg	  "warning"
	  SolverPrmCheckMsg	  "none"
	  InheritedTsInSrcMsg	  "warning"
	  DiscreteInheritContinuousMsg "warning"
	  MultiTaskDSMMsg	  "warning"
	  MultiTaskRateTransMsg	  "error"
	  SingleTaskRateTransMsg  "none"
	  TasksWithSamePriorityMsg "warning"
	  CheckMatrixSingularityMsg "none"
	  IntegerOverflowMsg	  "none"
	  Int32ToFloatConvMsg	  "warning"
	  ParameterDowncastMsg	  "error"
	  ParameterOverflowMsg	  "error"
	  ParameterPrecisionLossMsg "warning"
	  UnderSpecifiedDataTypeMsg "none"
	  UnnecessaryDatatypeConvMsg "none"
	  VectorMatrixConversionMsg "none"
	  InvalidFcnCallConnMsg	  "error"
	  FcnCallInpInsideContextMsg "Use local settings"
	  SignalLabelMismatchMsg  "none"
	  UnconnectedInputMsg	  "warning"
	  UnconnectedOutputMsg	  "warning"
	  UnconnectedLineMsg	  "warning"
	  SFcnCompatibilityMsg	  "none"
	  UniqueDataStoreMsg	  "none"
	  BusObjectLabelMismatch  "warning"
	  RootOutportRequireBusObject "warning"
	  AssertControl		  "UseLocalSettings"
	  EnableOverflowDetection off
	  ModelReferenceIOMsg	  "none"
	  ModelReferenceVersionMismatchMessage "none"
	  ModelReferenceIOMismatchMessage "none"
	  ModelReferenceCSMismatchMessage "none"
	  ModelReferenceSimTargetVerbose off
	  UnknownTsInhSupMsg	  "warning"
	  ModelReferenceDataLoggingMessage "warning"
	  ModelReferenceSymbolNameMessage "warning"
	  ModelReferenceExtraNoncontSigs "error"
	}
	Simulink.HardwareCC {
	  $ObjectID		  6
	  Version		  "1.1.0"
	  ProdBitPerChar	  8
	  ProdBitPerShort	  16
	  ProdBitPerInt		  32
	  ProdBitPerLong	  32
	  ProdIntDivRoundTo	  "Undefined"
	  ProdEndianess		  "Unspecified"
	  ProdWordSize		  32
	  ProdShiftRightIntArith  on
	  ProdHWDeviceType	  "32-bit Generic"
	  TargetBitPerChar	  8
	  TargetBitPerShort	  16
	  TargetBitPerInt	  32
	  TargetBitPerLong	  32
	  TargetShiftRightIntArith on
	  TargetIntDivRoundTo	  "Undefined"
	  TargetEndianess	  "Unspecified"
	  TargetWordSize	  32
	  TargetTypeEmulationWarnSuppressLevel 0
	  TargetPreprocMaxBitsSint 32
	  TargetPreprocMaxBitsUint 32
	  TargetHWDeviceType	  "Specified"
	  TargetUnknown		  on
	  ProdEqTarget		  on
	}
	Simulink.ModelReferenceCC {
	  $ObjectID		  7
	  Version		  "1.1.0"
	  UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange"
	  CheckModelReferenceTargetMessage "error"
	  ModelReferenceNumInstancesAllowed "Multi"
	  ModelReferencePassRootInputsByReference on
	  ModelReferenceMinAlgLoopOccurrences off
	}
	Simulink.RTWCC {
	  $BackupClass		  "Simulink.RTWCC"
	  $ObjectID		  8
	  Version		  "1.1.0"
	  SystemTargetFile	  "grt.tlc"
	  GenCodeOnly		  on
	  MakeCommand		  "make_rtw"
	  TemplateMakefile	  "grt_vc.tmf"
	  GenerateReport	  off
	  SaveLog		  off
	  RTWVerbose		  on
	  RetainRTWFile		  off
	  ProfileTLC		  off
	  TLCDebug		  off
	  TLCCoverage		  off
	  TLCAssert		  off
	  ProcessScriptMode	  "Default"
	  ConfigurationMode	  "Optimized"
	  ConfigAtBuild		  off
	  IncludeHyperlinkInReport off
	  LaunchReport		  off
	  TargetLang		  "C"
	  Array {
	    Type		    "Handle"
	    Dimension		    2
	    Simulink.CodeAppCC {
	      $ObjectID		      9
	      Version		      "1.1.0"
	      ForceParamTrailComments off
	      GenerateComments	      on
	      IgnoreCustomStorageClasses on
	      IncHierarchyInIds	      off
	      MaxIdLength	      31
	      PreserveName	      off
	      PreserveNameWithParent  off
	      ShowEliminatedStatement off
	      IncAutoGenComments      off
	      SimulinkDataObjDesc     off
	      SFDataObjDesc	      off
	      IncDataTypeInIds	      off
	      PrefixModelToSubsysFcnNames on
	      CustomSymbolStr	      "$R$N$M"
	      MangleLength	      1
	      DefineNamingRule	      "None"
	      ParamNamingRule	      "None"
	      SignalNamingRule	      "None"
	      InsertBlockDesc	      off
	      SimulinkBlockComments   on
	      EnableCustomComments    off
	      InlinedPrmAccess	      "Literals"
	      ReqsInCode	      off
	    }
	    Simulink.GRTTargetCC {
	      $BackupClass	      "Simulink.TargetCC"
	      $ObjectID		      10
	      Version		      "1.1.0"
	      TargetFcnLib	      "ansi_tfl_tmw.mat"
	      TargetLibSuffix	      ""
	      TargetPreCompLibLocation ""
	      GenFloatMathFcnCalls    "ANSI_C"
	      UtilityFuncGeneration   "Auto"
	      GenerateFullHeader      on
	      GenerateSampleERTMain   off
	      IsPILTarget	      off
	      ModelReferenceCompliant on
	      IncludeMdlTerminateFcn  on
	      CombineOutputUpdateFcns off
	      SuppressErrorStatus     off
	      IncludeFileDelimiter    "Auto"
	      ERTCustomFileBanners    off
	      SupportAbsoluteTime     on
	      LogVarNameModifier      "rt_"
	      MatFileLogging	      on
	      MultiInstanceERTCode    off
	      SupportNonFinite	      on
	      SupportComplex	      on
	      PurelyIntegerCode	      off
	      SupportContinuousTime   on
	      SupportNonInlinedSFcns  on
	      ExtMode		      off
	      ExtModeStaticAlloc      off
	      ExtModeTesting	      off
	      ExtModeStaticAllocSize  1000000
	      ExtModeTransport	      0
	      ExtModeMexFile	      "ext_comm"
	      RTWCAPISignals	      off
	      RTWCAPIParams	      off
	      RTWCAPIStates	      off
	      GenerateASAP2	      off
	    }
	    PropName		    "Components"
	  }
	}
	PropName		"Components"
      }
      Name		      "Configuration"
      SimulationMode	      "normal"
      CurrentDlgPage	      "Solver"
    }
    PropName		    "ConfigurationSets"
  }
  Simulink.ConfigSet {
    $PropName		    "ActiveConfigurationSet"
    $ObjectID		    1
  }
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  BlockParameterDefaults {
    Block {
      BlockType		      Constant
      Value		      "1"
      VectorParams1D	      on
      OutDataTypeMode	      "Inherit from 'Constant value'"
      OutDataType	      "sfix(16)"
      ConRadixGroup	      "Use specified scaling"
      OutScaling	      "2^0"
      SampleTime	      "inf"
    }
    Block {
      BlockType		      Demux
      Outputs		      "4"
      DisplayOption	      "none"
      BusSelectionMode	      off
    }
    Block {
      BlockType		      DiscreteIntegrator
      IntegratorMethod	      "Integration: Forward Euler"
      gainval		      "1.0"
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "0"
      InitialConditionMode    "State and output"
      SampleTime	      "1"
      OutDataTypeMode	      "Inherit via internal rule"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	off
      LimitOutput	      off
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      IgnoreLimit	      off
      StateMustResolveToSignalObject off
      RTWStateStorageClass    "Auto"
    }
    Block {
      BlockType		      DiscreteTransferFcn
      Numerator		      "[1]"
      Denominator	      "[1 0.5]"
      SampleTime	      "1"
      StateMustResolveToSignalObject off
      RTWStateStorageClass    "Auto"
      Realization	      "auto"
    }
    Block {
      BlockType		      From
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      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
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Goto
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      SignalConversion
      OverrideOpt	      off
    }
    Block {
      BlockType		      Inport
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      Interpolate	      on
    }
    Block {
      BlockType		      Integrator
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "0"
      LimitOutput	      off
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      AbsoluteTolerance	      "auto"
      IgnoreLimit	      off
      ZeroCross		      on
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      UseBusObject	      off
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      RandomNumber
      Mean		      "0"
      Variance		      "1"
      Seed		      "0"
      SampleTime	      "-1"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Scope
      Floating		      off
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    Block {
      BlockType		      SignalGenerator
      WaveForm		      "sine"
      TimeSource	      "Use simulation time"
      Amplitude		      "1"
      Frequency		      "1"
      Units		      "Hertz"
      VectorParams1D	      on
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Switch
      Criteria		      "u2 >= Threshold"
      Threshold		      "0"
      InputSameDT	      on
      OutDataTypeMode	      "Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Terminator
    }
    Block {
      BlockType		      TransferFcn
      Numerator		      "[1]"
      Denominator	      "[1 2 1]"
      AbsoluteTolerance	      "auto"
      Realization	      "auto"
    }
    Block {
      BlockType		      ZeroOrderHold
      SampleTime	      "1"
    }
  }
  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		    "f14_dig_sf"
    Location		    [11, 131, 948, 769]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    244
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Scope
      Name		      "Act. Cmd."
      Ports		      [1]
      Position		      [410, 233, 440, 277]
      BackgroundColor	      "magenta"
      FontName		      "Arial"
      FontSize		      14
      Location		      [14, 628, 1041, 855]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "15"
      YMin		      "-2.5"
      YMax		      "2.5"
      DataFormat	      "Array"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Goto
      Name		      "Actuator \nSensor\n"
      Position		      [675, 185, 735, 215]
      BackgroundColor	      "cyan"
      FontName		      "Arial"
      FontSize		      14
      FontWeight	      "bold"
      GotoTag		      "ActM"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Analog Control"
      Ports		      [2, 1]
      Position		      [235, 142, 295, 193]
      BackgroundColor	      "lightBlue"
      NamePlacement	      "alternate"
      FontName		      "Arial"
      FontSize		      16
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Analog Control"
	Location		[234, 82, 956, 506]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	212
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [15, 157, 40, 183]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Actuator Pos."
	  Position		  [620, 285, 650, 315]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Alpha-sensor\nLow-pass Filter"
	  Position		  [155, 146, 220, 194]
	  BackgroundColor	  "lightBlue"
	  Denominator		  "[Tal,1]"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Anti-Wind-Up"
	  Ports			  [2, 1]
	  Position		  [405, 286, 520, 339]
	  Orientation		  "left"
	  BackgroundColor	  "lightBlue"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskType		  "Stateflow"
	  MaskDescription	  "Stateflow diagram"
	  MaskDisplay		  "plot(sf('Private','sfblk','xIcon'),sf('Priv"
"ate','sfblk','yIcon'));text(0.5,0,sf('Private', 'sfblk', 'tIcon'),'Horizontal"
"Al','Center','VerticalAl','Bottom');"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  off
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Anti-Wind-Up"
	    Location		    [70, 200, 570, 460]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "ActPos"
	      Position		      [20, 101, 40, 119]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Error"
	      Position		      [20, 136, 40, 154]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Demux
	      Name		      " Demux "
	      Ports		      [1, 1]
	      Position		      [270, 160, 320, 200]
	      Outputs		      "1"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      " SFunction "
	      Tag		      "Stateflow S-Function f14_dig_sf 1"
	      Ports		      [2, 2]
	      Position		      [180, 100, 230, 160]
	      FunctionName	      "sf_sfun"
	      PortCounts	      "[2 2]"
	      Port {
		PortNumber		2
		Name			"StopInt"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      " Terminator "
	      Position		      [460, 171, 480, 189]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "StopInt"
	      Position		      [460, 101, 480, 119]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      " SFunction "
	      SrcPort		      1
	      Points		      [0, 65]
	      DstBlock		      " Demux "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      " Demux "
	      SrcPort		      1
	      DstBlock		      " Terminator "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ActPos"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Error"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      2
	    }
	    Line {
	      Name		      "StopInt"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      2
	      DstBlock		      "StopInt"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 3]
	  Position		  [75, 151, 80, 189]
	  BackgroundColor	  "black"
	  Outputs		  "3"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [460, 85, 500, 125]
	  BackgroundColor	  "yellow"
	  ShowName		  off
	  Gain			  "Kf"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [510, 160, 550, 200]
	  BackgroundColor	  "yellow"
	  ShowName		  off
	  Gain			  "Ki"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [260, 240, 300, 280]
	  BackgroundColor	  "yellow"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "Kq"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [245, 150, 285, 190]
	  BackgroundColor	  "yellow"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "Ka"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Integral\nCompensator"
	  Position		  [440, 153, 475, 207]
	  BackgroundColor	  "lightBlue"
	  Denominator		  "[1,0]"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Pitch Rate\nLead Filter"
	  Position		  [155, 235, 225, 285]
	  BackgroundColor	  "lightBlue"
	  Numerator		  "[1,W1]"
	  Denominator		  "[1,W2]"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [390, 162, 420, 193]
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Stick\nPrefilter"
	  Position		  [155, 55, 225, 105]
	  BackgroundColor	  "lightBlue"
	  NamePlacement		  "alternate"
	  Denominator		  "[Ts,1]"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [565, 125, 595, 155]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [3, 1]
	  Position		  [315, 155, 345, 185]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "+--"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Act."
	  Position		  [635, 127, 660, 153]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Act."
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Alpha-sensor\nLow-pass Filter"
	  SrcPort		  1
	  DstBlock		  "Gain3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  Points		  [25, 0]
	  DstBlock		  "Sum2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Stick\nPrefilter"
	  SrcPort		  1
	  Points		  [100, 0]
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Pitch Rate\nLead Filter"
	  SrcPort		  1
	  DstBlock		  "Gain2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  Points		  [35, 0; 0, -80]
	  DstBlock		  "Stick\nPrefilter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  DstBlock		  "Alpha-sensor\nLow-pass Filter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  3
	  Points		  [35, 0; 0, 80]
	  DstBlock		  "Pitch Rate\nLead Filter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [75, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Actuator Pos."
	  SrcPort		  1
	  DstBlock		  "Anti-Wind-Up"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, -65]
	    DstBlock		    "Gain"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 200; 185, 0; 0, -45]
	    DstBlock		    "Anti-Wind-Up"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [25, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Integral\nCompensator"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Integral\nCompensator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Anti-Wind-Up"
	  SrcPort		  1
	  Points		  [-25, 0]
	  DstBlock		  "Product"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Analog or\nDigital Control"
      Ports		      [2, 1]
      Position		      [355, 160, 390, 195]
      NamePlacement	      "alternate"
      FontName		      "Arial"
      FontSize		      16
      FontWeight	      "bold"
      SourceBlock	      "simulink/Signal\nRouting/Manual Switch"
      SourceType	      "Manual Switch"
      ShowPortLabels	      on
      sw		      "0"
      action		      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Configurable\nActuator"
      Ports		      [1, 2]
      Position		      [440, 142, 605, 218]
      FontName		      "Arial"
      FontSize		      12
      BlockChoice	      "Linear Actuator Subsystem"
      TemplateBlock	      "f14actuator/Configurable\nActuator"
      MemberBlocks	      "Linear Actuator Subsystem,Non-Linear Actuator S"
"ubsystem"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      Port {
	PortNumber		1
	Name			"Actuator "
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      System {
	Name			"Configurable\nActuator"
	Location		[148, 182, 646, 482]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Cmd."
	  Position		  [20, 40, 40, 60]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Linear Actuator Subsystem"
	  Ports			  [1, 2]
	  Position		  [100, 40, 140, 80]
	  FontName		  "Arial"
	  FontSize		  14
	  FontWeight		  "bold"
	  SourceBlock		  "f14actuator/Linear Actuator Subsystem"
	  SourceType		  ""
	  ShowPortLabels	  on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Act. Pos."
	  Position		  [200, 40, 220, 60]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Act. Meas."
	  Position		  [200, 80, 220, 100]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Cmd."
	  SrcPort		  1
	  DstBlock		  "Linear Actuator Subsystem"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Linear Actuator Subsystem"
	  SrcPort		  1
	  DstBlock		  "Act. Pos."
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Linear Actuator Subsystem"
	  SrcPort		  2
	  DstBlock		  "Act. Meas."
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Digital Control \nImplementation"
      Ports		      [2, 1]
      Position		      [255, 218, 315, 267]
      BackgroundColor	      "lightBlue"
      FontName		      "Arial"
      FontSize		      16
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Digital Control \nImplementation"
	Location		[249, 341, 971, 765]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	212
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"70"
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [35, 167, 60, 193]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Actuator Pos."
	  Position		  [925, 270, 955, 300]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  DiscreteTransferFcn
	  Name			  "Alpha Sensor Filter"
	  Position		  [290, 151, 455, 209]
	  BackgroundColor	  "lightBlue"
	  FontName		  "Arial"
	  FontSize		  14
	  Numerator		  "[1-exp(-deltat1/Tal)]"
	  Denominator		  "[1 -exp(-deltat1/Tal)]"
	  SampleTime		  "deltat1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Anti-Wind-Up"
	  Ports			  [2, 1]
	  Position		  [710, 271, 825, 324]
	  Orientation		  "left"
	  BackgroundColor	  "lightBlue"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskType		  "Stateflow"
	  MaskDescription	  "Stateflow diagram"
	  MaskDisplay		  "plot(sf('Private','sfblk','xIcon'),sf('Priv"
"ate','sfblk','yIcon'));text(0.5,0,sf('Private', 'sfblk', 'tIcon'),'Horizontal"
"Al','Center','VerticalAl','Bottom');"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  off
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Anti-Wind-Up"
	    Location		    [70, 200, 570, 460]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "ActPos"
	      Position		      [20, 101, 40, 119]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Error"
	      Position		      [20, 136, 40, 154]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Demux
	      Name		      " Demux "
	      Ports		      [1, 1]
	      Position		      [270, 160, 320, 200]
	      Outputs		      "1"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      " SFunction "
	      Tag		      "Stateflow S-Function f14_dig_sf 2"
	      Ports		      [2, 2]
	      Position		      [180, 100, 230, 160]
	      FunctionName	      "sf_sfun"
	      PortCounts	      "[2 2]"
	      Port {
		PortNumber		2
		Name			"StopInt"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      " Terminator "
	      Position		      [460, 171, 480, 189]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "StopInt"
	      Position		      [460, 101, 480, 119]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      " SFunction "
	      SrcPort		      1
	      Points		      [0, 65]
	      DstBlock		      " Demux "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      " Demux "
	      SrcPort		      1
	      DstBlock		      " Terminator "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ActPos"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Error"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      2
	    }
	    Line {
	      Name		      "StopInt"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      2
	      DstBlock		      "StopInt"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 3]
	  Position		  [170, 161, 175, 199]
	  BackgroundColor	  "black"
	  Outputs		  "3"
	}
	Block {
	  BlockType		  DiscreteIntegrator
	  Name			  "Discrete-Time\nIntegrator"
	  Ports			  [1, 1]
	  Position		  [740, 172, 780, 208]
	  BackgroundColor	  "lightBlue"
	  IntegratorMethod	  "Integration: Forward Euler"
	  ExternalReset		  "none"
	  InitialConditionSource  "internal"
	  SampleTime		  "deltat"
	  ICPrevOutput		  "DiscIntNeverNeededParam"
	  ICPrevScaledInput	  "DiscIntNeverNeededParam"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [755, 85, 795, 125]
	  BackgroundColor	  "yellow"
	  ShowName		  off
	  Gain			  "Kf"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [805, 170, 845, 210]
	  BackgroundColor	  "yellow"
	  ShowName		  off
	  Gain			  "Ki"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [555, 255, 595, 295]
	  BackgroundColor	  "yellow"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "Kq"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [545, 160, 585, 200]
	  BackgroundColor	  "yellow"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "Ka"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [215, 305, 280, 345]
	  BackgroundColor	  "yellow"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "W1/W2-1"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Block {
	  BlockType		  DiscreteTransferFcn
	  Name			  "Pitch Sensor Filter"
	  Position		  [300, 298, 440, 352]
	  BackgroundColor	  "lightBlue"
	  FontName		  "Arial"
	  FontSize		  14
	  Numerator		  "[1-exp(-W2*deltat1)]"
	  Denominator		  "[1 -exp(-W2*deltat1)]"
	  SampleTime		  "deltat1"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [685, 172, 715, 203]
	}
	Block {
	  BlockType		  DiscreteTransferFcn
	  Name			  "Stick Filter"
	  Position		  [290, 61, 455, 119]
	  BackgroundColor	  "lightBlue"
	  FontName		  "Arial"
	  FontSize		  14
	  Numerator		  "[1-exp(-deltat1/Ts)]"
	  Denominator		  "[1 -exp(-deltat1/Ts)]"
	  SampleTime		  "deltat1"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [870, 135, 900, 165]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [455, 260, 485, 290]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [3, 1]
	  Position		  [615, 165, 645, 195]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "+--"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold"
	  Position		  [520, 75, 550, 105]
	  SampleTime		  "deltat"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold1"
	  Position		  [485, 165, 515, 195]
	  SampleTime		  "deltat"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold2"
	  Position		  [505, 259, 535, 291]
	  SampleTime		  "deltat"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold3"
	  Position		  [110, 165, 140, 195]
	  SampleTime		  "deltat1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Act."
	  Position		  [930, 137, 955, 163]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Sum2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Act."
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    Points		    [0, -75]
	    DstBlock		    "Gain"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 185; 195, 0; 0, -55]
	    DstBlock		    "Anti-Wind-Up"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  DstBlock		  "Alpha Sensor Filter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  3
	  Points		  [15, 0; 0, 55]
	  Branch {
	    DstBlock		    "Sum1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 80]
	    DstBlock		    "Gain4"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  Points		  [15, 0; 0, -80]
	  DstBlock		  "Stick Filter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Stick Filter"
	  SrcPort		  1
	  DstBlock		  "Zero-Order\nHold"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold"
	  SrcPort		  1
	  Points		  [75, 0]
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Alpha Sensor Filter"
	  SrcPort		  1
	  DstBlock		  "Zero-Order\nHold1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold1"
	  SrcPort		  1
	  DstBlock		  "Gain3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Zero-Order\nHold2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In"
	  SrcPort		  1
	  DstBlock		  "Zero-Order\nHold3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold3"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Pitch Sensor Filter"
	  SrcPort		  1
	  Points		  [25, 0]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain4"
	  SrcPort		  1
	  DstBlock		  "Pitch Sensor Filter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold2"
	  SrcPort		  1
	  DstBlock		  "Gain2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [85, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [0, -10]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Actuator Pos."
	  SrcPort		  1
	  DstBlock		  "Anti-Wind-Up"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Discrete-Time\nIntegrator"
	  DstPort		  1
	}
	Line {
	  Labels		  [1, 0]
	  SrcBlock		  "Discrete-Time\nIntegrator"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Anti-Wind-Up"
	  SrcPort		  1
	  Points		  [-35, 0]
	  DstBlock		  "Product"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Dryden Spectrum \nWind Gust Model"
      Ports		      [0, 2]
      Position		      [335, 335, 455, 435]
      FontName		      "Arial"
      FontSize		      16
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "image(weatherrgb)"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      Port {
	PortNumber		1
	Name			"wdot\ngust"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		2
	Name			"qdot\ngust"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      System {
	Name			"Dryden Spectrum \nWind Gust Model"
	Location		[279, 76, 1118, 567]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "Dryden Wind\nGust Models"
	  Ports			  [0, 2]
	  Position		  [25, 98, 50, 242]
	  BackgroundColor	  "green"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  Port {
	    PortNumber		    1
	    Name		    "w gust"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    2
	    Name		    "q gust"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  System {
	    Name		    "Dryden Wind\nGust Models"
	    Location		    [242, 74, 964, 498]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "119"
	    Block {
	      BlockType		      SubSystem
	      Name		      "Band Limited\nWhite Noise"
	      Ports		      [0, 1]
	      Position		      [85, 45, 120, 85]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      MaskType		      "Continuous White Noise."
	      MaskDescription	      "White noise for continuous (s-domain) s"
"ystems.\nBand-limited using zero-order-hold."
	      MaskHelp		      "Implemented using white noise into Zero"
" Order Hold block. For faster simulation set sample time to highest value pos"
"sible but in accordance with the fastest dynamics of system."
	      MaskPromptString	      "Noise Variance:|Sample Time:|Seed"
	      MaskStyleString	      "edit,edit,edit"
	      MaskTunableValueString  "on,on,on"
	      MaskCallbackString      "||"
	      MaskEnableString	      "on,on,on"
	      MaskVisibilityString    "on,on,on"
	      MaskToolTipString	      "on,on,on"
	      MaskVarAliasString      ",,"
	      MaskVariables	      "Cov=@1;Ts=@2;seed=@3;"
	      MaskInitialization      " r = rand(1,12); r2 = [r(1),r;r,r(12)];"
" t =[1:13;1:13];"
	      MaskDisplay	      "plot(t(:),r2(:))"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "10|0.1|23341"
	      MaskTabNameString	      ",,"
	      System {
		Name			"Band Limited\nWhite Noise"
		Location		[6, 48, 268, 236]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  RandomNumber
		  Name			  "White Noise"
		  Position		  [55, 70, 75, 90]
		  Seed			  "seed"
		  SampleTime		  "Ts"
		}
		Block {
		  BlockType		  DiscreteTransferFcn
		  Name			  "Zero Order Hold"
		  Position		  [140, 61, 205, 99]
		  Numerator		  "[sqrt(Cov)]"
		  Denominator		  "[sqrt(Ts)]"
		  SampleTime		  "Ts"
		}
		Block {
		  BlockType		  Outport
		  Name			  "out_1"
		  Position		  [235, 70, 255, 90]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "Zero Order Hold"
		  SrcPort		  1
		  DstBlock		  "out_1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "White Noise"
		  SrcPort		  1
		  DstBlock		  "Zero Order Hold"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [265, 160, 355, 210]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Gain		      "pi/(4*b)"
	    }
	    Block {
	      BlockType		      TransferFcn
	      Name		      "Q-gust model"
	      Position		      [260, 235, 400, 285]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Numerator		      "[1 0]"
	      Denominator	      "[1 pi*Vto/(4*b)]"
	    }
	    Block {
	      BlockType		      TransferFcn
	      Name		      "W-gust model"
	      Position		      [175, 34, 455, 96]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Numerator		      "Swg/sqrt(a^3)*[sqrt(3)*a,1]"
	      Denominator	      "[1 (2/a) 1/a^2]"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Wg"
	      Position		      [560, 55, 580, 75]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Qg"
	      Position		      [490, 250, 510, 270]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "W-gust model"
	      SrcPort		      1
	      Points		      [10, 0]
	      Branch {
		Points			[0, 120]
		DstBlock		"Gain"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Wg"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Band Limited\nWhite Noise"
	      SrcPort		      1
	      DstBlock		      "W-gust model"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-105, 0; 0, 75]
	      DstBlock		      "Q-gust model"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Q-gust model"
	      SrcPort		      1
	      DstBlock		      "Qg"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [170, 27, 225, 73]
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Gain			  "Zw"
	  Port {
	    PortNumber		    1
	    Name		    "Vert. \nGust"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [145, 182, 200, 228]
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Gain			  "Mq"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [145, 113, 195, 157]
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Gain			  "Mw"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [215, 150, 245, 180]
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  IconShape		  "round"
	  Port {
	    PortNumber		    1
	    Name		    "Pitch Gust"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Vertical Gust"
	  Position		  [340, 43, 370, 57]
	  BackgroundColor	  "green"
	  FontName		  "Arial"
	  FontSize		  14
	  FontWeight		  "bold"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Pitch Gust"
	  Position		  [345, 158, 375, 172]
	  BackgroundColor	  "green"
	  FontName		  "Arial"
	  FontSize		  14
	  FontWeight		  "bold"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  Name			  "q gust"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Labels		  [0, 0]
	  SrcBlock		  "Dryden Wind\nGust Models"
	  SrcPort		  2
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  Name			  "w gust"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Labels		  [0, 0]
	  SrcBlock		  "Dryden Wind\nGust Models"
	  SrcPort		  1
	  Points		  [55, 0]
	  Branch {
	    DstBlock		    "Gain2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -85]
	    DstBlock		    "Gain"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [25, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  Name			  "Vert. \nGust"
	  FontName		  "Arial"
	  FontSize		  14
	  FontWeight		  "bold"
	  Labels		  [0, 0]
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Vertical Gust"
	  DstPort		  1
	}
	Line {
	  Name			  "Pitch Gust"
	  FontName		  "Arial"
	  FontSize		  14
	  FontWeight		  "bold"
	  Labels		  [0, 0]
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Pitch Gust"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "F14 Aircraft\nDynamic Model"
      Ports		      [3, 4]
      Position		      [515, 285, 660, 430]
      BackgroundColor	      "green"
      DropShadow	      on
      FontName		      "Arial"
      FontSize		      16
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "image(rgb)"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      Port {
	PortNumber		1
	Name			"w dot"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		2
	Name			"qdot"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		3
	Name			"q"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      Port {
	PortNumber		4
	Name			"Alpha"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      System {
	Name			"F14 Aircraft\nDynamic Model"
	Location		[739, 562, 1461, 986]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"93"
	Block {
	  BlockType		  Inport
	  Name			  "Elevator"
	  Position		  [30, 43, 55, 67]
	  BackgroundColor	  "green"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Vert. Gust"
	  Position		  [195, 98, 220, 122]
	  BackgroundColor	  "green"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Pitch Gust"
	  Position		  [195, 273, 220, 297]
	  BackgroundColor	  "green"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Port			  "3"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [355, 140, 395, 180]
	  Orientation		  "left"
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Gain			  "Uo"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [355, 193, 395, 237]
	  Orientation		  "left"
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Gain			  "Mw"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain5"
	  Position		  [195, 28, 250, 82]
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Gain			  "Zd"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain6"
	  Position		  [200, 360, 265, 420]
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Gain			  "Md"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain7"
	  Position		  [590, 23, 660, 77]
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Gain			  "1/Uo"
	  Port {
	    PortNumber		    1
	    Name		    "Alpha"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Pitch Channel"
	  Ports			  [1, 2]
	  Position		  [420, 245, 495, 325]
	  BackgroundColor	  "green"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Pitch Channel"
	    Location		    [205, 333, 621, 615]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Input"
	      Position		      [20, 80, 40, 100]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [145, 160, 205, 220]
	      Orientation	      "left"
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Gain		      "Mq"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [1, 1]
	      Position		      [190, 85, 220, 115]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [100, 78, 125, 122]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "q"
	      Position		      [290, 90, 310, 110]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "qdot"
	      Position		      [290, 35, 310, 55]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Input"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-55, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [15, 0]
	      Branch {
		DstBlock		"q"
		DstPort			1
	      }
	      Branch {
		Points			[0, 90]
		DstBlock		"Gain"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [30, 0]
	      Branch {
		DstBlock		"Integrator"
		DstPort			1
	      }
	      Branch {
		Points			[0, -55]
		DstBlock		"qdot"
		DstPort			1
	      }
	    }
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [3, 1]
	  Position		  [360, 46, 380, 94]
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Inputs		  "+-+"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [3, 1]
	  Position		  [355, 261, 375, 309]
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Inputs		  "+-+"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Vertical Channel"
	  Ports			  [1, 2]
	  Position		  [420, 28, 495, 112]
	  BackgroundColor	  "green"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  Port {
	    PortNumber		    1
	    Name		    "w"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    2
	    Name		    "wdot"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  System {
	    Name		    "Vertical Channel"
	    Location		    [205, 333, 594, 570]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Input"
	      Position		      [20, 80, 40, 100]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [145, 157, 190, 203]
	      Orientation	      "left"
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Gain		      "Zw"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [1, 1]
	      Position		      [190, 85, 220, 115]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [100, 78, 125, 122]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "w"
	      Position		      [285, 90, 305, 110]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "wdot"
	      Position		      [285, 35, 305, 55]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [30, 0]
	      Branch {
		Points			[0, -55]
		DstBlock		"wdot"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Integrator"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      Points		      [15, 0]
	      Branch {
		Points			[0, 80]
		DstBlock		"Gain"
		DstPort			1
	      }
	      Branch {
		DstBlock		"w"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-55, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Input"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Vertical Accel."
	  Position		  [690, 81, 710, 99]
	  BackgroundColor	  "green"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Pitch Accel."
	  Position		  [690, 296, 710, 314]
	  BackgroundColor	  "green"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Pitch Rate"
	  Position		  [690, 256, 710, 274]
	  BackgroundColor	  "green"
	  NamePlacement		  "alternate"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Alpha"
	  Position		  [690, 41, 710, 59]
	  BackgroundColor	  "green"
	  NamePlacement		  "alternate"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Port			  "4"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Pitch Channel"
	  SrcPort		  2
	  DstBlock		  "Pitch Accel."
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Pitch Channel"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Pitch Rate"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -105]
	    DstBlock		    "Gain3"
	    DstPort		    1
	  }
	}
	Line {
	  Name			  "wdot"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Labels		  [0, 0; 0, 0; 0, 0]
	  SrcBlock		  "Vertical Channel"
	  SrcPort		  2
	  DstBlock		  "Vertical Accel."
	  DstPort		  1
	}
	Line {
	  Name			  "w"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Labels		  [0, 0; 0, 0; 0, 0]
	  SrcBlock		  "Vertical Channel"
	  SrcPort		  1
	  Points		  [60, 0]
	  Branch {
	    Points		    [0, 165]
	    DstBlock		    "Gain4"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Gain7"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Vertical Channel"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain6"
	  SrcPort		  1
	  Points		  [35, 0; 0, -90]
	  DstBlock		  "Sum2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Gain5"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  Points		  [-45, 0; 0, -75]
	  DstBlock		  "Sum1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Pitch Gust"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "Pitch Channel"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain4"
	  SrcPort		  1
	  Points		  [-45, 0; 0, 55]
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Vert. Gust"
	  SrcPort		  1
	  Points		  [120, 0]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Elevator"
	  SrcPort		  1
	  Points		  [60, 0]
	  Branch {
	    DstBlock		    "Gain5"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 335]
	    DstBlock		    "Gain6"
	    DstPort		    1
	  }
	}
	Line {
	  Name			  "Alpha"
	  SrcBlock		  "Gain7"
	  SrcPort		  1
	  DstBlock		  "Alpha"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      From
      Name		      "From Act. \nSensor"
      Position		      [150, 241, 210, 269]
      BackgroundColor	      "cyan"
      FontName		      "Arial"
      FontSize		      14
      FontWeight	      "bold"
      GotoTag		      "ActM"
    }
    Block {
      BlockType		      Reference
      Name		      "Model Info"
      Ports		      []
      Position		      [289, 17, 582, 76]
      BackgroundColor	      "yellow"
      ShowName		      off
      FontName		      "times"
      FontSize		      16
      FontWeight	      "bold"
      SourceBlock	      "simulink/Model-Wide\nUtilities/Model Info"
      SourceType	      "CMBlock"
      ShowPortLabels	      on
      InitialBlockCM	      "none"
      BlockCM		      "none"
      Frame		      "off"
      DisplayStringWithTags   "F14 High Angle of Attack \nDigital Flight Contr"
"ol System"
      MaskDisplayString	      "F14 High Angle of Attack \\nDigital Flight Cont"
"rol System"
      HorizontalTextAlignment "Center"
      LeftAlignmentValue      "0.5"
      SourceBlockDiagram      "f14_dig_sf"
      TagMaxNumber	      "20"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [3, 1]
      Position		      [130, 189, 135, 271]
      BackgroundColor	      "black"
      FontName		      "Arial"
      FontSize		      16
      FontWeight	      "bold"
      Inputs		      "3"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Nz pilot\n Calculation"
      Ports		      [3, 1]
      Position		      [780, 287, 835, 393]
      BackgroundColor	      "green"
      FontName		      "Arial"
      FontSize		      16
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      Port {
	PortNumber		1
	Name			"Nz"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      System {
	Name			"Nz pilot\n Calculation"
	Location		[1071, 732, 1555, 1058]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	244
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "w dot"
	  Position		  [60, 68, 90, 82]
	  BackgroundColor	  "green"
	  FontSize		  16
	  FontWeight		  "bold"
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "q dot"
	  Position		  [60, 108, 90, 122]
	  BackgroundColor	  "green"
	  FontSize		  16
	  FontWeight		  "bold"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "q"
	  Position		  [60, 153, 90, 167]
	  BackgroundColor	  "green"
	  FontSize		  16
	  FontWeight		  "bold"
	  Port			  "3"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Constant
	  Name			  "\n"
	  Position		  [60, 195, 90, 225]
	  BackgroundColor	  "green"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Value			  "Uo"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [130, 97, 190, 133]
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Gain			  "22.8"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [275, 92, 325, 138]
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Gain			  "1/g"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [145, 150, 180, 185]
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [3, 1]
	  Position		  [220, 56, 245, 174]
	  BackgroundColor	  "green"
	  ShowName		  off
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Inputs		  "-++"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Nz"
	  Position		  [350, 108, 380, 122]
	  BackgroundColor	  "green"
	  FontSize		  16
	  FontWeight		  "bold"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "Gain4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "w dot"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain4"
	  SrcPort		  1
	  DstBlock		  "Nz"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "q dot"
	  SrcPort		  1
	  DstBlock		  "Gain3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [20, 0]
	  DstBlock		  "Sum2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "q"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "\n"
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Annotation {
	  Name			  "Nz = ( - dw/dt +dq/dt*22.8 + q*Uo)/g"
	  Position		  [242, 242]
	  FontSize		  16
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      SignalGenerator
      Name		      "Pilot"
      Ports		      [0, 1]
      Position		      [45, 188, 90, 222]
      BackgroundColor	      "green"
      NamePlacement	      "alternate"
      FontName		      "Arial"
      FontSize		      16
      FontWeight	      "bold"
      WaveForm		      "square"
      Frequency		      "0.500000"
      Units		      "rad/sec"
    }
    Block {
      BlockType		      Scope
      Name		      "Stick\nAlpha\nq\nNz"
      Ports		      [4]
      Position		      [870, 442, 920, 528]
      BackgroundColor	      "magenta"
      FontName		      "Arial"
      FontSize		      14
      Location		      [12, 160, 480, 771]
      Open		      on
      NumInputPorts	      "4"
      TickLabels	      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
      }
      TimeRange		      "15"
      YMin		      "-1~-1.5~-3~-15"
      YMax		      "1~1.5~3~15"
      SaveName		      "ScopeData1"
      DataFormat	      "Array"
      LimitDataPoints	      off
    }
    Line {
      Name		      "wdot\ngust"
      Labels		      [0, 0]
      SrcBlock		      "Dryden Spectrum \nWind Gust Model"
      SrcPort		      1
      DstBlock		      "F14 Aircraft\nDynamic Model"
      DstPort		      2
    }
    Line {
      Name		      "qdot\ngust"
      Labels		      [0, 0]
      SrcBlock		      "Dryden Spectrum \nWind Gust Model"
      SrcPort		      2
      DstBlock		      "F14 Aircraft\nDynamic Model"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Pilot"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Mux"
	DstPort			1
      }
      Branch {
	Points			[0, -95; 745, 0]
	DstBlock		"Stick\nAlpha\nq\nNz"
	DstPort			1
      }
    }
    Line {
      Name		      "w dot"
      Labels		      [0, 0]
      SrcBlock		      "F14 Aircraft\nDynamic Model"
      SrcPort		      1
      DstBlock		      "Nz pilot\n Calculation"
      DstPort		      1
    }
    Line {
      Name		      "qdot"
      Labels		      [0, 0]
      SrcBlock		      "F14 Aircraft\nDynamic Model"
      SrcPort		      2
      DstBlock		      "Nz pilot\n Calculation"
      DstPort		      2
    }
    Line {
      Name		      "q"
      Labels		      [0, 0]
      SrcBlock		      "F14 Aircraft\nDynamic Model"
      SrcPort		      3
      Points		      [75, 0]
      Branch {
	DstBlock		"Nz pilot\n Calculation"
	DstPort			3
      }
      Branch {
	Points			[0, 0; 0, 120]
	Branch {
	  DstBlock		  "Stick\nAlpha\nq\nNz"
	  DstPort		  3
	}
	Branch {
	  Points		  [-645, 0; 0, -240]
	  DstBlock		  "Mux"
	  DstPort		  3
	}
      }
    }
    Line {
      Name		      "Alpha"
      Labels		      [0, 0]
      SrcBlock		      "F14 Aircraft\nDynamic Model"
      SrcPort		      4
      Points		      [45, 0; 0, 65]
      Branch {
	Points			[-640, 0; 0, -245]
	DstBlock		"Mux"
	DstPort			2
      }
      Branch {
	DstBlock		"Stick\nAlpha\nq\nNz"
	DstPort			2
      }
    }
    Line {
      Name		      "Nz"
      Labels		      [0, 0]
      SrcBlock		      "Nz pilot\n Calculation"
      SrcPort		      1
      Points		      [5, 0; 0, 175]
      DstBlock		      "Stick\nAlpha\nq\nNz"
      DstPort		      4
    }
    Line {
      SrcBlock		      "Analog or\nDigital Control"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	DstBlock		"Configurable\nActuator"
	DstPort			1
      }
      Branch {
	DstBlock		"Act. Cmd."
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Analog Control"
      SrcPort		      1
      DstBlock		      "Analog or\nDigital Control"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Digital Control \nImplementation"
      SrcPort		      1
      Points		      [20, 0]
      DstBlock		      "Analog or\nDigital Control"
      DstPort		      2
    }
    Line {
      Labels		      [0, 0]
      SrcBlock		      "Mux"
      SrcPort		      1
      Points		      [60, 0]
      Branch {
	Labels			[2, 0]
	Points			[0, -75]
	DstBlock		"Analog Control"
	DstPort			1
      }
      Branch {
	DstBlock		"Digital Control \nImplementation"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "From Act. \nSensor"
      SrcPort		      1
      Points		      [-10, 0; 15, 0]
      Branch {
	DstBlock		"Analog Control"
	DstPort			2
      }
      Branch {
	DstBlock		"Digital Control \nImplementation"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Configurable\nActuator"
      SrcPort		      2
      DstBlock		      "Actuator \nSensor\n"
      DstPort		      1
    }
    Line {
      Name		      "Actuator "
      FontName		      "Arial"
      FontSize		      12
      Labels		      [0, 0]
      SrcBlock		      "Configurable\nActuator"
      SrcPort		      1
      Points		      [165, 0; 0, 111; -284, 0; 0, 39]
      DstBlock		      "F14 Aircraft\nDynamic Model"
      DstPort		      1
    }
    Annotation {
      Name		      "This model can be used to design the digital\nc"
"ontrol system using lti objects.\nCall The MathWorks sales staff for a demo\n"
"copy of the Control Toolbox and rerun the demo. "
      Position		      [498, 563]
      FontName		      "Arial"
      FontSize		      16
      FontWeight	      "bold"
    }
  }
}

# Finite State Machines
#
#    Stateflow Version 6.2 (R14SP2) dated Jan 21 2005, 03:46:19
#
#

Stateflow {

	machine {
		id                   		1
		name                 		"f14_dig_sf"
		created              		"20-Apr-1998 22:29:26"
		isLibrary            		0
		firstTarget          		24
		sfVersion            		62014000
		sfDemoChecksum       		[4261457174 2210979606 1265055436 2616653069]
	}

	chart {
		id                                        		2
		name                                      		"Analog Control/Anti-Wind-Up"
		windowPosition                            		[40.5 234.75 492 276]
		viewLimits                                		[35.131 483.631 0 240]
		stateColor                                		[0 1 1]
		stateLabelColor                           		[1 1 1]
		transitionColor                           		[1 1 0]
		transitionLabelColor                      		[1 1 0]
		junctionColor                             		[1 0 1]
		selectionColor                            		[0 1 0]
		chartColor                                		[0 0 0]
		screen                                    		[1 1 1152 864 1.333333333333333]
		treeNode                                  		[0 3 0 0]
		firstTransition                           		5
		viewObj                                   		2
		machine                                   		1
		decomposition                             		CLUSTER_CHART
		firstData                                 		8
		chartFileNumber                           		1
	}

	state {
		id                  		3
		labelString         		"Integrate\n"
						"en:StopInt=1;"
		position            		[76.25 46.5 90 60]
		chart               		2
		treeNode            		[2 0 0 4]
		subviewer           		2
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		4
		labelString         		"Stop_Integrating\n"
						"en: StopInt=0;"
		position            		[254.477 159.75 90 60]
		chart               		2
		treeNode            		[2 0 3 0]
		subviewer           		2
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	transition {
		id             		5
		labelPosition  		[107.062 20.266 6.739 12.71]
		src {
			intersection		[0 -1 0 0 111.5 16.5 0 0]
		}
		dst {
			id          		3
			intersection		[1 0 -1 0.392 111.5 46.5 0 0]
		}
		midPoint       		[107.062 20.266]
		chart          		2
		linkNode       		[2 0 6]
		dataLimits     		[105.847 113.9 16.5 46.5]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		6
		labelString    		"[abs(ActPos)>Sat  &  ActPos*Error >0]"
		labelPosition  		[287.571 85.65 154.991 12.71]
		src {
			id          		3
			intersection		[2 1 0 0.4 166.25 70.5 0 0]
		}
		dst {
			id          		4
			intersection		[1 0 -1 0.592 307.727 159.75 0 0]
		}
		midPoint       		[227.921 75.842]
		chart          		2
		linkNode       		[2 5 7]
		dataLimits     		[166.25 310.127 70.485 159.75]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		7
		labelString    		"[abs(ActPos)<Sat ]"
		labelPosition  		[103.754 187.351 77.121 12.71]
		src {
			id          		4
			intersection		[4 -1 0 0.55 254.477 186.75 0 0]
		}
		dst {
			id          		3
			intersection		[3 0 1 0.642 108.5 106.5 0 0]
		}
		midPoint       		[191.25 183.422]
		chart          		2
		linkNode       		[2 6 0]
		dataLimits     		[106.1 254.477 106.5 186.973]
		subviewer      		2
		executionOrder 		1
	}

	data {
		id                            		8
		name                          		"ActPos"
		linkNode                      		[2 0 9]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		9
		name                          		"Error"
		linkNode                      		[2 8 10]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		10
		name                          		"StopInt"
		linkNode                      		[2 9 11]
		scope                         		OUTPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		11
		name                          		"Sat"
		linkNode                      		[2 10 0]
		scope                         		CONSTANT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
			initialValue		"0.785398"
		}
	}

	instance {
		id     		12
		name   		"Analog Control/Anti-Wind-Up"
		machine		1
		chart  		2
	}

	chart {
		id                                        		13
		name                                      		"Digital Control \n"
					"Implementation/Anti-Wind-Up"
		windowPosition                            		[40.5 234.75 492 276]
		viewLimits                                		[35.131 483.631 0 240]
		stateColor                                		[0 1 1]
		stateLabelColor                           		[1 1 1]
		transitionColor                           		[1 1 0]
		transitionLabelColor                      		[1 1 0]
		junctionColor                             		[1 0 1]
		selectionColor                            		[0 1 0]
		chartColor                                		[0 0 0]
		screen                                    		[1 1 1152 864 1.333333333333333]
		treeNode                                  		[0 14 0 0]
		firstTransition                           		16
		viewObj                                   		13
		machine                                   		1
		decomposition                             		CLUSTER_CHART
		firstData                                 		19
		chartFileNumber                           		2
	}

	state {
		id                  		14
		labelString         		"Integrate\n"
						"en:StopInt=1;"
		position            		[76.25 46.5 90 60]
		chart               		13
		treeNode            		[13 0 0 15]
		subviewer           		13
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		15
		labelString         		"Stop_Integrating\n"
						"en: StopInt=0;"
		position            		[254.477 159.75 90 60]
		chart               		13
		treeNode            		[13 0 14 0]
		subviewer           		13
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	transition {
		id             		16
		labelPosition  		[107.062 20.266 6.739 12.71]
		src {
			intersection		[0 -1 0 0 111.5 16.5 0 0]
		}
		dst {
			id          		14
			intersection		[1 0 -1 0.392 111.5 46.5 0 0]
		}
		midPoint       		[107.062 20.266]
		chart          		13
		linkNode       		[13 0 17]
		dataLimits     		[105.847 113.9 16.5 46.5]
		subviewer      		13
		executionOrder 		1
	}

	transition {
		id             		17
		labelString    		"[abs(ActPos)>Sat  &  ActPos*Error >0]"
		labelPosition  		[287.571 85.65 154.991 12.71]
		src {
			id          		14
			intersection		[2 1 0 0.4 166.25 70.5 0 0]
		}
		dst {
			id          		15
			intersection		[1 0 -1 0.592 307.727 159.75 0 0]
		}
		midPoint       		[227.921 75.842]
		chart          		13
		linkNode       		[13 16 18]
		dataLimits     		[166.25 310.127 70.485 159.75]
		subviewer      		13
		executionOrder 		1
	}

	transition {
		id             		18
		labelString    		"[abs(ActPos)<Sat ]"
		labelPosition  		[103.754 187.351 77.121 12.71]
		src {
			id          		15
			intersection		[4 -1 0 0.55 254.477 186.75 0 0]
		}
		dst {
			id          		14
			intersection		[3 0 1 0.642 108.5 106.5 0 0]
		}
		midPoint       		[191.25 183.422]
		chart          		13
		linkNode       		[13 17 0]
		dataLimits     		[106.1 254.477 106.5 186.973]
		subviewer      		13
		executionOrder 		1
	}

	data {
		id                            		19
		name                          		"ActPos"
		linkNode                      		[13 0 20]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		20
		name                          		"Error"
		linkNode                      		[13 19 21]
		scope                         		INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		21
		name                          		"StopInt"
		linkNode                      		[13 20 22]
		scope                         		OUTPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		22
		name                          		"Sat"
		linkNode                      		[13 21 0]
		scope                         		CONSTANT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
			initialValue		"0.785398"
		}
	}

	instance {
		id     		23
		name   		"Digital Control \n"
					"Implementation/Anti-Wind-Up"
		machine		1
		chart  		13
	}

	target {
		id                        		24
		name                      		"sfun"
		description               		"Default Simulink S-Function Target."
		codeFlags                 		" debug=1 overflow=1 echo=1 telemetry=0 preservenames=0 prese"
						"rvenameswithparent=0 exportcharts=0 project=0 multiinstanced"
						"=0 statebitsets=0 databitsets=0 comments=1 initializer=1 iof"
						"ormat=1"
		machine                   		1
		linkNode                  		[1 0 25]
		checksumOld               		[2944125453 317925301 3633035526 4255129990]
	}

	target {
		id                        		25
		name                      		"rtw"
		description               		"Default RTW target."
		codeFlags                 		" comments=1 statebitsets=0 databitsets=0 emitlogicalops=1 el"
						"seifdetection=1 constantfolding=1 redundantloadelimination=0"
						" preserveconstantnames=0 preservenames=0 preservenameswithpa"
						"rent=0 exportcharts=0 debug=0 telemetry=0 project=0 multiins"
						"tanced=0 echo=1 initializer=1 ioformat=1"
		machine                   		1
		linkNode                  		[1 24 0]
	}
}
