# $Revision$
Model {
  Name			  "aero_atc"
  Version		  6.2
  MdlSubVersion		  0
  GraphicalInterface {
    NumRootInports	    0
    NumRootOutports	    0
    ParameterArgumentNames  ""
    ComputedModelVersion    "1.141"
    NumModelReferences	    0
    NumTestPointedSignals   0
  }
  RequirementInfo	  "9"
  SavedCharacterEncoding  "US-ASCII"
  PreLoadFcn		  "aero_preload_atc"
  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	  "d"
  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	off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  CloseFcn		  "aero_atcscript('close')"
  InitFcn		  "aero_init_atc"
  Created		  "Sun Oct 10 10:23:10 1999"
  Creator		  "The MathWorks Inc."
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "batserve"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Sat Jan 22 19:07:53 2005"
  ModelVersionFormat	  "1.%<AutoIncrement:141>"
  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		  "60000"
	  AbsTol		  "auto"
	  FixedStep		  "auto"
	  InitialStep		  "auto"
	  MaxNumMinSteps	  "-1"
	  MaxOrder		  5
	  ExtrapolationOrder	  4
	  NumberNewtonIterations  1
	  MaxStep		  ".25"
	  MinStep		  "auto"
	  RelTol		  "1e-3"
	  SolverMode		  "Auto"
	  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		  "[t, u]"
	  FinalStateName	  "xFinal"
	  InitialState		  "xInitial"
	  LimitDataPoints	  on
	  MaxDataPoints		  "5000"
	  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
	  Array {
	    Type		    "Cell"
	    Dimension		    5
	    Cell		    "ZeroExternalMemoryAtStartup"
	    Cell		    "ZeroInternalMemoryAtStartup"
	    Cell		    "InitFltsAndDblsToZero"
	    Cell		    "OptimizeModelRefInitCode"
	    Cell		    "NoFixptDivByZeroProtection"
	    PropName		    "DisabledProps"
	  }
	  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	  "warning"
	  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
	  Array {
	    Type		    "Cell"
	    Dimension		    1
	    Cell		    "IncludeHyperlinkInReport"
	    PropName		    "DisabledProps"
	  }
	  Version		  "1.1.0"
	  SystemTargetFile	  "grt.tlc"
	  GenCodeOnly		  off
	  MakeCommand		  "make_rtw"
	  TemplateMakefile	  "grt_default_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
	      Array {
		Type			"Cell"
		Dimension		9
		Cell			"IgnoreCustomStorageClasses"
		Cell			"InsertBlockDesc"
		Cell			"SFDataObjDesc"
		Cell			"SimulinkDataObjDesc"
		Cell			"DefineNamingRule"
		Cell			"SignalNamingRule"
		Cell			"ParamNamingRule"
		Cell			"InlinedPrmAccess"
		Cell			"CustomSymbolStr"
		PropName		"DisabledProps"
	      }
	      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
	      Array {
		Type			"Cell"
		Dimension		12
		Cell			"IncludeMdlTerminateFcn"
		Cell			"CombineOutputUpdateFcns"
		Cell			"SuppressErrorStatus"
		Cell			"ERTCustomFileBanners"
		Cell			"GenerateSampleERTMain"
		Cell			"MultiInstanceERTCode"
		Cell			"PurelyIntegerCode"
		Cell			"SupportNonFinite"
		Cell			"SupportComplex"
		Cell			"SupportAbsoluteTime"
		Cell			"SupportContinuousTime"
		Cell			"SupportNonInlinedSFcns"
		PropName		"DisabledProps"
	      }
	      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		      Display
      Format		      "short"
      Decimation	      "10"
      Floating		      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      From
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      FromWorkspace
      VariableName	      "simulink_input"
      SampleTime	      "-1"
      Interpolate	      on
      ZeroCross		      off
      OutputAfterFinalValue   "Extrapolation"
    }
    Block {
      BlockType		      Fcn
      Expr		      "sin(u[1])"
      SampleTime	      "-1"
    }
    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		      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		      Math
      Operator		      "exp"
      OutputSignalType	      "auto"
      SampleTime	      "-1"
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	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		      Reference
    }
    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		      Selector
      InputType		      "Vector"
      IndexMode		      "One-based"
      ElementSrc	      "Internal"
      Elements		      "1"
      RowSrc		      "Internal"
      Rows		      "1"
      ColumnSrc		      "Internal"
      Columns		      "1"
      InputPortWidth	      "-1"
      IndexIsStartValue	      off
      OutputPortSize	      "1"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    Block {
      BlockType		      Sin
      SineType		      "Time based"
      TimeSource	      "Use simulation time"
      Amplitude		      "1"
      Bias		      "0"
      Frequency		      "1"
      Phase		      "0"
      Samples		      "10"
      Offset		      "0"
      SampleTime	      "-1"
      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		      Terminator
    }
  }
  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		    "aero_atc"
    Location		    [481, 143, 1003, 704]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    146
    ScreenColor		    "gray"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Scope
      Name		      "Aircraft Range"
      Ports		      [1]
      Position		      [70, 49, 100, 81]
      Orientation	      "left"
      ForegroundColor	      "white"
      BackgroundColor	      "lightBlue"
      DeleteFcn		      "simscope BlockIsBeingDestroyed"
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
      Location		      [971, 587, 1286, 761]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "10300"
      YMin		      "0"
      YMax		      "65"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Display
      Name		      "Desired SNR?"
      Ports		      [1]
      Position		      [255, 366, 295, 394]
      ForegroundColor	      "white"
      BackgroundColor	      "lightBlue"
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
      Decimation	      "1"
    }
    Block {
      BlockType		      SubSystem
      Name		      "More Info"
      Ports		      []
      Position		      [356, 460, 480, 541]
      ForegroundColor	      "white"
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "aero_atcscript"
      FontName		      "Arial"
      FontSize		      12
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('Double-click \\nhere for \\ninformation o"
"n \\nthis demonstration')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"More Info"
	Location		[2, 70, 1022, 720]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "More Info1"
      Ports		      []
      Position		      [40, 461, 164, 540]
      ForegroundColor	      "white"
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "simcad(bdroot);"
      FontName		      "Arial"
      FontSize		      12
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('Double click\\nhere for\\nSimulink Help')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"More Info1"
	Location		[128, 280, 487, 453]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [240, 46, 245, 84]
      Orientation	      "left"
      ForegroundColor	      "white"
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
      Port {
	PortNumber		1
	ShowPropagatedSignals	"on"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Radar"
      Ports		      [2, 4]
      Position		      [50, 186, 210, 409]
      ForegroundColor	      "white"
      FontName		      "Arial"
      FontSize		      14
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "image(radar)"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "normalized"
      System {
	Name			"Radar"
	Location		[21, 38, 1005, 672]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"79"
	Block {
	  BlockType		  Inport
	  Name			  "Power Received\nAircraft"
	  Position		  [400, 548, 430, 562]
	  BackgroundColor	  "yellow"
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Power Received\nWeather"
	  Position		  [400, 603, 430, 617]
	  BackgroundColor	  "yellow"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Constant
	  Name			  "Antenna Efficiency"
	  Position		  [425, 220, 455, 250]
	  DropShadow		  on
	  Value			  "E"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Antenna Losses\n(dB)"
	  Position		  [715, 160, 745, 190]
	  DropShadow		  on
	  Value			  "Loss"
	}
	Block {
	  BlockType		  Constant
	  Name			  "BW/Pulsewidth\n(Hz/pulsewidth)"
	  Position		  [35, 545, 80, 575]
	  DropShadow		  on
	  Value			  "BwPw"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Calculate\nSNR"
	  Ports			  [3, 1]
	  Position		  [505, 530, 705, 690]
	  BackgroundColor	  "lightBlue"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Calculate\nSNR"
	    Location		    [26, 73, 561, 265]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Power Received\n(Aircraft)"
	      Position		      [40, 38, 70, 52]
	      BackgroundColor	      "yellow"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Power Received\n(Weather)"
	      Position		      [110, 73, 140, 87]
	      BackgroundColor	      "yellow"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Receiver Noise\nPower"
	      Position		      [180, 118, 210, 132]
	      BackgroundColor	      "yellow"
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [300, 25, 330, 100]
	      ShowName		      off
	      Inputs		      "*/"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [230, 70, 250, 90]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      Port {
		PortNumber		1
		Name			"noise"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "dB"
	      Position		      [355, 50, 415, 80]
	      Expr		      "10*log10(u)"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "SNR_Actual"
	      Position		      [460, 58, 490, 72]
	      BackgroundColor	      "orange"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      Name		      "noise"
	      Labels		      [0, 0]
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Power Received\n(Aircraft)"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Power Received\n(Weather)"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Receiver Noise\nPower"
	      SrcPort		      1
	      Points		      [25, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "dB"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "dB"
	      SrcPort		      1
	      DstBlock		      "SNR_Actual"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Calculate Antenna Area"
	  Ports			  [4, 3]
	  Position		  [175, 234, 380, 491]
	  BackgroundColor	  "green"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  Port {
	    PortNumber		    1
	    ShowPropagatedSignals   "on"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    2
	    ShowPropagatedSignals   "on"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  Port {
	    PortNumber		    3
	    ShowPropagatedSignals   "on"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  System {
	    Name		    "Calculate Antenna Area"
	    Location		    [57, 131, 964, 444]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Wavelength\n(m)"
	      Position		      [485, 138, 515, 152]
	      BackgroundColor	      "yellow"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Elevation \nSpacing\n(NM)"
	      Position		      [30, 73, 60, 87]
	      BackgroundColor	      "yellow"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Lateral\nSpacing\n(NM)"
	      Position		      [30, 133, 60, 147]
	      BackgroundColor	      "yellow"
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Range\n(NM)"
	      Position		      [30, 193, 60, 207]
	      BackgroundColor	      "yellow"
	      Port		      "4"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "-3 dB  "
	      Position		      [485, 105, 515, 135]
	      NamePlacement	      "alternate"
	      FontName		      "Arial"
	      Value		      "1.25"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Az. Beamwidth\n(rad)"
	      Ports		      [2, 1]
	      Position		      [540, 41, 570, 74]
	      NamePlacement	      "alternate"
	      Inputs		      "*/"
	      Port {
		PortNumber		1
		Name			"Az_Beam"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Demux
	      Name		      "Demux"
	      Ports		      [1, 4]
	      Position		      [450, 16, 460, 264]
	      BackgroundColor	      "black"
	      ShowName		      off
	      Port {
		PortNumber		1
		Name			"Lat. Spacing"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	      Port {
		PortNumber		2
		Name			"Range"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	      Port {
		PortNumber		3
		Name			"El. Spacing"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	      Port {
		PortNumber		4
		Name			"Range"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Product
	      Name		      "El. Beamwidth\n(rad)"
	      Ports		      [2, 1]
	      Position		      [535, 207, 565, 238]
	      Inputs		      "*/"
	      Port {
		PortNumber		1
		Name			"El_Beam"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux1"
	      Ports		      [3, 1]
	      Position		      [85, 47, 95, 233]
	      ShowName		      off
	      Inputs		      "3"
	      DisplayOption	      "bar"
	      Port {
		PortNumber		1
		ShowPropagatedSignals	"on"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector"
	      Ports		      [1, 1]
	      Position		      [390, 121, 425, 159]
	      Elements		      "[1 3 2 3]  "
	      InputPortWidth	      "3"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "antenna area\n(m^2)"
	      Ports		      [2, 1]
	      Position		      [725, 106, 755, 164]
	      Port {
		PortNumber		1
		Name			"Antenna Area"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Product
	      Name		      "antenna height\n(m)"
	      Ports		      [2, 1]
	      Position		      [630, 177, 660, 208]
	      NamePlacement	      "alternate"
	      Inputs		      "*/"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "antenna width\n(m)"
	      Ports		      [2, 1]
	      Position		      [630, 77, 660, 108]
	      Inputs		      "/*"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "k"
	      Ports		      [2, 1]
	      Position		      [550, 106, 580, 159]
	      ShowName		      off
	      Inputs		      "**"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "m/NM"
	      Position		      [300, 121, 365, 159]
	      Gain		      "1852"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Antenna Area\n(m^2)"
	      Position		      [845, 128, 875, 142]
	      BackgroundColor	      "orange"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Az. Beamwidth\n(rad) "
	      Position		      [765, 23, 795, 37]
	      BackgroundColor	      "orange"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "El. Beamwidth\n(rad) "
	      Position		      [770, 238, 800, 252]
	      BackgroundColor	      "orange"
	      Port		      "3"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "m/NM"
	      SrcPort		      1
	      DstBlock		      "Selector"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Selector"
	      SrcPort		      1
	      DstBlock		      "Demux"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Lat. Spacing"
	      Labels		      [0, 0]
	      SrcBlock		      "Demux"
	      SrcPort		      1
	      DstBlock		      "Az. Beamwidth\n(rad)"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Range"
	      Labels		      [3, 1]
	      SrcBlock		      "Demux"
	      SrcPort		      2
	      Points		      [5, 0; 0, -45]
	      DstBlock		      "Az. Beamwidth\n(rad)"
	      DstPort		      2
	    }
	    Line {
	      Name		      "El. Spacing"
	      Labels		      [3, 0]
	      SrcBlock		      "Demux"
	      SrcPort		      3
	      Points		      [5, 0; 0, 45]
	      DstBlock		      "El. Beamwidth\n(rad)"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Range"
	      Labels		      [0, 0]
	      SrcBlock		      "Demux"
	      SrcPort		      4
	      DstBlock		      "El. Beamwidth\n(rad)"
	      DstPort		      2
	    }
	    Line {
	      Labels		      [0, 0]
	      SrcBlock		      "Wavelength\n(m)"
	      SrcPort		      1
	      DstBlock		      "k"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "-3 dB  "
	      SrcPort		      1
	      DstBlock		      "k"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "k"
	      SrcPort		      1
	      Points		      [0, 0; 10, 0]
	      Branch {
		Points			[0, 50]
		DstBlock		"antenna height\n(m)"
		DstPort			1
	      }
	      Branch {
		Points			[0, -35]
		DstBlock		"antenna width\n(m)"
		DstPort			2
	      }
	    }
	    Line {
	      Name		      "Az_Beam"
	      SrcBlock		      "Az. Beamwidth\n(rad)"
	      SrcPort		      1
	      Points		      [0, 0; 15, 0]
	      Branch {
		Points			[25, 0]
		DstBlock		"antenna width\n(m)"
		DstPort			1
	      }
	      Branch {
		Labels			[2, 0]
		Points			[0, -30]
		DstBlock		"Az. Beamwidth\n(rad) "
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "antenna width\n(m)"
	      SrcPort		      1
	      Points		      [30, 0; 0, 25]
	      DstBlock		      "antenna area\n(m^2)"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "antenna height\n(m)"
	      SrcPort		      1
	      Points		      [30, 0; 0, -45]
	      DstBlock		      "antenna area\n(m^2)"
	      DstPort		      2
	    }
	    Line {
	      Name		      "Antenna Area"
	      Labels		      [0, 1]
	      SrcBlock		      "antenna area\n(m^2)"
	      SrcPort		      1
	      DstBlock		      "Antenna Area\n(m^2)"
	      DstPort		      1
	    }
	    Line {
	      Name		      "El_Beam"
	      SrcBlock		      "El. Beamwidth\n(rad)"
	      SrcPort		      1
	      Points		      [0, 0; 20, 0]
	      Branch {
		Points			[25, 0]
		DstBlock		"antenna height\n(m)"
		DstPort			2
	      }
	      Branch {
		Labels			[2, 1]
		Points			[0, 20]
		DstBlock		"El. Beamwidth\n(rad) "
		DstPort			1
	      }
	    }
	    Line {
	      Labels		      [0, 1]
	      SrcBlock		      "Mux1"
	      SrcPort		      1
	      DstBlock		      "m/NM"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Elevation \nSpacing\n(NM)"
	      SrcPort		      1
	      DstBlock		      "Mux1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Lateral\nSpacing\n(NM)"
	      SrcPort		      1
	      DstBlock		      "Mux1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Range\n(NM)"
	      SrcPort		      1
	      DstBlock		      "Mux1"
	      DstPort		      3
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Calculate Antenna Gain"
	  Ports			  [3, 1]
	  Position		  [495, 168, 655, 302]
	  BackgroundColor	  "green"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  Port {
	    PortNumber		    1
	    ShowPropagatedSignals   "on"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  System {
	    Name		    "Calculate Antenna Gain"
	    Location		    [362, 320, 755, 600]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "wavelength\n(m)"
	      Position		      [25, 193, 55, 207]
	      BackgroundColor	      "yellow"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Antenna Efficiency"
	      Position		      [105, 98, 135, 112]
	      BackgroundColor	      "yellow"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Antenna Area\n(m)"
	      Position		      [105, 48, 135, 62]
	      BackgroundColor	      "yellow"
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Antenna Gain"
	      Ports		      [4, 1]
	      Position		      [200, 28, 235, 232]
	      Inputs		      "***/"
	      Port {
		PortNumber		1
		Name			"Gain"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "constant"
	      Position		      [115, 140, 145, 170]
	      FontName		      "Arial"
	      Value		      "4*pi"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "wavelength^2"
	      Ports		      [2, 1]
	      Position		      [115, 186, 145, 219]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Antenna Gain "
	      Position		      [305, 123, 335, 137]
	      BackgroundColor	      "orange"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Antenna Efficiency"
	      SrcPort		      1
	      DstBlock		      "Antenna Gain"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "constant"
	      SrcPort		      1
	      DstBlock		      "Antenna Gain"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "wavelength^2"
	      SrcPort		      1
	      DstBlock		      "Antenna Gain"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "Antenna Area\n(m)"
	      SrcPort		      1
	      DstBlock		      "Antenna Gain"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Gain"
	      Labels		      [0, 0]
	      SrcBlock		      "Antenna Gain"
	      SrcPort		      1
	      DstBlock		      "Antenna Gain "
	      DstPort		      1
	    }
	    Line {
	      Labels		      [0, 0]
	      SrcBlock		      "wavelength\n(m)"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		Points			[0, 10]
		DstBlock		"wavelength^2"
		DstPort			2
	      }
	      Branch {
		Points			[0, -5]
		DstBlock		"wavelength^2"
		DstPort			1
	      }
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Calculate Noise of Antenna"
	  Ports			  [4, 1]
	  Position		  [125, 527, 360, 803]
	  BackgroundColor	  "lightBlue"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Calculate Noise of Antenna"
	    Location		    [180, 227, 964, 593]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "BW/Pulsewidth"
	      Position		      [50, 33, 80, 47]
	      BackgroundColor	      "yellow"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Noise Factor"
	      Position		      [360, 208, 390, 222]
	      BackgroundColor	      "yellow"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Operating Temperature"
	      Position		      [300, 143, 330, 157]
	      BackgroundColor	      "yellow"
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "RADAR Range\nResolution"
	      Position		      [35, 123, 65, 137]
	      BackgroundColor	      "yellow"
	      Port		      "4"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Boltzmann's Constant\n(Watt-sec/Kelvin)"
	      Position		      [430, 263, 500, 297]
	      Value		      "1.38*10^-23"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [435, 200, 495, 230]
	      ShowName		      off
	      Expr		      "10^(u/10)"
	      Port {
		PortNumber		1
		Name			"Losses"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [105, 115, 135, 145]
	      ShowName		      off
	      Gain		      "2"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [3, 1]
	      Position		      [235, 14, 270, 156]
	      ShowName		      off
	      Inputs		      "**/"
	      Port {
		PortNumber		1
		Name			"Antenna Bandwidth"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product1"
	      Ports		      [4, 1]
	      Position		      [530, 50, 570, 315]
	      ShowName		      off
	      Inputs		      "4"
	      Port {
		PortNumber		1
		Name			"Receiver Noise Power"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Speed of Light\n(m/sec)"
	      Position		      [145, 69, 200, 101]
	      Value		      "3*10^8"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "fah2kelvin"
	      Position		      [380, 134, 495, 166]
	      Expr		      "273+(5/9)*(u[1]-32)"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Receiver Noise\nPower\n(Watt)"
	      Position		      [710, 178, 740, 192]
	      BackgroundColor	      "orange"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Speed of Light\n(m/sec)"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "BW/Pulsewidth"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "RADAR Range\nResolution"
	      SrcPort		      1
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Antenna Bandwidth"
	      Labels		      [0, 0]
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Product1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "fah2kelvin"
	      SrcPort		      1
	      DstBlock		      "Product1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Boltzmann's Constant\n(Watt-sec/Kelvin)"
	      SrcPort		      1
	      DstBlock		      "Product1"
	      DstPort		      4
	    }
	    Line {
	      Name		      "Receiver Noise Power"
	      Labels		      [0, 0]
	      SrcBlock		      "Product1"
	      SrcPort		      1
	      DstBlock		      "Receiver Noise\nPower\n(Watt)"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Noise Factor"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Losses"
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "Product1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Operating Temperature"
	      SrcPort		      1
	      DstBlock		      "fah2kelvin"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Check SNR"
	  Ports			  [4, 2]
	  Position		  [830, 459, 985, 701]
	  BackgroundColor	  "magenta"
	  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"
	  Port {
	    PortNumber		    1
	    Name		    "Est. Range"
	    PropagatedSignals	    "aircraft_range"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  System {
	    Name		    "Check SNR"
	    Location		    [257, 457, 812, 717]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "range_in"
	      Position		      [20, 101, 40, 119]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "SNR_limit"
	      Position		      [20, 136, 40, 154]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "SNR_Actual"
	      Position		      [20, 171, 40, 189]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "RRange"
	      Position		      [20, 206, 40, 224]
	      Port		      "4"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Demux
	      Name		      " Demux "
	      Ports		      [1, 1]
	      Position		      [270, 205, 320, 245]
	      Outputs		      "1"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      " SFunction "
	      Tag		      "Stateflow S-Function aero_atc 1"
	      Ports		      [4, 3]
	      Position		      [180, 102, 230, 203]
	      FunctionName	      "sf_sfun"
	      PortCounts	      "[4 3]"
	      Port {
		PortNumber		2
		Name			"aircraft_range"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	      Port {
		PortNumber		3
		Name			"SNR_flag"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      " Terminator "
	      Position		      [460, 216, 480, 234]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "aircraft_range"
	      Position		      [460, 101, 480, 119]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "SNR_flag"
	      Position		      [460, 136, 480, 154]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      " SFunction "
	      SrcPort		      1
	      Points		      [0, 105]
	      DstBlock		      " Demux "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      " Demux "
	      SrcPort		      1
	      DstBlock		      " Terminator "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "range_in"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "SNR_limit"
	      SrcPort		      1
	      Points		      [120, 0]
	      DstBlock		      " SFunction "
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "SNR_Actual"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "RRange"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      4
	    }
	    Line {
	      Name		      "aircraft_range"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      2
	      DstBlock		      "aircraft_range"
	      DstPort		      1
	    }
	    Line {
	      Name		      "SNR_flag"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      3
	      DstBlock		      "SNR_flag"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Constant
	  Name			  "El. Spacing\n(NM)"
	  Position		  [15, 315, 65, 345]
	  DropShadow		  on
	  Value			  "EL_Sep"
	  Port {
	    PortNumber		    1
	    Name		    "El. Spacing"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Estimate Range"
	  Ports			  [2, 1]
	  Position		  [645, 462, 775, 513]
	  BackgroundColor	  "magenta"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Estimate Range"
	    Location		    [105, 298, 944, 496]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Pt,lambda,L,Gt"
	      Position		      [30, 43, 60, 57]
	      BackgroundColor	      "yellow"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	      Port {
		PortNumber		1
		ShowPropagatedSignals	"on"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Power Received"
	      Position		      [70, 138, 100, 152]
	      BackgroundColor	      "yellow"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      FromWorkspace
	      Name		      "Cross-Section"
	      Position		      [25, 86, 145, 114]
	      BackgroundColor	      "magenta"
	      VariableName	      "[T_xsection,U_xsection]"
	      SampleTime	      "0"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn1"
	      Position		      [380, 29, 445, 71]
	      ShowName		      off
	      Expr		      "u(1)*u(2)*u(2)*u(4)*u(4)/(64*pi*pi*pi*u"
"(3))"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [375, 104, 440, 146]
	      ShowName		      off
	      Expr		      "u(1)/u(2)"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction"
	      Ports		      [1, 1]
	      Position		      [545, 50, 575, 80]
	      ShowName		      off
	      Operator		      "sqrt"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction1"
	      Ports		      [1, 1]
	      Position		      [600, 50, 630, 80]
	      ShowName		      off
	      Operator		      "sqrt"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux2"
	      Ports		      [2, 1]
	      Position		      [185, 77, 195, 168]
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "NM/m"
	      Position		      [655, 46, 720, 84]
	      Gain		      "1/1852"
	      Port {
		PortNumber		1
		Name			"El. Spacing, Lat. Spacing, Range"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
		ShowSigGenPortName	on
	      }
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Range Eqn"
	      Ports		      [2, 1]
	      Position		      [475, 37, 510, 93]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Est. Range"
	      Position		      [750, 58, 780, 72]
	      BackgroundColor	      "orange"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      Labels		      [-1, 0]
	      SrcBlock		      "Pt,lambda,L,Gt"
	      SrcPort		      1
	      DstBlock		      "Fcn1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn1"
	      SrcPort		      1
	      DstBlock		      "Range Eqn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "Range Eqn"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Range Eqn"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Math\nFunction"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Math\nFunction1"
	      SrcPort		      1
	      DstBlock		      "NM/m"
	      DstPort		      1
	    }
	    Line {
	      Name		      "El. Spacing, Lat. Spacing, Range"
	      SrcBlock		      "NM/m"
	      SrcPort		      1
	      DstBlock		      "Est. Range"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Cross-Section"
	      SrcPort		      1
	      DstBlock		      "Mux2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Power Received"
	      SrcPort		      1
	      DstBlock		      "Mux2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Mux2"
	      SrcPort		      1
	      DstBlock		      "Fcn2"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [775, 160, 835, 190]
	  ShowName		  off
	  Expr			  "10^(u/10)"
	  Port {
	    PortNumber		    1
	    Name		    "Losses"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  From
	  Name			  "From"
	  Position		  [725, 655, 780, 685]
	  ShowName		  off
	  GotoTag		  "RRange"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto"
	  Position		  [110, 489, 165, 521]
	  ShowName		  off
	  GotoTag		  "RRange"
	  TagVisibility		  "local"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Lat. Spacing\n(NM)"
	  Position		  [15, 380, 65, 410]
	  DropShadow		  on
	  Value			  "AZ_Sep"
	  Port {
	    PortNumber		    1
	    Name		    "Lat. Spacing"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [4, 1]
	  Position		  [900, 24, 910, 266]
	  ShowName		  off
	  DisplayOption		  "bar"
	  Port {
	    PortNumber		    1
	    ShowPropagatedSignals   "on"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [460, 321, 470, 494]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	  Port {
	    PortNumber		    1
	    ShowPropagatedSignals   "on"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Constant
	  Name			  "Noise Factor\n(dB)"
	  Position		  [40, 616, 80, 644]
	  DropShadow		  on
	  Value			  "Noise"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Power to Transmit"
	  Position		  [25, 41, 85, 69]
	  DropShadow		  on
	  Value			  "Pt"
	  Port {
	    PortNumber		    1
	    Name		    "Power_Transmitted (kW)"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Constant
	  Name			  "RADAR Range \n(NM)"
	  Position		  [15, 443, 65, 477]
	  DropShadow		  on
	  Value			  "Rrange"
	  Port {
	    PortNumber		    1
	    Name		    "RADAR Range"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Constant
	  Name			  "RADAR Range \nResolution\n(m)"
	  Position		  [40, 755, 70, 785]
	  DropShadow		  on
	  Value			  "Rres"
	}
	Block {
	  BlockType		  Constant
	  Name			  "SNR \n(dB)"
	  Position		  [730, 535, 760, 565]
	  DropShadow		  on
	  Value			  "SNR"
	  Port {
	    PortNumber		    1
	    Name		    "SNR_limit"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Watts"
	  Position		  [220, 37, 280, 73]
	  Gain			  "1000"
	  Port {
	    PortNumber		    1
	    Name		    "Power_Transmitted"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Constant
	  Name			  "Working Temperature\n(deg F)"
	  Position		  [40, 684, 80, 716]
	  DropShadow		  on
	  Value			  "Temp"
	}
	Block {
	  BlockType		  Constant
	  Name			  "wavelength\n(m) "
	  Position		  [15, 98, 80, 132]
	  DropShadow		  on
	  Value			  "Lambda"
	  Port {
	    PortNumber		    1
	    Name		    "wavelength"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Measured\nAircraft Range\n(NM)"
	  Position		  [1070, 515, 1100, 525]
	  BackgroundColor	  "orange"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Pt,Gt,L,lambda"
	  Position		  [1160, 138, 1190, 152]
	  BackgroundColor	  "orange"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Az_Beam,El_Beam"
	  Position		  [585, 403, 615, 417]
	  BackgroundColor	  "orange"
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "SNR flag"
	  Position		  [1070, 635, 1100, 645]
	  BackgroundColor	  "orange"
	  Port			  "4"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Antenna Efficiency"
	  SrcPort		  1
	  DstBlock		  "Calculate Antenna Gain"
	  DstPort		  2
	}
	Line {
	  Name			  "Lat. Spacing"
	  Labels		  [0, 0]
	  SrcBlock		  "Lat. Spacing\n(NM)"
	  SrcPort		  1
	  DstBlock		  "Calculate Antenna Area"
	  DstPort		  3
	}
	Line {
	  Name			  "El. Spacing"
	  Labels		  [-1, 0]
	  SrcBlock		  "El. Spacing\n(NM)"
	  SrcPort		  1
	  DstBlock		  "Calculate Antenna Area"
	  DstPort		  2
	}
	Line {
	  Name			  "wavelength"
	  SrcBlock		  "wavelength\n(m) "
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    Points		    [0, 75]
	    Branch {
	      Labels		      [-1, 0]
	      Points		      [0, 75]
	      DstBlock		      "Calculate Antenna Area"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "Calculate Antenna Gain"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Labels		    [-1, 0]
	    DstBlock		    "Mux"
	    DstPort		    2
	  }
	}
	Line {
	  Labels		  [0, 0]
	  SrcBlock		  "Calculate Antenna Area"
	  SrcPort		  1
	  DstBlock		  "Calculate Antenna Gain"
	  DstPort		  3
	}
	Line {
	  Name			  "RADAR Range"
	  Labels		  [0, 1]
	  SrcBlock		  "RADAR Range \n(NM)"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "Calculate Antenna Area"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "Goto"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "RADAR Range \nResolution\n(m)"
	  SrcPort		  1
	  DstBlock		  "Calculate Noise of Antenna"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "BW/Pulsewidth\n(Hz/pulsewidth)"
	  SrcPort		  1
	  DstBlock		  "Calculate Noise of Antenna"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Noise Factor\n(dB)"
	  SrcPort		  1
	  DstBlock		  "Calculate Noise of Antenna"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Working Temperature\n(deg F)"
	  SrcPort		  1
	  DstBlock		  "Calculate Noise of Antenna"
	  DstPort		  3
	}
	Line {
	  Labels		  [0, 0]
	  SrcBlock		  "Calculate Antenna Area"
	  SrcPort		  3
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  Labels		  [0, 0]
	  SrcBlock		  "Calculate Antenna Area"
	  SrcPort		  2
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  Labels		  [1, 0]
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Az_Beam,El_Beam"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Power Received\nWeather"
	  SrcPort		  1
	  DstBlock		  "Calculate\nSNR"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Power Received\nAircraft"
	  SrcPort		  1
	  Points		  [50, 0]
	  Branch {
	    DstBlock		    "Calculate\nSNR"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -55]
	    DstBlock		    "Estimate Range"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Calculate Noise of Antenna"
	  SrcPort		  1
	  DstBlock		  "Calculate\nSNR"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [30, 0]
	  Branch {
	    Labels		    [1, 0]
	    DstBlock		    "Pt,Gt,L,lambda"
	    DstPort		    1
	  }
	  Branch {
	    Labels		    [2, 1]
	    Points		    [0, 295; -320, 0; 0, 35]
	    DstBlock		    "Estimate Range"
	    DstPort		    1
	  }
	}
	Line {
	  Labels		  [0, 0; -1, 0]
	  SrcBlock		  "Calculate Antenna Gain"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  4
	}
	Line {
	  Name			  "Losses"
	  Labels		  [-1, 0]
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  Name			  "Power_Transmitted"
	  Labels		  [-1, 0]
	  SrcBlock		  "Watts"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Antenna Losses\n(dB)"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  Name			  "Power_Transmitted (kW)"
	  Labels		  [0, 0]
	  SrcBlock		  "Power to Transmit"
	  SrcPort		  1
	  DstBlock		  "Watts"
	  DstPort		  1
	}
	Line {
	  Name			  "Est. Range"
	  Labels		  [0, 0]
	  SrcBlock		  "Check SNR"
	  SrcPort		  1
	  DstBlock		  "Measured\nAircraft Range\n(NM)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Estimate Range"
	  SrcPort		  1
	  DstBlock		  "Check SNR"
	  DstPort		  1
	}
	Line {
	  Name			  "SNR_limit"
	  Labels		  [0, 0]
	  SrcBlock		  "SNR \n(dB)"
	  SrcPort		  1
	  DstBlock		  "Check SNR"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Calculate\nSNR"
	  SrcPort		  1
	  DstBlock		  "Check SNR"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "From"
	  SrcPort		  1
	  DstBlock		  "Check SNR"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Check SNR"
	  SrcPort		  2
	  DstBlock		  "SNR flag"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "aircraft"
      Ports		      [1, 2]
      Position		      [320, 113, 470, 222]
      ForegroundColor	      "white"
      FontName		      "Arial"
      FontSize		      14
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "image(plane)"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      Port {
	PortNumber		2
	ShowPropagatedSignals	"on"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      System {
	Name			"aircraft"
	Location		[136, 183, 917, 505]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Pt,lambda,L,Gt"
	  Position		  [30, 98, 60, 112]
	  BackgroundColor	  "yellow"
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	  Port {
	    PortNumber		    1
	    ShowPropagatedSignals   "on"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Sin
	  Name			  "Aircraft Range"
	  Ports			  [0, 1]
	  Position		  [50, 175, 80, 205]
	  SineType		  "Time based"
	  Amplitude		  "25"
	  Bias			  "35"
	  Frequency		  "0.0025"
	  SampleTime		  "0"
	  Port {
	    PortNumber		    1
	    Name		    "Act. Range"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  FromWorkspace
	  Name			  "Cross-Section"
	  Position		  [20, 134, 150, 156]
	  VariableName		  "[T_xsection,U_xsection]"
	  SampleTime		  "0"
	  Interpolate		  off
	  OutputAfterFinalValue	  "Holding final value"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [325, 84, 390, 126]
	  ShowName		  off
	  Expr			  "u(1)*u(2)*u(2)*u(4)*u(4)/(64*pi*pi*pi*u(3))"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [345, 149, 410, 191]
	  ShowName		  off
	  Expr			  "u(1)/(u(2)*u(2)*u(2)*u(2))"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [235, 122, 245, 213]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Product
	  Name			  "Range Eqn"
	  Ports			  [2, 1]
	  Position		  [440, 92, 475, 148]
	  Port {
	    PortNumber		    1
	    Name		    "Pr_aircraft"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "m/NM"
	  Position		  [155, 171, 215, 209]
	  Gain			  "1852"
	  Port {
	    PortNumber		    1
	    Name		    "El. Spacing, Lat. Spacing, Range"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Actual\nAircraft Range"
	  Position		  [555, 238, 585, 252]
	  BackgroundColor	  "orange"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Power Returned\nAircraft"
	  Position		  [555, 113, 585, 127]
	  BackgroundColor	  "orange"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  Labels		  [0, 1]
	  SrcBlock		  "Pt,lambda,L,Gt"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Cross-Section"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Fcn1"
	  DstPort		  1
	}
	Line {
	  Name			  "El. Spacing, Lat. Spacing, Range"
	  SrcBlock		  "m/NM"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "Range Eqn"
	  DstPort		  1
	}
	Line {
	  Name			  "Pr_aircraft"
	  Labels		  [0, 1]
	  SrcBlock		  "Range Eqn"
	  SrcPort		  1
	  DstBlock		  "Power Returned\nAircraft"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Range Eqn"
	  DstPort		  2
	}
	Line {
	  Name			  "Act. Range"
	  Labels		  [0, 0]
	  SrcBlock		  "Aircraft Range"
	  SrcPort		  1
	  Points		  [55, 0]
	  Branch {
	    Labels		    [2, 0]
	    Points		    [0, 55]
	    DstBlock		    "Actual\nAircraft Range"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "m/NM"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "weather"
      Ports		      [2, 1]
      Position		      [320, 243, 425, 352]
      ForegroundColor	      "white"
      FontName		      "Arial"
      FontSize		      14
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "image(weather);"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "normalized"
      Port {
	PortNumber		1
	ShowPropagatedSignals	"on"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
      System {
	Name			"weather"
	Location		[32, 230, 1027, 661]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Pt,lambda,L,Gt"
	  Position		  [50, 108, 80, 122]
	  BackgroundColor	  "yellow"
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	  Port {
	    PortNumber		    1
	    ShowPropagatedSignals   "on"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Inport
	  Name			  "Az_Beam,El_Beam"
	  Position		  [50, 333, 80, 347]
	  BackgroundColor	  "yellow"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	  Port {
	    PortNumber		    1
	    ShowPropagatedSignals   "on"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Constant
	  Name			  "Cross-section/unit volume"
	  Position		  [410, 195, 480, 225]
	  DropShadow		  on
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Value			  "rainfall"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [705, 94, 770, 136]
	  ShowName		  off
	  Expr			  "u(1)*u(2)*u(2)*u(4)*u(4)/(64*pi*pi*pi)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [705, 194, 770, 236]
	  ShowName		  off
	  Expr			  "u(2)/(u(1)*u(1)*u(1)*u(1))"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [670, 125, 680, 300]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux2"
	  Ports			  [4, 1]
	  Position		  [270, 202, 280, 358]
	  ShowName		  off
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Product
	  Name			  "Precipitation Volume\n(m^3)"
	  Ports			  [1, 1]
	  Position		  [315, 241, 370, 319]
	  Inputs		  "*"
	}
	Block {
	  BlockType		  Constant
	  Name			  "RADAR Range \n(NM)"
	  Position		  [40, 283, 90, 317]
	  DropShadow		  on
	  NamePlacement		  "alternate"
	  Value			  "Rrange"
	  Port {
	    PortNumber		    1
	    Name		    "RADAR Range"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Product
	  Name			  "Range Eqn"
	  Ports			  [2, 1]
	  Position		  [800, 102, 835, 158]
	  Port {
	    PortNumber		    1
	    Name		    "Pr_weather"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [1, 1]
	  Position		  [500, 215, 525, 255]
	  ShowName		  off
	  Elements		  "2"
	  InputPortWidth	  "4"
	}
	Block {
	  BlockType		  Product
	  Name			  "Total Cross-section\n(m^2)"
	  Ports			  [2, 1]
	  Position		  [600, 195, 635, 310]
	}
	Block {
	  BlockType		  FromWorkspace
	  Name			  "Weather Range"
	  Position		  [15, 157, 140, 183]
	  VariableName		  "[T_Weather,R_Weather]"
	  SampleTime		  "0"
	  Interpolate		  off
	  OutputAfterFinalValue	  "Holding final value"
	}
	Block {
	  BlockType		  Gain
	  Name			  "m/NM"
	  Position		  [170, 281, 235, 319]
	  NamePlacement		  "alternate"
	  Gain			  "1852"
	}
	Block {
	  BlockType		  Gain
	  Name			  "m/NM "
	  Position		  [160, 151, 225, 189]
	  Gain			  "1852"
	  Port {
	    PortNumber		    1
	    Name		    "Weather Range"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "sigmai\n(2D lookup)"
	  Ports			  [2, 1]
	  Position		  [540, 197, 575, 248]
	  SourceBlock		  "simulink3/Functions\n& Tables/Look-Up\nTabl"
"e (2-D)"
	  SourceType		  "Lookup Table (2-D)"
	  x			  "rainfall_bp"
	  y			  "lambda_bp"
	  t			  "sigma_table"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Power Returned\nWeather"
	  Position		  [920, 123, 950, 137]
	  BackgroundColor	  "orange"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "Precipitation Volume\n(m^3)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "m/NM"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  3
	}
	Line {
	  Name			  "RADAR Range"
	  Labels		  [0, 0]
	  SrcBlock		  "RADAR Range \n(NM)"
	  SrcPort		  1
	  DstBlock		  "m/NM"
	  DstPort		  1
	}
	Line {
	  Labels		  [1, 1]
	  SrcBlock		  "Az_Beam,El_Beam"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  4
	}
	Line {
	  Name			  "Weather Range"
	  SrcBlock		  "m/NM "
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Labels		    [-1, 1]
	    DstBlock		    "Mux1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 50]
	    Branch {
	      DstBlock		      "Mux2"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 40]
	      DstBlock		      "Mux2"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Fcn1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Weather Range"
	  SrcPort		  1
	  DstBlock		  "m/NM "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "sigmai\n(2D lookup)"
	  SrcPort		  1
	  DstBlock		  "Total Cross-section\n(m^2)"
	  DstPort		  1
	}
	Line {
	  Labels		  [0, 1]
	  SrcBlock		  "Pt,lambda,L,Gt"
	  SrcPort		  1
	  Points		  [300, 0]
	  Branch {
	    Points		    [0, 45; 5, 0; 0, 15; -5, 0; 0, 60]
	    DstBlock		    "Selector1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Fcn"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Precipitation Volume\n(m^3)"
	  SrcPort		  1
	  DstBlock		  "Total Cross-section\n(m^2)"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Range Eqn"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  DstBlock		  "sigmai\n(2D lookup)"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Cross-section/unit volume"
	  SrcPort		  1
	  DstBlock		  "sigmai\n(2D lookup)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Total Cross-section\n(m^2)"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "Range Eqn"
	  DstPort		  1
	}
	Line {
	  Name			  "Pr_weather"
	  Labels		  [0, 1]
	  SrcBlock		  "Range Eqn"
	  SrcPort		  1
	  DstBlock		  "Power Returned\nWeather"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Radar"
      SrcPort		      2
      Points		      [65, 0]
      Branch {
	Points			[0, -100]
	DstBlock		"aircraft"
	DstPort			1
      }
      Branch {
	DstBlock		"weather"
	DstPort			1
      }
    }
    Line {
      Labels		      [0, 0]
      SrcBlock		      "Radar"
      SrcPort		      3
      DstBlock		      "weather"
      DstPort		      2
    }
    Line {
      Labels		      [3, 0]
      SrcBlock		      "weather"
      SrcPort		      1
      Points		      [75, 0; 0, 140; -490, 0; 0, -85]
      DstBlock		      "Radar"
      DstPort		      2
    }
    Line {
      Labels		      [3, 1]
      SrcBlock		      "aircraft"
      SrcPort		      2
      Points		      [35, 0; 0, -165; -495, 0; 0, 215]
      DstBlock		      "Radar"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Radar"
      SrcPort		      1
      Points		      [55, 0; 0, -140]
      DstBlock		      "Mux"
      DstPort		      2
    }
    Line {
      SrcBlock		      "aircraft"
      SrcPort		      1
      Points		      [15, 0; 0, -85]
      DstBlock		      "Mux"
      DstPort		      1
    }
    Line {
      Labels		      [0, 0]
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Aircraft Range"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Radar"
      SrcPort		      4
      DstBlock		      "Desired SNR?"
      DstPort		      1
    }
  }
}

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

Stateflow {

	machine {
		id                   		1
		name                 		"aero_atc"
		created              		"11-Nov-1999 16:35:51"
		isLibrary            		0
		firstTarget          		28
		sfVersion            		62014000
		sfDemoChecksum       		[549212468 2398806777 3658173613 3785212503]
	}

	chart {
		id                                        		2
		name                                      		"Radar/Check SNR"
		windowPosition                            		[18.75 303.9 342 190.8]
		viewLimits                                		[26.153 623.153 0 309.6]
		zoomFactor                                		2
		screen                                    		[1 1 1024 768 1.333333333333333]
		treeNode                                  		[0 3 0 0]
		viewObj                                   		2
		machine                                   		1
		decomposition                             		SET_CHART
		firstData                                 		21
		updateMethod                              		CONTINUOUS
		chartFileNumber                           		1
	}

	state {
		id                  		3
		labelString         		"Visability"
		position            		[23.518 5.628 582.235 315.75]
		fontSize            		10
		chart               		2
		treeNode            		[2 4 0 6]
		firstTransition     		11
		firstJunction       		9
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		AND_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		4
		labelString         		"detect\n"
						"during: aircraft_range = range_in;"
		position            		[41.551 141.275 160.935 112.49]
		fontSize            		10
		chart               		2
		treeNode            		[3 0 0 5]
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		5
		labelString         		"no_detect\n"
						"during: aircraft_range =0;"
		position            		[410.161 143.866 141.433 111.233]
		fontSize            		10
		chart               		2
		treeNode            		[3 0 4 0]
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		6
		labelString         		"SNR"
		position            		[12.789 331.344 586.436 305.437]
		fontSize            		10
		chart               		2
		treeNode            		[2 7 3 0]
		firstTransition     		16
		firstJunction       		10
		visible             		0
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		AND_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		7
		labelString         		"Less_than"
		position            		[34.338 514.084 106.376 99.618]
		fontSize            		10
		chart               		2
		treeNode            		[6 0 0 8]
		visible             		0
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		8
		labelString         		"Equal_to_or_Greater_than"
		position            		[426.319 516.078 146.198 90.904]
		fontSize            		10
		chart               		2
		treeNode            		[6 0 7 0]
		visible             		0
		subviewer           		2
		subviewS {
			pos       		[0 0 0 0]
			fontSize  		2
		}
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	junction {
		id         		9
		position   		[274.6252 61.6896 7]
		chart      		2
		linkNode   		[3 0 0]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		10
		position   		[309.5401 406.0798 7]
		chart      		2
		linkNode   		[6 0 0]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	transition {
		id             		11
		labelPosition  		[275.653 28.845 9 13.461]
		fontSize       		10
		src {
			intersection		[0 0 0 0 275.3752 23.4396 0 0]
		}
		dst {
			id          		9
			intersection		[0 0 -1 -1 274.6252 54.6896 0 0]
		}
		midPoint       		[275.0551 32.0782]
		chart          		2
		linkNode       		[3 0 12]
		dataLimits     		[272.225 277.025 23.44 54.69]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		12
		labelString    		"[(SNR_Actual <= 6) || (range_in > RRange)]\n"
						"{ aircraft_range =0;}"
		labelPosition  		[356.202 38.477 213 23.93]
		fontSize       		10
		src {
			id          		9
			intersection		[0 0.9939 0.1104 -1 281.5824 62.4627 0 0]
		}
		dst {
			id          		5
			intersection		[1 0 -1 0.3056 453.3876 143.8658 0 0]
		}
		midPoint       		[354.7963 66.0087]
		chart          		2
		linkNode       		[3 11 13]
		dataLimits     		[281.582 455.788 62.463 143.866]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		13
		labelString    		"[(SNR_Actual > 6) && (range_in <= RRange) ]\n"
						"{ aircraft_range = range_in;}"
		labelPosition  		[56.001 54.085 222 23.93]
		fontSize       		10
		src {
			id          		9
			intersection		[0 -0.9793 0.2023 -1 267.7699 63.1057 0 0]
		}
		dst {
			id          		4
			intersection		[1 0 -1 0.6135 140.2766 141.2749 0 0]
		}
		midPoint       		[211.192 72.0681]
		chart          		2
		linkNode       		[3 12 14]
		dataLimits     		[137.877 267.77 63.106 141.275]
		subviewer      		2
		executionOrder 		2
	}

	transition {
		id             		14
		labelString    		"[(SNR_Actual > 6) && (range_in <= RRange)]\n"
						"{ aircraft_range = range_in;}"
		labelPosition  		[208.348 152.847 219 23.93]
		fontSize       		10
		src {
			id          		5
			intersection		[4 -1 0 0.6695 410.1609 180.631 0 0]
		}
		dst {
			id          		4
			intersection		[2 1 0 0.3446 202.4855 180.041 0 0]
		}
		midPoint       		[340.9973 180.4332]
		chart          		2
		linkNode       		[3 13 15]
		dataLimits     		[202.486 410.161 177.641 182.441]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		15
		labelString    		"[(SNR_Actual <= 6) || (range_in > RRange)]\n"
						"{ aircraft_range = 0;}"
		labelPosition  		[199.887 242.759 213 23.93]
		fontSize       		10
		src {
			id          		4
			intersection		[2 1 0 0.8278 202.4855 234.398 0 0]
		}
		dst {
			id          		5
			intersection		[4 -1 0 0.1695 410.1609 236.2418 0 0]
		}
		midPoint       		[271.6492 234.9899]
		chart          		2
		linkNode       		[3 14 0]
		dataLimits     		[202.486 410.161 233.842 238.642]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		16
		labelPosition  		[308.849 372.817 9 13.461]
		fontSize       		10
		src {
			intersection		[0 0 0 0.5083 308.5 367.0798 0 0]
		}
		dst {
			id          		10
			intersection		[0 -0.0322 -0.9995 -1 309.3146 399.0835 0 0]
		}
		midPoint       		[308.6944 375.9829]
		chart          		2
		linkNode       		[6 0 17]
		dataLimits     		[306.658 311.456 367.08 399.084]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		17
		labelString    		"[SNR_Actual < SNR_limit]{SNR_flag = 0;}"
		labelPosition  		[54.94 391.836 204 13.461]
		fontSize       		10
		src {
			id          		10
			intersection		[0 -1 0 -1 302.5401 406.0798 0 0]
		}
		dst {
			id          		7
			intersection		[1 0 -1 0.5468 92.5 514.0837 0 0]
		}
		midPoint       		[209.0427 415.3244]
		chart          		2
		linkNode       		[6 16 18]
		dataLimits     		[90.1 302.54 406.08 514.084]
		subviewer      		2
		executionOrder 		2
	}

	transition {
		id             		18
		labelString    		"[SNR_Actual >= SNR_limit]{SNR_flag = 1;}"
		labelPosition  		[383.495 395.497 210 13.461]
		fontSize       		10
		src {
			id          		10
			intersection		[0 1 0 -1 316.5401 406.0798 0 0]
		}
		dst {
			id          		8
			intersection		[1 0 -1 0.5318 504.0625 516.0775 0 0]
		}
		midPoint       		[400.9818 417.3619]
		chart          		2
		linkNode       		[6 17 19]
		dataLimits     		[316.54 506.462 406.08 516.077]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		19
		labelString    		"[SNR_Actual >= SNR_limit]{SNR_flag = 1;}"
		labelPosition  		[219.744 531.31 210 13.461]
		fontSize       		10
		src {
			id          		7
			intersection		[2 1 0 0.3523 140.7148 549.1765 0 0]
		}
		dst {
			id          		8
			intersection		[4 -1 0 0.6337 426.3185 549.375 0 0]
		}
		midPoint       		[237.7388 549.2329]
		chart          		2
		linkNode       		[6 18 20]
		dataLimits     		[140.715 426.318 546.975 551.775]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		20
		labelString    		"[SNR_Actual < SNR_limit]{SNR_flag = 0;}"
		labelPosition  		[176.066 580.126 204 13.461]
		fontSize       		10
		src {
			id          		8
			intersection		[4 -1 0 0.3214 426.3185 577.7627 0 0]
		}
		dst {
			id          		7
			intersection		[2 1 0 0.6364 140.7148 577.4772 0 0]
		}
		midPoint       		[334.7305 577.6711]
		chart          		2
		linkNode       		[6 19 0]
		dataLimits     		[140.715 426.318 575.077 579.877]
		subviewer      		2
		executionOrder 		1
	}

	data {
		id                            		21
		name                          		"range_in"
		linkNode                      		[2 0 22]
		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                            		22
		name                          		"SNR_limit"
		linkNode                      		[2 21 23]
		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                            		23
		name                          		"SNR_Actual"
		linkNode                      		[2 22 24]
		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		""
			}
			array {
				firstIndex		""
			}
		}
	}

	data {
		id                            		24
		name                          		"aircraft_range"
		linkNode                      		[2 23 25]
		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		""
			}
			initialValue		"0 "
		}
	}

	data {
		id                            		25
		name                          		"RRange"
		linkNode                      		[2 24 26]
		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                            		26
		name                          		"SNR_flag"
		linkNode                      		[2 25 0]
		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		""
			}
		}
	}

	instance {
		id     		27
		name   		"Radar/Check SNR"
		machine		1
		chart  		2
	}

	target {
		id                        		28
		name                      		"sfun"
		description               		"Default Simulink S-Function Target."
		codeFlags                 		" debug=1 telemetry=0 preservenames=0 preservenameswithparent"
						"=0 exportcharts=0 project=0 multiinstanced=0 statebitsets=0 "
						"databitsets=0 comments=1 echo=1 initializer=1 ioformat=1"
		machine                   		1
		linkNode                  		[1 0 0]
	}
}
