# $Revision: 1.2.2.3 $
Model {
  Name			  "sf_mandelbrot_fixpt"
  Version		  6.2
  MdlSubVersion		  0
  GraphicalInterface {
    NumRootInports	    0
    NumRootOutports	    0
    ParameterArgumentNames  ""
    ComputedModelVersion    "1.101"
    NumModelReferences	    0
    NumTestPointedSignals   0
  }
  SavedCharacterEncoding  "US-ASCII"
  SaveDefaultBlockParams  on
  SampleTimeColors	  off
  LibraryLinkDisplay	  "none"
  WideLines		  off
  ShowLineDimensions	  off
  ShowPortDataTypes	  off
  ShowLoopsOnError	  on
  IgnoreBidirectionalLines off
  ShowStorageClass	  off
  ShowTestPointIcons	  on
  ShowViewerIcons	  on
  SortedOrder		  on
  ExecutionContextIcon	  off
  ShowLinearizationAnnotations on
  RecordCoverage	  off
  CovPath		  "/"
  CovSaveName		  "covdata"
  CovMetricSettings	  "dcmtr"
  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  off
  BlockDescriptionStringDataTip	off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  CloseFcn		  "sf_mandel_gui('close');"
  Created		  "Fri Dec 14 09:50:25 2001"
  Creator		  "The MathWorks Inc."
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "batserve"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Sat Jan 22 19:12:09 2005"
  ModelVersionFormat	  "1.%<AutoIncrement:101>"
  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	  "normal"
  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	  on
  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		  "inf"
	  AbsTol		  "auto"
	  FixedStep		  "0.0005"
	  InitialStep		  "auto"
	  MaxNumMinSteps	  "-1"
	  MaxOrder		  5
	  ExtrapolationOrder	  4
	  NumberNewtonIterations  1
	  MaxStep		  "auto"
	  MinStep		  "auto"
	  RelTol		  "1e-3"
	  SolverMode		  "SingleTasking"
	  Solver		  "FixedStepDiscrete"
	  SolverName		  "FixedStepDiscrete"
	  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		  "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
	  Array {
	    Type		    "Cell"
	    Dimension		    5
	    Cell		    "ZeroExternalMemoryAtStartup"
	    Cell		    "ZeroInternalMemoryAtStartup"
	    Cell		    "InitFltsAndDblsToZero"
	    Cell		    "OptimizeModelRefInitCode"
	    Cell		    "NoFixptDivByZeroProtection"
	    PropName		    "DisabledProps"
	  }
	  Version		  "1.1.0"
	  BlockReduction	  on
	  BooleanDataType	  off
	  ConditionallyExecuteInputs on
	  InlineParams		  off
	  InlineInvariantSignals  off
	  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  off
	}
	Simulink.DebuggingCC {
	  $ObjectID		  5
	  Version		  "1.1.0"
	  RTPrefix		  "error"
	  ConsistencyChecking	  "none"
	  ArrayBoundsChecking	  "none"
	  SignalInfNanChecking	  "none"
	  AlgebraicLoopMsg	  "warning"
	  ArtificialAlgebraicLoopMsg "warning"
	  CheckSSInitialOutputMsg on
	  CheckExecutionContextPreStartOutputMsg off
	  CheckExecutionContextRuntimeOutputMsg	off
	  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  "none"
	  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 on
	      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"
      ExtraOptions	      "-aGenRTModel=1 "
      CurrentDlgPage	      "Data Import//Export"
    }
    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		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      UseBusObject	      off
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    Block {
      BlockType		      Step
      Time		      "1"
      Before		      "0"
      After		      "1"
      SampleTime	      "-1"
      VectorParams1D	      on
      ZeroCross		      on
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Terminator
    }
    Block {
      BlockType		      TriggerPort
      TriggerType	      "rising"
      StatesWhenEnabling      "inherit"
      ShowOutputPort	      off
      OutputDataType	      "auto"
      SampleTimeType	      "triggered"
      SampleTime	      "1"
      ZeroCross		      on
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "sf_mandelbrot_fixpt"
    Location		    [288, 332, 848, 462]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    212
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "Chart"
      Ports		      [0, 0, 0, 1]
      Position		      [200, 44, 260, 96]
      Orientation	      "down"
      TreatAsAtomicUnit	      on
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "Stateflow"
      MaskDescription	      "Stateflow diagram"
      MaskDisplay	      "plot(sf('Private','sfblk','xIcon'),sf('Private'"
",'sfblk','yIcon'));text(0.5,0,sf('Private', 'sfblk', 'tIcon'),'HorizontalAl',"
"'Center','VerticalAl','Bottom');"
      MaskSelfModifiable      on
      MaskIconFrame	      off
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Chart"
	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		  TriggerPort
	  Name			  " input events "
	  Ports			  [0, 1]
	  Position		  [20, 101, 40, 119]
	  TriggerType		  "either"
	  ShowOutputPort	  on
	  ZeroCross		  off
	}
	Block {
	  BlockType		  Demux
	  Name			  " Demux "
	  Ports			  [1, 1]
	  Position		  [270, 100, 320, 140]
	  Outputs		  "1"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  " SFunction "
	  Tag			  "Stateflow S-Function sf_mandelbrot_fixpt 1"
	  Ports			  [1, 1]
	  Position		  [180, 100, 230, 140]
	  FunctionName		  "sf_sfun"
	  PortCounts		  "[1 1]"
	}
	Block {
	  BlockType		  Terminator
	  Name			  " Terminator "
	  Position		  [460, 111, 480, 129]
	}
	Line {
	  SrcBlock		  " SFunction "
	  SrcPort		  1
	  DstBlock		  " Demux "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  " Demux "
	  SrcPort		  1
	  DstBlock		  " Terminator "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  " input events "
	  SrcPort		  1
	  DstBlock		  " SFunction "
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [125, 33, 135, 102]
      NamePlacement	      "alternate"
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Step
      Name		      "Step"
      Position		      [35, 35, 65, 65]
      NamePlacement	      "alternate"
      Time		      "0.1"
      SampleTime	      "0"
      ZeroCross		      off
    }
    Block {
      BlockType		      Constant
      Name		      "Trigger"
      Position		      [35, 70, 65, 100]
    }
    Line {
      SrcBlock		      "Trigger"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Step"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Chart"
      DstPort		      trigger
    }
    Annotation {
      Name		      "This demo illustrates the difference between\nf"
"ixed-point and floating-point computation by \ndisplaying the result of compu"
"ting the \nMandelbrot set using each method.\n\nYou can click and drag in the"
" window to zoom \nin on a portion of the image once a redraw is \ncomplete. T"
"he simulation runs until stopped. "
      Position		      [311, 62]
      HorizontalAlignment     "left"
      DropShadow	      on
      FontName		      "Arial"
    }
  }
}

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

Stateflow {

	machine {
		id                   		1
		name                 		"sf_mandelbrot_fixpt"
		created              		"14-Dec-2001 09:50:25"
		isLibrary            		0
		firstTarget          		84
		debug {
			runTimeCheck         		[1 1 0 1]
			animation            		[0 0]
		}
		sfVersion            		62014000
		sfDemoChecksum       		[672166587 2605545654 1674765323 3421555462]
	}

	chart {
		id                                        		2
		name                                      		"Chart"
		windowPosition                            		[99.899 104.702 530.234 495.653]
		viewLimits                                		[0 773.469 20.714 752.019]
		zoomFactor                                		1.63
		screen                                    		[1 1 1280 1024 1.041050272174191]
		treeNode                                  		[0 5 0 0]
		firstTransition                           		34
		firstJunction                             		14
		viewObj                                   		2
		machine                                   		1
		decomposition                             		CLUSTER_CHART
		firstEvent                                		64
		firstData                                 		66
		chartFileNumber                           		1
	}

	state {
		id                  		3
		labelString         		"i = mandel_fix(a0,b0)"
		position            		[33.725 31.2316 254.5119 256.4319]
		fontSize            		12
		chart               		2
		treeNode            		[2 0 5 4]
		firstTransition     		24
		firstJunction       		8
		subviewer           		2
		type                		FUNC_STATE
		decomposition       		CLUSTER_STATE
		firstData           		48
	}

	state {
		id                  		4
		labelString         		"Wait\n"
						"entry:ml.sf_mandel_gui(\"enter_wait\");"
		position            		[281.7303 334.3972 237.2502 66.0109]
		fontSize            		12
		chart               		2
		treeNode            		[2 0 3 0]
		subviewer           		2
		type                		OR_STATE
		decomposition       		CLUSTER_STATE
	}

	state {
		id                  		5
		labelString         		"i = mandel_double(a0,b0)"
		position            		[300.1538 30.4386 254.5119 256.4319]
		fontSize            		12
		chart               		2
		treeNode            		[2 0 0 3]
		firstTransition     		45
		firstJunction       		19
		subviewer           		2
		type                		FUNC_STATE
		decomposition       		CLUSTER_STATE
		firstData           		56
	}

	junction {
		id         		6
		position   		[129.9247 101.8063 7]
		chart      		2
		linkNode   		[3 8 9]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		7
		position   		[129.9247 221.4313 7]
		chart      		2
		linkNode   		[3 11 0]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		8
		position   		[56.5133 101.6195 7]
		chart      		2
		linkNode   		[3 0 6]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		9
		position   		[102.7728 198.5213 7]
		chart      		2
		linkNode   		[3 6 11]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		10
		position   		[552.2455 736.6745 7]
		chart      		2
		linkNode   		[2 12 0]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		11
		position   		[56.5133 221.4313 7]
		chart      		2
		linkNode   		[3 9 7]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		12
		position   		[324.0818 736.6745 7]
		chart      		2
		linkNode   		[2 23 10]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		13
		position   		[324.0818 574.1003 7]
		chart      		2
		linkNode   		[2 16 17]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		14
		position   		[40.6626 373.8774 7]
		chart      		2
		linkNode   		[2 0 15]
		subviewer  		2
		quantum    		[0 47 0 0]
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		15
		position   		[324.0818 436.3528 7]
		chart      		2
		linkNode   		[2 14 16]
		subviewer  		2
		quantum    		[29 0 0 0]
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		16
		position   		[552.2455 436.3528 7]
		chart      		2
		linkNode   		[2 15 13]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		17
		position   		[552.2455 574.1003 7]
		chart      		2
		linkNode   		[2 13 23]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		18
		position   		[369.2016 197.7283 7]
		chart      		2
		linkNode   		[5 21 22]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		19
		position   		[322.9421 100.8265 7]
		chart      		2
		linkNode   		[5 0 21]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		20
		position   		[396.3535 220.6383 7]
		chart      		2
		linkNode   		[5 22 0]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		21
		position   		[396.3535 101.0133 7]
		chart      		2
		linkNode   		[5 19 18]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		22
		position   		[322.9421 220.6383 7]
		chart      		2
		linkNode   		[5 18 20]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	junction {
		id         		23
		position   		[40.6626 661.1147 7]
		chart      		2
		linkNode   		[2 17 12]
		subviewer  		2
		type       		CONNECTIVE_JUNCTION
	}

	transition {
		id             		24
		labelString    		"{ i = 0;\n"
						" r2 = 0;\n"
						" local_colors = colors; }"
		labelPosition  		[138.341 57.962 138.793 50.098]
		fontSize       		12
		src {
			intersection		[0 0 1 0 129.9247 66.4816 0 0]
		}
		dst {
			id          		6
			intersection		[7 0 -1 -1 129.9247 94.8063 0 0]
		}
		midPoint       		[129.9247 76.999]
		chart          		2
		linkNode       		[3 0 27]
		dataLimits     		[127.525 132.325 66.482 94.806]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		25
		labelString    		"{\n"
						"bn = 2 * an * bn + b0;\n"
						"an = r2 + a0;\n"
						"r2 = an * an - bn * bn;\n"
						"}"
		labelPosition  		[138.6 122.114 130.995 81.409]
		fontSize       		12
		src {
			id          		6
			intersection		[0 0 1 -1 129.9247 108.8063 0 0]
		}
		dst {
			id          		7
			intersection		[7 0 -1 -1 129.9247 214.4313 0 0]
		}
		midPoint       		[129.9247 159.6543]
		chart          		2
		linkNode       		[3 26 28]
		dataLimits     		[127.525 132.325 108.806 214.431]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		26
		labelString    		"{\n"
						"i++;\n"
						"}"
		labelPosition  		[63.706 120.086 24.951 50.098]
		fontSize       		12
		src {
			id          		11
			intersection		[0 0 -1 -1 56.5133 214.4313 0 0]
		}
		dst {
			id          		8
			intersection		[7 0 1 -1 56.5133 108.6195 0 0]
		}
		midPoint       		[56.5133 163.4859]
		chart          		2
		linkNode       		[3 27 25]
		dataLimits     		[54.113 58.913 108.62 214.431]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		27
		labelPosition  		[94.393 101.715 10.916 18.787]
		fontSize       		12
		src {
			id          		8
			intersection		[0 1 0.0025 -1 63.5133 101.637 0 0]
		}
		dst {
			id          		6
			intersection		[0 -1 -0.0025 -1 122.9247 101.7888 0 0]
		}
		midPoint       		[90.2499 101.7054]
		chart          		2
		linkNode       		[3 24 26]
		dataLimits     		[63.513 122.925 99.369 104.169]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		28
		labelPosition  		[118.475 194.168 10.916 18.787]
		fontSize       		12
		src {
			id          		7
			intersection		[0 -0.7643 -0.6449 -1 124.5746 216.917 0 0]
		}
		dst {
			id          		9
			intersection		[7 0.7643 0.6449 -1 108.1229 203.0356 0 0]
		}
		midPoint       		[119.2475 212.4222]
		chart          		2
		linkNode       		[3 25 33]
		dataLimits     		[108.123 124.575 203.036 216.917]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		2
	}

	transition {
		id             		29
		labelString    		"{ ml.toc() }"
		labelPosition  		[329.958 410.748 62.379 18.787]
		fontSize       		12
		src {
			id          		15
			intersection		[0 0 -1 -1 324.0818 429.3528 0 0]
		}
		dst {
			id          		4
			intersection		[3 0 1 0.8215 324.0818 400.4081 0 0]
		}
		midPoint       		[324.0818 418.5119]
		chart          		2
		linkNode       		[2 46 36]
		dataLimits     		[321.682 326.482 400.408 429.353]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		2
		debug          		[0 1]
	}

	transition {
		id             		30
		labelString    		"{\n"
						"fix_line[j]  = mandel_fix(x,y0);\n"
						"dbl_line[j] = mandel_double(x,y0);\n"
						"}"
		labelPosition  		[560.971 617.487 205.85 65.754]
		fontSize       		12
		src {
			id          		17
			intersection		[0 0 1 -1 552.2455 581.1003 0 0]
		}
		dst {
			id          		10
			intersection		[0 0 -1 -1 552.2455 729.6745 0 0]
		}
		midPoint       		[552.2455 654.3566]
		chart          		2
		linkNode       		[2 32 31]
		dataLimits     		[549.846 554.645 581.1 729.674]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		31
		labelPosition  		[343.629 745.798 10.916 18.787]
		fontSize       		12
		src {
			id          		10
			intersection		[0 -1 0 -1 545.2455 736.6745 0 0]
		}
		dst {
			id          		12
			intersection		[7 1 0 -1 331.0818 736.6745 0 0]
		}
		midPoint       		[437.7686 736.6745]
		chart          		2
		linkNode       		[2 30 0]
		dataLimits     		[331.082 545.245 734.274 739.074]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		32
		labelString    		"{\n"
						"j++;\n"
						"x += deltax;\n"
						"}"
		labelPosition  		[332.365 613.631 70.176 65.754]
		fontSize       		12
		src {
			id          		12
			intersection		[0 0 -1 -1 324.0818 729.6745 0 0]
		}
		dst {
			id          		13
			intersection		[0 0 1 -1 324.0818 581.1003 0 0]
		}
		midPoint       		[324.0818 656.4183]
		chart          		2
		linkNode       		[2 38 30]
		dataLimits     		[321.682 326.482 581.1 729.674]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		33
		labelString    		"[ r2 < 4 && i < local_colors ]"
		labelPosition  		[42.168 233.27 163.744 18.787]
		fontSize       		12
		src {
			id          		7
			intersection		[0 -1 0 -1 122.9247 221.4313 0 0]
		}
		dst {
			id          		11
			intersection		[7 1 0 -1 63.5133 221.4313 0 0]
		}
		midPoint       		[96.1882 221.4313]
		chart          		2
		linkNode       		[3 28 0]
		dataLimits     		[63.513 122.925 219.031 223.831]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		34
		labelString    		"Start {\n"
						"1\n"
						"ml.sf_mandel_gui();\n"
						"}"
		labelPosition  		[65.928 300.915 121.638 65.754]
		fontSize       		12
		src {
			intersection		[0 0 1 0.8226 40.6626 312.9899 0 0]
		}
		dst {
			id          		14
			intersection		[7 0 -1 -1 40.6626 366.8774 0 0]
		}
		midPoint       		[40.6626 336.8444]
		chart          		2
		linkNode       		[2 0 47]
		dataLimits     		[38.263 43.063 312.99 366.877]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		35
		labelPosition  		[82.831 645.93 10.916 18.787]
		fontSize       		12
		src {
			id          		23
			intersection		[0 0.9978 0.0659 -1 47.6472 661.576 0 0]
		}
		dst {
			id          		15
			intersection		[0 -0.1632 0.9866 -1 322.9394 443.259 0 0]
		}
		midPoint       		[237.9342 619.2181]
		chart          		2
		linkNode       		[2 36 39]
		dataLimits     		[47.647 324.002 443.259 663.103]
		stampAngle     		0.7364
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		36
		labelString    		"[ i <= pix_h ]"
		labelPosition  		[408.241 418.287 73.295 18.787]
		fontSize       		12
		src {
			id          		15
			intersection		[0 1 0 -1 331.0818 436.3528 0 0]
		}
		dst {
			id          		16
			intersection		[7 -1 0 -1 545.2455 436.3528 0 0]
		}
		midPoint       		[438.5587 436.3528]
		chart          		2
		linkNode       		[2 29 35]
		dataLimits     		[331.082 545.245 433.953 438.753]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		37
		labelString    		"{\n"
						"j = 1;\n"
						"x = real_left;\n"
						"}"
		labelPosition  		[560.802 464.344 74.854 65.754]
		fontSize       		12
		src {
			id          		16
			intersection		[0 0 1 -1 552.2455 443.3528 0 0]
		}
		dst {
			id          		17
			intersection		[7 0 -1 -1 552.2455 567.1003 0 0]
		}
		midPoint       		[552.2455 503.656]
		chart          		2
		linkNode       		[2 39 38]
		dataLimits     		[549.846 554.645 443.353 567.1]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		38
		labelString    		"[ j <= pix_w]"
		labelPosition  		[407.243 579.57 71.735 18.787]
		fontSize       		12
		src {
			id          		13
			intersection		[0 1 0 -1 331.0818 574.1003 0 0]
		}
		dst {
			id          		17
			intersection		[0 -1 0 -1 545.2455 574.1003 0 0]
		}
		midPoint       		[438.5587 574.1003]
		chart          		2
		linkNode       		[2 37 32]
		dataLimits     		[331.082 545.245 571.7 576.5]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		39
		labelString    		"{\n"
						"ml.sf_mandel_gui(i,dbl_line,fix_line);\n"
						"ml.sf_mandel_gui(\"update\");\n"
						"i++;\n"
						"y0 -= deltay;\n"
						"}"
		labelPosition  		[336.828 460.674 221.444 97.065]
		fontSize       		12
		src {
			id          		13
			intersection		[0 0 -1 -1 324.0818 567.1003 0 0]
		}
		dst {
			id          		15
			intersection		[0 0 1 -1 324.0818 443.3528 0 0]
		}
		midPoint       		[324.0818 506.7971]
		chart          		2
		linkNode       		[2 35 37]
		dataLimits     		[321.682 326.482 443.353 567.1]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		2
	}

	transition {
		id             		40
		labelString    		"[ r2 < 4 && i < local_colors ]"
		labelPosition  		[308.597 232.477 163.744 18.787]
		fontSize       		12
		src {
			id          		20
			intersection		[0 -1 0 -1 389.3535 220.6383 0 0]
		}
		dst {
			id          		22
			intersection		[7 1 0 -1 329.9421 220.6383 0 0]
		}
		midPoint       		[362.617 220.6383]
		chart          		2
		linkNode       		[5 41 0]
		dataLimits     		[329.942 389.353 218.238 223.038]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		41
		labelPosition  		[384.904 193.375 10.916 18.787]
		fontSize       		12
		src {
			id          		20
			intersection		[0 -0.7643 -0.6449 -1 391.0034 216.124 0 0]
		}
		dst {
			id          		18
			intersection		[7 0.7643 0.6449 -1 374.5517 202.2426 0 0]
		}
		midPoint       		[385.6763 211.6292]
		chart          		2
		linkNode       		[5 44 40]
		dataLimits     		[374.552 391.003 202.243 216.124]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		2
	}

	transition {
		id             		42
		labelPosition  		[360.822 100.922 10.916 18.787]
		fontSize       		12
		src {
			id          		19
			intersection		[0 1 0.0025 -1 329.9421 100.844 0 0]
		}
		dst {
			id          		21
			intersection		[0 -1 -0.0025 -1 389.3535 100.9958 0 0]
		}
		midPoint       		[356.6787 100.9124]
		chart          		2
		linkNode       		[5 45 43]
		dataLimits     		[329.942 389.353 98.576 103.376]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		43
		labelString    		"{\n"
						"i++;\n"
						"}"
		labelPosition  		[330.135 119.293 24.951 50.098]
		fontSize       		12
		src {
			id          		22
			intersection		[0 0 -1 -1 322.9421 213.6383 0 0]
		}
		dst {
			id          		19
			intersection		[7 0 1 -1 322.9421 107.8265 0 0]
		}
		midPoint       		[322.9421 162.6929]
		chart          		2
		linkNode       		[5 42 44]
		dataLimits     		[320.542 325.342 107.826 213.638]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		44
		labelString    		"{\n"
						"bn = 2 * an * bn + b0;\n"
						"an = r2 + a0;\n"
						"r2 = an * an - bn * bn;\n"
						"}"
		labelPosition  		[405.029 121.321 130.995 81.409]
		fontSize       		12
		src {
			id          		21
			intersection		[0 0 1 -1 396.3535 108.0133 0 0]
		}
		dst {
			id          		20
			intersection		[7 0 -1 -1 396.3535 213.6383 0 0]
		}
		midPoint       		[396.3535 158.8613]
		chart          		2
		linkNode       		[5 43 41]
		dataLimits     		[393.954 398.753 108.013 213.638]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		45
		labelString    		"{ i = 0;\n"
						" r2 = 0;\n"
						" local_colors = colors; }"
		labelPosition  		[406.404 68.313 138.793 50.098]
		fontSize       		12
		src {
			intersection		[0 0 1 0 396.3535 65.6886 0 0]
		}
		dst {
			id          		21
			intersection		[7 0 -1 -1 396.3535 94.0133 0 0]
		}
		midPoint       		[396.3535 76.206]
		chart          		2
		linkNode       		[5 0 42]
		dataLimits     		[393.954 398.753 65.689 94.013]
		subviewer      		2
		executionOrder 		1
	}

	transition {
		id             		46
		labelString    		"{\n"
						"ml.sf_mandel_gui(\"exit_wait\");\n"
						"colors = ml.sf_mandel_gui(\"colors\");\n"
						"\n"
						"pix_w = ml.sf_mandel_gui(\"pixel width\");\n"
						"pix_h  = ml.sf_mandel_gui(\"pixel height\");\n"
						"\n"
						"real_left = ml.sf_mandel_gui(\"real left\");\n"
						"real_top = ml.sf_mandel_gui(\"real top\");\n"
						"real_w   = ml.sf_mandel_gui(\"real width\");\n"
						"real_h   = ml.sf_mandel_gui(\"real height\");\n"
						"\n"
						"deltax = real_w / pix_w;\n"
						"deltay = real_h / pix_h;\n"
						"\n"
						"i=1;\n"
						"y0 = real_top;\n"
						"ml.tic();\n"
						"}"
		labelPosition  		[55.592 386.539 254.193 300.589]
		fontSize       		12
		src {
			id          		14
			intersection		[0 0 1 -1 40.6626 380.8774 0 0]
		}
		dst {
			id          		23
			intersection		[7 0 -1 -1 40.6626 654.1147 0 0]
		}
		midPoint       		[40.6626 519.1753]
		chart          		2
		linkNode       		[2 47 29]
		dataLimits     		[38.263 43.063 380.877 654.115]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	transition {
		id             		47
		labelString    		"Redraw"
		labelPosition  		[167.48 351.706 49.903 18.787]
		fontSize       		12
		src {
			id          		4
			intersection		[4 -1 0 0.4019 281.7303 373.8774 0 0]
		}
		dst {
			id          		14
			intersection		[0 1 0 -1 47.6626 373.8774 0 0]
		}
		midPoint       		[163.8687 373.8774]
		chart          		2
		linkNode       		[2 34 46]
		dataLimits     		[47.663 281.73 371.477 376.277]
		subviewer      		2
		drawStyle      		SMART
		executionOrder 		1
	}

	data {
		id                            		48
		name                          		"a0"
		linkNode                      		[3 0 49]
		scope                         		FUNCTION_INPUT_DATA
		machine                       		1
		dataType                      		"fixpt"
		fixptType {
			bias    		0
			slope   		1
			exponent		-13
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		49
		name                          		"b0"
		linkNode                      		[3 48 50]
		scope                         		FUNCTION_INPUT_DATA
		machine                       		1
		dataType                      		"fixpt"
		fixptType {
			bias    		0
			slope   		1
			exponent		-13
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		50
		name                          		"an"
		linkNode                      		[3 49 51]
		scope                         		TEMPORARY_DATA
		machine                       		1
		dataType                      		"fixpt"
		fixptType {
			bias    		0
			slope   		1
			exponent		-13
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		51
		name                          		"bn"
		linkNode                      		[3 50 52]
		scope                         		TEMPORARY_DATA
		machine                       		1
		dataType                      		"fixpt"
		fixptType {
			bias    		0
			slope   		1
			exponent		-13
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		52
		name                          		"bt"
		linkNode                      		[3 51 53]
		scope                         		TEMPORARY_DATA
		machine                       		1
		dataType                      		"fixpt"
		fixptType {
			bias    		0
			slope   		1
			exponent		-13
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		53
		name                          		"i"
		linkNode                      		[3 52 54]
		scope                         		FUNCTION_OUTPUT_DATA
		machine                       		1
		dataType                      		"int32"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		54
		name                          		"r2"
		linkNode                      		[3 53 55]
		scope                         		TEMPORARY_DATA
		machine                       		1
		dataType                      		"fixpt"
		fixptType {
			bias    		0
			slope   		1
			exponent		-26
			baseType		SF_INT32_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		55
		name                          		"local_colors"
		linkNode                      		[3 54 0]
		scope                         		TEMPORARY_DATA
		machine                       		1
		dataType                      		"int32"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		56
		name                          		"a0"
		linkNode                      		[5 0 57]
		scope                         		FUNCTION_INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		-13
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		57
		name                          		"b0"
		linkNode                      		[5 56 58]
		scope                         		FUNCTION_INPUT_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		-13
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		58
		name                          		"an"
		linkNode                      		[5 57 59]
		scope                         		TEMPORARY_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		-13
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		59
		name                          		"bn"
		linkNode                      		[5 58 60]
		scope                         		TEMPORARY_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		-13
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		60
		name                          		"bt"
		linkNode                      		[5 59 61]
		scope                         		TEMPORARY_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		-13
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		61
		name                          		"i"
		linkNode                      		[5 60 62]
		scope                         		FUNCTION_OUTPUT_DATA
		machine                       		1
		dataType                      		"int32"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		62
		name                          		"local_colors"
		linkNode                      		[5 61 63]
		scope                         		TEMPORARY_DATA
		machine                       		1
		dataType                      		"int32"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		63
		name                          		"r2"
		linkNode                      		[5 62 0]
		scope                         		TEMPORARY_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		-13
			baseType		SF_INT16_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	event {
		id         		64
		name       		"Start"
		linkNode   		[2 0 65]
		scope      		INPUT_EVENT
		trigger    		EITHER_EDGE_EVENT
		machine    		1
	}

	event {
		id         		65
		name       		"Redraw"
		linkNode   		[2 64 0]
		scope      		INPUT_EVENT
		trigger    		EITHER_EDGE_EVENT
		machine    		1
	}

	data {
		id                            		66
		name                          		"real_left"
		linkNode                      		[2 0 67]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		67
		name                          		"real_w"
		linkNode                      		[2 66 68]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		68
		name                          		"pix_w"
		linkNode                      		[2 67 69]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		69
		name                          		"deltax"
		linkNode                      		[2 68 70]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		70
		name                          		"deltay"
		linkNode                      		[2 69 71]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		71
		name                          		"i"
		linkNode                      		[2 70 72]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"int32"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		72
		name                          		"y0"
		linkNode                      		[2 71 73]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		73
		name                          		"j"
		linkNode                      		[2 72 74]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"int32"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		74
		name                          		"x"
		linkNode                      		[2 73 75]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		75
		name                          		"real_top"
		linkNode                      		[2 74 76]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		76
		name                          		"real_h"
		linkNode                      		[2 75 77]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		77
		name                          		"pix_h"
		linkNode                      		[2 76 78]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		78
		name                          		"colors"
		linkNode                      		[2 77 79]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		79
		name                          		"dbl_c"
		linkNode                      		[2 78 80]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		80
		name                          		"fix_c"
		linkNode                      		[2 79 81]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
		}
	}

	data {
		id                            		81
		name                          		"fix_line"
		linkNode                      		[2 80 82]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
			array {
				size      		"1024"
				firstIndex		"1"
			}
		}
	}

	data {
		id                            		82
		name                          		"dbl_line"
		linkNode                      		[2 81 0]
		scope                         		LOCAL_DATA
		machine                       		1
		dataType                      		"double"
		fixptType {
			bias    		0
			slope   		1
			exponent		0
			baseType		SF_UINT8_TYPE
			lock    		0
		}
		dlgFixptMode                  		0
		props {
			range {
				minimum		""
				maximum		""
			}
			array {
				size      		"1024"
				firstIndex		"1"
			}
		}
	}

	instance {
		id     		83
		name   		"Chart"
		machine		1
		chart  		2
	}

	target {
		id                        		84
		name                      		"sfun"
		description               		"Default Simulink S-Function Target."
		codeFlags                 		" debug=1 overflow=1 echo=0"
		machine                   		1
		linkNode                  		[1 0 85]
	}

	target {
		id                        		85
		name                      		"rtw"
		codeFlags                 		" comments=0 preservenames=0 preservenameswithparent=0 export"
						"charts=0 statebitsets=0 databitsets=0"
		machine                   		1
		linkNode                  		[1 84 0]
	}
}
