Library {
  Name			  "simulink3"
  Version		  3.00
  RequirementInfo	  "9"
  BlockDataTips		  off
  BlockParametersDataTip  off
  BlockAttributesDataTip  off
  BlockPortWidthsDataTip  off
  BlockDescriptionStringDataTip	off
  BlockMaskParametersDataTip off
  ToolBar		  off
  StatusBar		  off
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  PostLoadFcn		  "setsysloc(bdroot)"
  Created		  "Thu Jun 04 07:54:21 1998"
  Creator		  "ricks"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "mshakeri"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Thu Jun 29 11:46:46 2000"
  ModelVersionFormat	  "1.%<AutoIncrement:137>"
  ConfigurationManager	  "none"
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "simulink3"
    Location		    [25, 100, 484, 243]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    AutoZoom		    on
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "Blocksets &\nToolboxes"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [15, 96, 81, 127]
      ShowName		      off
      OpenFcn		      "findblib"
      FontName		      "arial"
      FontSize		      9
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      MaskDisplay	      "image(imread('blocksets.bmp','bmp'))"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Blocksets &\nToolboxes"
	Location		[40, 273, 796, 766]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Continuous"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [125, 15, 165, 55]
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      MaskDisplay	      "image(imread('continuous.bmp','bmp'))"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Continuous"
	Location		[150, 273, 425, 482]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Derivative
	  Name			  "Derivative"
	  Position		  [160, 15, 190, 45]
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [75, 15, 105, 45]
	  ExternalReset		  "none"
	  InitialConditionSource  "internal"
	  InitialCondition	  "0"
	  LimitOutput		  off
	  UpperSaturationLimit	  "inf"
	  LowerSaturationLimit	  "-inf"
	  ShowSaturationPort	  off
	  ShowStatePort		  off
	  AbsoluteTolerance	  "auto"
	}
	Block {
	  BlockType		  Memory
	  Name			  "Memory"
	  Position		  [30, 135, 60, 165]
	  X0			  "0"
	  InheritSampleTime	  off
	}
	Block {
	  BlockType		  StateSpace
	  Name			  "State-Space"
	  Position		  [15, 73, 75, 107]
	  A			  "1"
	  B			  "1"
	  C			  "1"
	  D			  "1"
	  X0			  "0"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn"
	  Position		  [100, 72, 160, 108]
	  Numerator		  "[1]"
	  Denominator		  "[1 1]"
	}
	Block {
	  BlockType		  TransportDelay
	  Name			  "Transport\nDelay"
	  Position		  [115, 135, 145, 165]
	  DelayTime		  "1"
	  InitialInput		  "0"
	  BufferSize		  "1024"
	  PadeOrder		  "0"
	}
	Block {
	  BlockType		  VariableTransportDelay
	  Name			  "Variable\nTransport Delay"
	  Position		  [205, 132, 235, 163]
	  MaximumDelay		  "10"
	  InitialInput		  "0"
	  MaximumPoints		  "1024"
	  PadeOrder		  "0"
	}
	Block {
	  BlockType		  ZeroPole
	  Name			  "Zero-Pole"
	  Position		  [190, 72, 250, 108]
	  Zeros			  "[1]"
	  Poles			  "[0 -1]"
	  Gain			  "[1]"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Demos"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [375, 97, 441, 128]
      ShowName		      off
      OpenFcn		      "demo simulink"
      FontName		      "arial"
      FontSize		      9
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      MaskDisplay	      "image(imread('demos.bmp','bmp'))"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Demos"
	Location		[400, 273, 1156, 766]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Discrete"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [180, 15, 220, 55]
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      MaskDisplay	      "image(imread('discrete.bmp','bmp'))"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Discrete"
	Location		[205, 273, 495, 581]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  DiscreteTransferFcn
	  Name			  "Discrete\nTransfer Fcn"
	  Position		  [115, 152, 175, 188]
	  Numerator		  "[1]"
	  Denominator		  "[1 0.5]"
	  SampleTime		  "1"
	}
	Block {
	  BlockType		  DiscreteZeroPole
	  Name			  "Discrete\nZero-Pole"
	  Position		  [205, 152, 265, 188]
	  Zeros			  "[1]"
	  Poles			  "[0 0.5]"
	  Gain			  "1"
	  SampleTime		  "1"
	}
	Block {
	  BlockType		  DiscreteFilter
	  Name			  "Discrete Filter"
	  Position		  [25, 152, 85, 188]
	  Numerator		  "[1]"
	  Denominator		  "[1 0.5]"
	  SampleTime		  "1"
	}
	Block {
	  BlockType		  DiscreteStateSpace
	  Name			  "Discrete State-Space"
	  Position		  [90, 87, 210, 123]
	  A			  "1"
	  B			  "1"
	  C			  "1"
	  D			  "1"
	  X0			  "0"
	  SampleTime		  "1"
	}
	Block {
	  BlockType		  DiscreteIntegrator
	  Name			  "Discrete-Time\nIntegrator"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [230, 15, 265, 55]
	  IntegratorMethod	  "ForwardEuler"
	  ExternalReset		  "none"
	  InitialConditionSource  "internal"
	  InitialCondition	  "0"
	  LimitOutput		  off
	  UpperSaturationLimit	  "inf"
	  LowerSaturationLimit	  "-inf"
	  ShowSaturationPort	  off
	  ShowStatePort		  off
	  SampleTime		  "1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "First-Order\nHold"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [130, 231, 165, 269]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  MaskType		  "First-Order Hold"
	  MaskDescription	  "First-order hold."
	  MaskHelp		  "This block implements a first-order hold by"
" extrapolating between sample points using a first-order polynomial."
	  MaskPromptString	  "Sample time:"
	  MaskStyleString	  "edit"
	  MaskTunableValueString  "on"
	  MaskEnableString	  "on"
	  MaskVisibilityString	  "on"
	  MaskVariables		  "Ts=@1;"
	  MaskInitialization	  "\n"
	  MaskDisplay		  "plot(0,0,100,100,[90,70,50,30,10],[60,40,80"
",30,20])"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "1"
	  System {
	    Name		    "First-Order\nHold"
	    Location		    [72, 147, 567, 399]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [15, 50, 35, 70]
	      ShowName		      off
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Clock
	      Name		      "Clock"
	      Position		      [160, 155, 180, 175]
	      ShowName		      off
	      DisplayTime	      off
	      Decimation	      "10"
	    }
	    Block {
	      BlockType		      DigitalClock
	      Name		      "Digital Clock"
	      Position		      [205, 200, 245, 220]
	      Orientation	      "up"
	      ShowName		      off
	      SampleTime	      "Ts"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [265, 149, 305, 181]
	      ShowName		      off
	      Gain		      "1/Ts"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      HitCross
	      Name		      "Hit \nCrossing"
	      Ports		      [1, 0, 0, 0, 0]
	      Position		      [350, 148, 385, 182]
	      HitCrossingOffset	      "1"
	      HitCrossingDirection    "rising"
	      ShowOutputPort	      off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [355, 50, 380, 90]
	      ShowName		      off
	      Inputs		      "2"
	      Multiplication	      "Element-wise(.*)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [190, 50, 210, 70]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [410, 60, 430, 80]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "++|"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum2"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [215, 155, 235, 175]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      UnitDelay
	      Name		      "Unit Delay"
	      Position		      [95, 113, 145, 137]
	      ShowName		      off
	      X0		      "0"
	      SampleTime	      "Ts"
	    }
	    Block {
	      BlockType		      ZeroOrderHold
	      Name		      "Zero-Order\nHold"
	      Position		      [100, 44, 135, 76]
	      ShowName		      off
	      SampleTime	      "Ts"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [450, 60, 470, 80]
	      ShowName		      off
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unit Delay"
	      SrcPort		      1
	      Points		      [50, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Zero-Order\nHold"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		Points			[0, -30; 260, 0]
		DstBlock		"Sum1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Sum"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [30, 0]
	      Branch {
		DstBlock		"Zero-Order\nHold"
		DstPort			1
	      }
	      Branch {
		Points			[0, 65]
		DstBlock		"Unit Delay"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Clock"
	      SrcPort		      1
	      DstBlock		      "Sum2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Digital Clock"
	      SrcPort		      1
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [10, 0]
	      Branch {
		DstBlock		"Hit \nCrossing"
		DstPort			1
	      }
	      Branch {
		Points			[0, -85]
		DstBlock		"Product"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay"
	  Position		  [130, 15, 165, 55]
	  X0			  "0"
	  SampleTime		  "1"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold"
	  Position		  [25, 16, 60, 54]
	  SampleTime		  "1"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Functions\n& Tables"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [290, 15, 330, 55]
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      MaskDisplay	      "image(imread('functions.bmp','bmp'))"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Functions\n& Tables"
	Location		[315, 273, 662, 651]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  "S-Function"
	  Name			  "Direct Look-Up\nTable (n-D)"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [235, 130, 290, 185]
	  FunctionName		  "sfun_nddirectlook"
	  Parameters		  "numInputs,mxTable,clipFlag,tabIsInput,numTD"
"ims"
	  PortCounts		  "[]"
	  SFunctionModules	  "''"
	  MaskType		  "LookupNDDirect"
	  MaskDescription	  "Table member selection.  Inputs are zero-ba"
"sed indices into the table, e.g., an input of 3 returns the fourth element in"
" that dimension.  Block can also be used to select a column or 2-D matrix out"
" of the table."
	  MaskPromptString	  "Number of table dimensions:         |Explic"
"it number of table dimensions:|Inputs select this object from table:|Make tab"
"le an input|Table data:|Action for out of range input:"
	  MaskStyleString	  "popup(1|2|3|4|More...),edit,popup(Element|C"
"olumn|2-D Matrix),checkbox,edit,popup(None|Warning|Error)"
	  MaskTunableValueString  "off,on,off,off,on,on"
	  MaskCallbackString	  "nddirectico('dialog')|||nddirectico('dialog"
"')||"
	  MaskEnableString	  "on,on,on,on,on,on"
	  MaskVisibilityString	  "on,off,on,on,on,on"
	  MaskVariables		  "maskTabDims=@1;explicitNumDims=@2;outDims=@"
"3;tabIsInput=@4;mxTable=@5;clipFlag=@6;"
	  MaskInitialization	  "if tabIsInput == 1\n  tWhat = ' T';\n  yT ="
" 1/(3+maskTabDims-outDims);\nelse\n  tWhat = ' ';\n  yT = 0;\nend\nif maskTab"
"Dims >= 5\n  numTDims = explicitNumDims;\nelse\n  numTDims = maskTabDims;\nen"
"d\nnumInputs =  numTDims - (outDims-1);\nif strcmp(get_param(bdroot(gcb),'Blo"
"ckDiagramType'),'library')\n  dimsChar = 'n';\nelse\n  dimsChar = sprintf('%d"
"',numTDims);\nend\n[x,y] = nddirectico('plotdata', numTDims, tabIsInput, outD"
"ims);\nxp = x((end-3):end); yp = y((end-3):end);\nx = x(1:(end-4)); y = y(1:("
"end-4));\n"
	  MaskDisplay		  "text(0.5,0.9, sprintf(' %c-D T[k]',dimsChar"
"), 'HorizontalAlignment','center')\nplot(x,y)\npatch(xp, yp)\ntext(0.0"
"3,yT,tWhat)\n"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "2|1|Element|off|[4 5 6;16 19 20;10 18 23]|W"
"arning"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [40, 230, 100, 260]
	  Expr			  "sin(u(1)*exp(2.3*(-u(2))))"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "Interpolation (n-D)\nusing PreLook-Up"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [135, 130, 190, 185]
	  FunctionName		  "sfun_kflookupnd"
	  Parameters		  "numDims,table,interpMethod,extrapMethod,ran"
"geErrorMode"
	  PortCounts		  "[]"
	  SFunctionModules	  "''"
	  MaskType		  "LookupNDInterpIdx"
	  MaskDescription	  "Perform n-dimensional (n-D) interpolated ta"
"ble lookup using precalculated indices and distance fractions.  An n-D Table "
"is a sampled representation of a function in N variables.  This block is fed "
"with the output of a PreLook-Up Index Search block."
	  MaskPromptString	  "Number of table dimensions:|Explicit number"
" of table dimensions:|Table data:|Interpolation method: |Extrapolation method"
":|Action for out of range input:    "
	  MaskStyleString	  "popup(1|2|3|4|More...),edit,edit,popup(None"
" - Flat|Linear),popup(None - Clip|Linear),popup(None|Warning|Error)"
	  MaskTunableValueString  "off,off,on,on,on,on"
	  MaskCallbackString	  "ndlookico('kfdyn')|||||"
	  MaskEnableString	  "on,on,on,on,on,on"
	  MaskVisibilityString	  "on,off,on,on,on,on"
	  MaskVariables		  "numDimsPopupSelect=@1;explicitNumDims=@2;ta"
"ble=@3;interpMethod=@4;extrapMethod=@5;rangeErrorMode=@6;"
	  MaskInitialization	  "if numDimsPopupSelect==5\n  numDims=explici"
"tNumDims;\nelse\n  numDims=numDimsPopupSelect;\nend\nif strcmp(get_param(bdro"
"ot(gcb),'BlockDiagramType'),'library')\n  dimsChar = 'n';\nelse\n  dimsChar ="
" sprintf('%d',numDims);\nend\n[x,y,xaxes,yaxes] = ndlookico('plot',numDims,ta"
"ble);\n"
	  MaskDisplay		  "text(0.5,0.9,sprintf(' %c-D T(k,f)',dimsCha"
"r),'horizontalAlignment','center')\nplot(x,y)\nplot(xaxes,yaxes)"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "2|2|sqrt([1:10]'*[1:10])|Linear|Linear|None"
	}
	Block {
	  BlockType		  Lookup
	  Name			  "Look-Up\nTable"
	  Position		  [40, 39, 90, 91]
	  InputValues		  "[-5:5]"
	  OutputValues		  "tanh([-5:5])"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Look-Up\nTable (2-D)"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [135, 37, 190, 88]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  MaskType		  "Lookup Table (2-D)"
	  MaskDescription	  "Performs 2-D linear interpolation of input "
"values using the specified input/output table.  Extrapolation is performed ou"
"tside the table boundaries."
	  MaskPromptString	  "Row:|Column:|Table:"
	  MaskStyleString	  "edit,edit,edit"
	  MaskTunableValueString  "on,on,on"
	  MaskCallbackString	  "||"
	  MaskEnableString	  "on,on,on"
	  MaskVisibilityString	  "on,on,on"
	  MaskVariables		  "x=@1;y=@2;t=@3;"
	  MaskInitialization	  "[r,c]=size(t);\nxt=reshape(x,prod(size(x)),"
"1);\nxi=xt(:,ones(1,c));\nminx=min(x); maxx=max(x);\nmint=min(min(t)); maxt=m"
"ax(max(t));\n"
          MaskDisplay             "plot(double(xi),double(t),"
"double([minx maxx]),double([mint mint]),double([minx min"
"x]),double([mint maxt]))"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[1:3]|[1:3]|[4 5 6;16 19 20;10 18 23]"
	  System {
	    Name		    "Look-Up\nTable (2-D)"
	    Location		    [94, 169, 350, 309]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "Rows"
	      Position		      [25, 33, 55, 47]
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Cols"
	      Position		      [25, 63, 55, 77]
	      Port		      "2"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Lookup2D
	      Name		      "Look-Up\nTable (2-D)"
	      Position		      [90, 26, 155, 84]
	      ShowName		      off
	      RowIndex		      "x"
	      ColumnIndex	      "y"
	      OutputValues	      "t"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [190, 48, 220, 62]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Look-Up\nTable (2-D)"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Cols"
	      SrcPort		      1
	      DstBlock		      "Look-Up\nTable (2-D)"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Rows"
	      SrcPort		      1
	      DstBlock		      "Look-Up\nTable (2-D)"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "Look-Up\nTable (n-D)"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [235, 35, 290, 90]
	  FunctionName		  "sfun_lookupnd"
	  Parameters		  "bpData,bpIndices_uint32,searchMode,cacheBpF"
"lag,tableData,numDims,interpMethod,extrapMethod,rangeErrorMode,vectorInputFla"
"g"
	  PortCounts		  "[]"
	  SFunctionModules	  "''"
	  MaskType		  "LookupNDInterp"
	  MaskDescription	  "Perform n-dimensional interpolated table lo"
"okup including index searches.  The table is a sampled representation of a fu"
"nction in N variables.  Breakpoint sets relate the input values to positions "
"in the table."
	  MaskPromptString	  "Number of table dimensions:|First input (ro"
"w) breakpoint set:|Second (column) input breakpoint set:|Third input breakpoi"
"nt set:|Fourth input breakpoint set:|Fifth..Nth breakpoint sets (cell array):"
"|Explicit number of dimensions:|Index search method:|Begin index searches usi"
"ng previous index results|Use one (vector) input port instead of N ports|Tabl"
"e data:|Interpolation method:|Extrapolation method:|Action for out of range i"
"nput:"
	  MaskStyleString	  "popup(   1   |   2   |   3   |   4   |More."
"..),edit,edit,edit,edit,edit,edit,popup(Evenly Spaced Points|Linear Search|Bi"
"nary Search),checkbox,checkbox,edit,popup(None - Flat|Linear|Cubic Spline),po"
"pup(None - Clip|Linear|Cubic Spline),popup(None|Warning|Error)"
	  MaskTunableValueString  "off,on,on,on,on,on,off,on,on,off,on,on,on,o"
"n"
	  MaskCallbackString	  "ndlookico|||||||||||||"
	  MaskEnableString	  "on,on,on,on,on,on,on,on,on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,off,off,off,off,on,on,on,on,on,on,"
"on"
	  MaskVariables		  "numDimsPopupSelect=@1;bp1=@2;bp2=@3;bp3=@4;"
"bp4=@5;bpcell=@6;explicitNumDims=@7;searchMode=@8;cacheBpFlag=@9;vectorInputF"
"lag=@10;tableData=@11;interpMethod=@12;extrapMethod=@13;rangeErrorMode=@14;"
	  MaskInitialization	  "if numDimsPopupSelect==5\n  numDims=explici"
"tNumDims;\nelse\n  numDims=numDimsPopupSelect;\nend\nif strcmp(get_param(bdro"
"ot(gcb),'BlockDiagramType'),'library')\n  dimsChar = 'n';\nelse\n  dimsChar ="
" sprintf('%d',numDims);\nend\nswitch interpMethod\n  case 1\n    plottype = '"
"flatplot';\n  case 2\n    plottype = 'lineplot';\n  otherwise\n    plottype ="
" 'splineplot';\nend\nfor i=1:numDims\n  switch( i )\n    case 1\n      bp = b"
"p1;\n    case 2\n      bp = bp2;\n    case 3\n      bp = bp3;\n    case 4\n  "
"    bp = bp4;\n    otherwise\n      bp = bpcell{i-4};\n   end\n   Lbp = lengt"
"h(bp);\n   if i < 2\n     bpData = reshape(bp,Lbp,1);\n     bpIndices = 0;\n "
"  else\n     bpData = [ bpData; reshape(bp,Lbp,1) ];\n     bpIndices = [ bpIn"
"dices; bpIndices(i-1)+LbpPrev ];\n   end\n   LbpPrev = Lbp;\nend\n[x,y,xaxes,"
"yaxes] = ndlookico(plottype, numDims,{bpData,bpIndices,tableData});\nbpIndice"
"s_uint32 = uint32(bpIndices);"
	  MaskDisplay		  "text(0.5,0.9,sprintf(' %c-D T(u)',dimsChar)"
",'horizontalAlignment','center')\nplot(x,y)\nplot(xaxes,yaxes)\n"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "   2   |[10,22,31]|[10,22,31]|[1:3]|[1:3]|{"
" [1:3], [1:3] }|2|Binary Search|off|off|[4 5 6;16 19 20;10 18 23]|Linear|Line"
"ar|None"
	}
	Block {
	  BlockType		  MATLABFcn
	  Name			  "MATLAB Fcn"
	  Position		  [135, 230, 195, 260]
	  MATLABFcn		  "sin"
	  OutputDimensions	  "-1"
	  OutputSignalType	  "auto"
	  Output1D		  on
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "Polynomial"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [40, 295, 100, 325]
	  FunctionName		  "sfun_polyval"
	  Parameters		  "coefs"
	  PortCounts		  "[]"
	  SFunctionModules	  "''"
	  MaskType		  "Polyval"
	  MaskDescription	  "Polynomial evaluation.  Calculates P(u) giv"
"en by the polynomial coefficient array P.  P is sorted highest order to lowes"
"t order, the form accepted by MATLAB's polyval function."
	  MaskPromptString	  "Polynomial coefficients:"
	  MaskStyleString	  "edit"
	  MaskTunableValueString  "on"
	  MaskEnableString	  "on"
	  MaskVisibilityString	  "on"
	  MaskVariables		  "coefs=@1;"
	  MaskInitialization	  "if isempty(coefs)\n  str = 'O(P) = ???';\ne"
"lse\n  str = sprintf('O(P) = %d',length(coefs)-1);\nend"
	  MaskDisplay		  "text(0.5,0.75, 'P(u)','horizontalAlignment'"
",'center')\ntext(0.5,0.25, str,'horizontalAlignment','center')\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "[ +2.081618890e-019, -1.441693666e-014, +4."
"719686976e-010, -8.536869453e-006, +1.621573104e-001, -8.087801117e+001 ]"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "PreLook-Up\nIndex Search"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [40, 129, 90, 181]
	  FunctionName		  "sfun_idxsearch"
	  Parameters		  "bpData, searchMode, cacheBpFlag, extrapMode"
", rangeErrorMode, outputFlag"
	  PortCounts		  "[]"
	  SFunctionModules	  "''"
	  MaskType		  "LookupIdxSearch"
	  MaskDescription	  "Locate the input value's relative position "
"within a range of numbers (the \"breakpoint data\" set).  Returns an array of"
" the interval index \"k\"and distance fraction \"f\" that the input \"u\" rea"
"ches into the kth interval."
	  MaskPromptString	  "Breakpoint data:|Index search method:|Begin"
" index search using previous index result|Output only the index|Process out o"
"f range input:|Action for out of range input:"
	  MaskStyleString	  "edit,popup(Evenly Spaced Points|Linear Sear"
"ch|Binary Search),checkbox,checkbox,popup(Clip to Range|Linear Extrapolation)"
",popup(None|Warning|Error)"
	  MaskTunableValueString  "on,on,on,on,on,on"
	  MaskCallbackString	  "|||||"
	  MaskEnableString	  "on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on,on"
	  MaskVariables		  "bpData=@1;searchMode=@2;cacheBpFlag=@3;outp"
"utFlag=@4;extrapMode=@5;rangeErrorMode=@6;"
	  MaskInitialization	  "if outputFlag == 0\n  fig = 'f';\n  f = 'f'"
";\nelse\n  fig = 'k';\n  f = '';\nend\n[x,y] = ndlookico('bpplotdata', fig);"
"\n[xp,yp] = ndlookico('bppatchdata');\n"
	  MaskDisplay		  "text(0.13, 0.85, 'u','HorizontalAlignment',"
"'center','VerticalAlignment','middle');\ntext(0.4, 0.53, ' k','HorizontalAlig"
"nment','center','VerticalAlignment','base');\ntext(0.88, 0.3, f,'HorizontalAl"
"ignment','center','VerticalAlignment','middle');\nplot(x,y);\npatch(xp, yp);"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "[0:10:100]|Binary Search|off|off|Linear Ext"
"rapolation|None"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "S-Function"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [235, 230, 295, 260]
	  FunctionName		  "system"
	  PortCounts		  "[]"
	  SFunctionModules	  "''"
	}
	Line {
	  SrcBlock		  "PreLook-Up\nIndex Search"
	  SrcPort		  1
	  Points		  [15, 0; 0, -10]
	  DstBlock		  "Interpolation (n-D)\nusing PreLook-Up"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Math"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [235, 15, 275, 55]
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      MaskDisplay	      "image(imread('math.bmp','bmp'))                "
"         "
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Math"
	Location		[260, 273, 626, 768]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Abs
	  Name			  "Abs"
	  Position		  [105, 215, 135, 245]
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Algebraic Constraint"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [150, 435, 230, 465]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  MaskType		  "Algebraic Constraint"
	  MaskDescription	  "Constrains input signal f(z) to zero and ou"
"tputs an algebraic state z. This block outputs the value necessary to produce"
" a zero at the input. The output must affect the input through some feedback "
"path. Provide an initial guess of the output to improve algebraic loop solver"
" efficiency."
	  MaskHelp		  "This block outputs the value necessary to p"
"roduce a zero at the input. The output must affect the input through some fee"
"dback path. This allows you to specify algebraic equations for index 1 differ"
"ential/algebraic systems (DAE's).\n                                          "
"                                                                             "
"                                                                             "
"                                  \nBy default, the initial guess is zero.  Y"
"ou can improve the efficiency of the algebraic loop solver by providing an in"
"itial guess that is close to the solution value.                             "
"                                   "
	  MaskPromptString	  "Initial guess:"
	  MaskStyleString	  "edit"
	  MaskTunableValueString  "on"
	  MaskEnableString	  "on"
	  MaskVisibilityString	  "on"
	  MaskVariables		  "z0=@1;"
	  MaskDisplay		  "disp('Solve\\nf(z) = 0')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "0"
	  System {
	    Name		    "Algebraic Constraint"
	    Location		    [246, 321, 511, 432]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "f(z)"
	      Position		      [20, 38, 50, 52]
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      InitialCondition
	      Name		      "Initial Guess"
	      Position		      [135, 30, 165, 60]
	      Value		      "z0"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [80, 35, 100, 55]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "z"
	      Position		      [225, 38, 255, 52]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "f(z)"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Initial Guess"
	      SrcPort		      1
	      Points		      [30, 0]
	      Branch {
		DstBlock		"z"
		DstPort			1
	      }
	      Branch {
		Points			[0, 40; -110, 0]
		DstBlock		"Sum"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Initial Guess"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "Bitwise\nLogical Operator"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [215, 282, 250, 318]
	  FunctionName		  "sfun_bitop"
	  Parameters		  "Operator, internalOperand2, op2Str"
	  PortCounts		  "[]"
	  SFunctionModules	  "''"
	  MaskType		  "BitwiseOperator"
	  MaskDescription	  "Perform a bitwise operation on uint8, uint1"
"6 or uint32 input port data with values from the Second operand parameter.   "
"Hex values can be entered as strings, e.g., 'FF00'."
	  MaskPromptString	  "Bitwise operator:|Second operand:"
	  MaskStyleString	  "popup(AND|OR|XOR|SHIFT_LEFT|SHIFT_RIGHT|NOT"
"),edit"
	  MaskTunableValueString  "off,off"
	  MaskCallbackString	  "sfun_bitopcbk| "
	  MaskEnableString	  "on,on"
	  MaskVisibilityString	  "on,on"
	  MaskVariables		  "Operator=@1;Operand2=@2;"
	  MaskInitialization	  "mnems = { 'AND','OR','XOR','<<','>>','NOT' "
"};\nif Operator ==  6\n  op2Str = ' ';\n  internalOperand2 = { ' ' };\nelse\n"
"  [m,n] = size(Operand2);\n  if ischar(Operand2)\n    len = m;\n    n = 1;\n "
" else\n    len = m * n;\n  end\n  internalOperand2 = cell(m,n);\n  if isnumer"
"ic(Operand2)\n    for i=1:len,\n      internalOperand2{i} = dec2hex(floor(dou"
"ble(Operand2(i))));\n    end\n  elseif ischar(Operand2)\n    for i=1:m,\n    "
"  internalOperand2{i} = Operand2(i,:);\n    end\n  elseif iscell(Operand2)\n "
"   for i=1:len,\n      if isnumeric( Operand2{i} )\n internalOperand2{i} = de"
"c2hex(floor(double(Operand2{i})));\n      elseif ischar( Operand2{i} )\n   in"
"ternalOperand2{i} = Operand2{i};\n      else\n        errordlg(['Data type is"
" not supported at cell item ', num2str(i) ]);\n      end\n    end\n  end\n  v"
"als = get_param(gcb,'maskvalues');\n  op2Str = vals{2};\nend\n"
	  MaskDisplay		  "text( 0.53, 0.85, 'bitwise', 'horizontalAli"
"gnment', 'center' );\ntext( 0.5, 0.55, mnems{Operator}, 'horizontalAlignment'"
", 'center' );\ntext( 0.5, 0.20, op2Str, 'horizontalAlignment', 'center' );\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "AND|'FFFF'"
	}
	Block {
	  BlockType		  CombinatorialLogic
	  Name			  "Combinatorial \nLogic"
	  Position		  [40, 285, 70, 315]
	  TruthTable		  "[0 0;0 1;0 1;1 0;0 1;1 0;1 0;1 1]"
	}
	Block {
	  BlockType		  ComplexToMagnitudeAngle
	  Name			  "Complex to\nMagnitude-Angle"
	  Ports			  [1, 2, 0, 0, 0]
	  Position		  [40, 358, 70, 387]
	  Output		  "MagnitudeAndAngle"
	}
	Block {
	  BlockType		  ComplexToRealImag
	  Name			  "Complex to\nReal-Imag"
	  Ports			  [1, 2, 0, 0, 0]
	  Position		  [215, 358, 245, 387]
	  Output		  "RealAndImag"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Dot Product"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [240, 21, 270, 54]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  MaskType		  "Dot Product"
	  MaskDescription	  "Inner (dot) product.\ny = sum(conj(u1).*u2)"
"       "
	  MaskHelp		  "Computes the inner (dot) product of the inp"
"uts: sum(u1.*u2).  The inputs are vectors of the same length. Output is a sca"
"lar."
	  MaskInitialization	  "t=(0:.1:2*pi)';\nx=cos(t);\ny=sin(t);\nr=0."
"05;"
	  MaskDisplay		  "patch([x*r+0.5],[y*r+0.5])"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  System {
	    Name		    "Dot Product"
	    Location		    [50, 125, 283, 259]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [15, 32, 45, 48]
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [15, 77, 45, 93]
	      Port		      "2"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [85, 46, 165, 79]
	      ShowName		      off
	      FunctionName	      "sdotproduct"
	      PortCounts	      "[]"
	      SFunctionModules	      "''"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [190, 56, 220, 74]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, -15]
	      DstBlock		      "S-Function"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [0, 15]
	      DstBlock		      "S-Function"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "S-Function"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [105, 85, 135, 115]
	  Gain			  "1"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [130, 282, 160, 313]
	  Operator		  "AND"
	  Inputs		  "2"
	}
	Block {
	  BlockType		  MagnitudeAngleToComplex
	  Name			  "Magnitude-Angle\nto Complex"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [130, 357, 160, 388]
	  Input			  "MagnitudeAndAngle"
	  ConstantPart		  "0"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [105, 150, 135, 180]
	  Operator		  "exp"
	  OutputSignalType	  "auto"
	}
	Block {
          BlockType	      Gain
	  Name		      "Matrix\nGain"
          Position  	      [240, 85, 270, 115]
	  Gain		      "eye(3,3)"
          Multiplication      "Matrix(K*u)"
	  SaturateOnIntegerOverflow	on
	}
	Block {
	  BlockType		  MinMax
	  Name			  "MinMax"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [240, 150, 270, 180]
	  Function		  "min"
	  Inputs		  "1"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [160, 21, 205, 54]
	  Inputs		  "2"
	  Multiplication	  "Element-wise(.*)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  RealImagToComplex
	  Name			  "Real-Imag to\nComplex"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [310, 358, 340, 387]
	  Input			  "RealAndImag"
	  ConstantPart		  "0"
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator"
	  Position		  [310, 282, 340, 313]
	  Operator		  "<="
	}
	Block {
	  BlockType		  Rounding
	  Name			  "Rounding\nFunction"
	  Position		  [240, 215, 270, 245]
	  Operator		  "floor"
	}
	Block {
	  BlockType		  Signum
	  Name			  "Sign"
	  Position		  [175, 215, 205, 245]
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Slider\nGain"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [175, 85, 205, 115]
	  CopyFcn		  "slideg Copy"
	  DeleteFcn		  "slideg DeleteBlock"
	  LoadFcn		  "slideg Load"
	  NameChangeFcn		  "slideg NameChange"
	  OpenFcn		  "slideg Open"
	  CloseFcn		  "slideg Close"
	  ParentCloseFcn	  "slideg ParentClose"
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  MaskType		  "Slider Gain"
	  MaskPromptString	  "Low|Gain|High"
	  MaskStyleString	  "edit,edit,edit"
	  MaskTunableValueString  "on,on,on"
	  MaskCallbackString	  "||"
	  MaskEnableString	  "on,on,on"
	  MaskVisibilityString	  "on,on,on"
	  MaskVariables		  "low=@1;gain=@2;high=@3;"
	  MaskDisplay		  "disp(gain)"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "0|1|2"
	  System {
	    Name		    "Slider\nGain"
	    Location		    [160, 235, 371, 335]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 33, 55, 47]
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Slider\nGain"
	      Position		      [80, 24, 120, 56]
	      ShowName		      off
	      Gain		      "gain"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [140, 33, 170, 47]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Slider\nGain"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Slider\nGain"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [110, 25, 130, 45]
	  CopyFcn		  "set_param(gcbh,'ShowName','off','CopyFcn','"
"')"
	  IconShape		  "round"
	  Inputs		  "|++"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Trigonometry
	  Name			  "Trigonometric\nFunction"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [175, 150, 205, 180]
	  Operator		  "sin"
	  OutputSignalType	  "auto"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Nonlinear"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [345, 15, 385, 55]
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      MaskDisplay	      "image(imread('nonlinear.bmp','bmp'))"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Nonlinear"
	Location		[370, 273, 651, 559]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Backlash
	  Name			  "Backlash"
	  Position		  [25, 75, 55, 105]
	  BacklashWidth		  "1"
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Coulomb &\nViscous Friction"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [120, 215, 150, 245]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  MaskType		  "Coulombic and Viscous Friction"
	  MaskDescription	  "A discontinuity offset at zero models coulo"
"mb friction.  Linear gain models viscous friction.\ny = sign(x) * (Gain * abs"
"(x) + Offset)"
	  MaskHelp		  "This block has a discontinuity\nat zero and"
" a linear gain afterward.\ny= sign(x)*(Gain*abs(x)+Offset)"
	  MaskPromptString	  "Coulomb friction value (Offset):|Coefficien"
"t of viscous friction (Gain):"
	  MaskStyleString	  "edit,edit"
	  MaskTunableValueString  "on,on"
	  MaskCallbackString	  "|"
	  MaskEnableString	  "on,on"
	  MaskVisibilityString	  "on,on"
	  MaskVariables		  "offset=@1;gain=@2;"
	  MaskInitialization	  " x=max(offset(1),gain(1)+offset(1));"
	  MaskDisplay		  "plot([-1 0 0 1],[-gain(1)-offset(1), -offse"
"t(1), offset(1), gain(1)+offset(1)],[-1 1],[0 0],[0 0],[-x,x])"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[1 3 2 0]|1"
	  System {
	    Name		    "Coulomb &\nViscous Friction"
	    Location		    [116, 191, 485, 319]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 33, 55, 47]
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [160, 74, 220, 106]
	      ShowName		      off
	      Gain		      "gain"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [160, 24, 225, 56]
	      ShowName		      off
	      Gain		      "offset"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Signum
	      Name		      "Sign"
	      Position		      [95, 28, 125, 52]
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [255, 30, 275, 50]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [315, 33, 345, 47]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Sign"
	      SrcPort		      1
	      Points		      [10, 0]
	      DstBlock		      "Gain1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [0, 0; 10, 0]
	      Branch {
		Points			[0, 50]
		DstBlock		"Gain"
		DstPort			1
	      }
	      Branch {
		Points			[5, 0]
		DstBlock		"Sign"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [40, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  DeadZone
	  Name			  "Dead Zone"
	  Position		  [120, 75, 150, 105]
	  LowerValue		  "-0.5"
	  UpperValue		  "0.5"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Manual Switch"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [120, 142, 150, 178]
	  OpenFcn		  "manswitch Open"
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  MaskType		  "Manual Switch"
	  MaskDescription	  "Output toggles between two inputs by double"
"-clicking on the block.\n"
	  MaskHelp		  "This block implements a manual switch."
	  MaskPromptString	  "Current setting:|Action:"
	  MaskStyleString	  "edit,edit"
	  MaskTunableValueString  "on,on"
	  MaskCallbackString	  "|"
	  MaskEnableString	  "on,on"
	  MaskVisibilityString	  "on,on"
	  MaskVariables		  "sw=@1;action=@2;"
	  MaskInitialization	  "[x,y]=manswitch;\n"
	  MaskDisplay		  "plot(x,y)\n\n"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  off
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "pixels"
	  MaskValueString	  "1|0"
	  System {
	    Name		    "Manual Switch"
	    Location		    [48, 95, 295, 247]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "1"
	      Position		      [80, 28, 110, 42]
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "2"
	      Position		      [80, 98, 110, 112]
	      Port		      "2"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function"
	      Ports		      [0, 1, 0, 0, 0]
	      Position		      [15, 56, 105, 84]
	      Diagnostics	      "AllowInheritedTsInSrc"
	      FunctionName	      "sfun_manswitch"
	      Parameters	      "boolean(1)"
	      PortCounts	      "[]"
	      SFunctionModules	      "''"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch"
	      Position		      [145, 41, 175, 99]
	      ShowName		      off
	      Threshold		      "1"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [205, 63, 235, 77]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "1"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "Switch"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "2"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "Switch"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "S-Function"
	      SrcPort		      1
	      DstBlock		      "Switch"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Switch"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  MultiPortSwitch
	  Name			  "Multiport\nSwitch"
	  Ports			  [4, 1, 0, 0, 0]
	  Position		  [220, 142, 250, 188]
	  Inputs		  "3"
	}
	Block {
	  BlockType		  Quantizer
	  Name			  "Quantizer"
	  Position		  [220, 20, 250, 50]
	  QuantizationInterval	  "0.5"
	  LinearizeAsGain	  on
	}
	Block {
	  BlockType		  RateLimiter
	  Name			  "Rate Limiter"
	  Position		  [25, 20, 55, 50]
	  RisingSlewLimit	  "1"
	  FallingSlewLimit	  "-1"
	}
	Block {
	  BlockType		  Relay
	  Name			  "Relay"
	  Position		  [220, 75, 250, 105]
	  OnSwitchValue		  "eps"
	  OffSwitchValue	  "eps"
	  OnOutputValue		  "1"
	  OffOutputValue	  "0"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation"
	  Position		  [120, 20, 150, 50]
	  UpperLimit		  "0.5"
	  LowerLimit		  "-0.5"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [20, 140, 50, 170]
	  Threshold		  "0"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Signals\n& Systems"
      Ports		      [1, 1, 1, 1, 0]
      Position		      [400, 15, 440, 55]
      ShowPortLabels	      on
      TreatAsAtomicUnit	      on
      MaskDisplay	      "image(imread('signals.bmp','bmp'))"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Signals\n& Systems"
	Location		[136, 183, 517, 761]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [75, 18, 105, 32]
	  Port			  "1"
	  Interpolate		  on
	}
	Block {
	  BlockType		  EnablePort
	  Name			  "Enable"
	  Ports			  [0, 0, 0, 0, 0]
	  Position		  [210, 15, 230, 35]
	  StatesWhenEnabling	  "held"
	  ShowOutputPort	  off
	}
	Block {
	  BlockType		  TriggerPort
	  Name			  "Trigger"
	  Ports			  [0, 0, 0, 0, 0]
	  Position		  [275, 15, 295, 35]
	  TriggerType		  "rising"
	  ShowOutputPort	  off
	  OutputDataType	  "auto"
	}
	Block {
	  BlockType		  BusSelector
	  Name			  "Bus\nSelector"
	  Ports			  [1, 2, 0, 0, 0]
	  Position		  [185, 56, 190, 94]
	  CopyFcn		  "set_param(gcbh,'ShowName','off','CopyFcn','"
"')"
	  OutputSignals		  "signal1,signal2"
	  MuxedOutput		  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Configurable\nSubsystem"
          Ports			  [0, 0, 0, 0, 0]	
	  Position		  [186, 382, 225, 413]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  TemplateBlock		  "master"
	  System {
	    Name		    "Configurable\nSubsystem"
	    Location		    [148, 182, 646, 482]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	  }
	}
	Block {
	  BlockType		  DataStoreMemory
	  Name			  "Data Store\nMemory"
	  Position		  [175, 255, 207, 285]
	  DataStoreName		  "A"
	  InitialValue		  "0"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  DataStoreRead
	  Name			  "Data Store\nRead"
	  Position		  [80, 255, 110, 285]
	  DataStoreName		  "A"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  DataStoreWrite
	  Name			  "Data Store\nWrite"
	  Position		  [270, 255, 300, 285]
	  DataStoreName		  "A"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion"
	  Position		  [270, 321, 325, 349]
	  DataType		  "auto"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
          Ports			  [1, 2, 0, 0, 0]
	  Position		  [275, 56, 280, 94]
	  BackgroundColor	  "black"
	  CopyFcn		  "set_param(gcbh,'ShowName','off','CopyFcn','"
"')"
	  Outputs		  "2"
	  BusSelectionMode	  off
	}
	Block {
	  BlockType		  From
	  Name			  "From"
	  Position		  [80, 191, 120, 219]
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "A"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "Function-Call\nGenerator"
	  Ports			  [0, 1, 0, 0, 0]
	  Position		  [30, 385, 75, 405]
	  FunctionName		  "fcncallgen"
	  Parameters		  "sample_time,numberOfIterations"
	  PortCounts		  "[]"
	  SFunctionModules	  "''"
	  MaskType		  "Function-Call Generator"
	  MaskDescription	  "Execute a function-call subsystem at a spec"
"ified rate and a specified number of times.\n\nDemux the block's output to ex"
"ecute multiple function-call subsystems in a prescribed order.  The system co"
"nnected to first demux port is executed first, the system connected to second"
" demux port is executed second, and so on."
	  MaskHelp		  "This block executes a function-call subsyst"
"em at the rate specified by the sample time and a specified number of times."
"\n"
	  MaskPromptString	  "Sample time:|Number of iterations:"
	  MaskStyleString	  "edit,edit"
	  MaskTunableValueString  "on,on"
	  MaskCallbackString	  "|"
	  MaskEnableString	  "on,on"
	  MaskVisibilityString	  "on,on"
	  MaskVariables		  "sample_time=@1;numberOfIterations=@2;"
	  MaskInitialization	  "if ~isempty(numberOfIterations) & length(nu"
"mberOfIterations) == 1 & (numberOfIterations > 1),\nstr=sprintf('iterate I = "
"1:%d',numberOfIterations);\nelse, str = 'f()';\nend;"
	  MaskDisplay		  "disp(str)"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "1|1"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto"
	  Position		  [265, 190, 305, 220]
	  GotoTag		  "A"
	  TagVisibility		  "local"
	}
	Block {
	  BlockType		  GotoTagVisibility
	  Name			  "Goto Tag\nVisibility"
	  Position		  [175, 187, 206, 220]
	  GotoTag		  "A"
	}
	Block {
	  BlockType		  Ground
	  Name			  "Ground"
	  Position		  [45, 325, 65, 345]
	}
	Block {
	  BlockType		  HitCross
	  Name			  "Hit \nCrossing"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [40, 455, 70, 485]
	  HitCrossingOffset	  "0"
	  HitCrossingDirection	  "either"
	  ShowOutputPort	  on
	}
	Block {
	  BlockType		  InitialCondition
	  Name			  "IC"
	  Position		  [110, 455, 140, 485]
	  Value			  "1"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "Matrix\nConcatenation"
	  Ports			  [2, 1]
	  Position		  [265, 119, 320, 161]
	  FunctionName		  "smatrxcat"
	  Parameters		  "numInports,catMethod"
	  PortCounts		  "[]"
	  SFunctionModules	  "''"
	  MaskType		  "Matrix Concatenation"
	  MaskDescription	  "Perform horizontal or vertical concatenatio"
"n.  1-D vector input signals are treated as column vectors, i.e., "
"[Mx1] matrices.  The output is always"
" a matrix."
	  MaskPromptString	  "Number of inputs:|Concatenation method:"
	  MaskStyleString	  "edit,popup(Horizontal|Vertical)"
	  MaskTunableValueString  "on,on"
	  MaskCallbackString	  "|"
	  MaskEnableString	  "on,on"
	  MaskVisibilityString	  "on,on"
	  MaskVariables		  "numInports=@1;catMethod=@2;"
	  MaskInitialization	  "xy = matrxcatmask('icon');"
	  MaskDisplay		  "plot(xy.x,xy.y);\ntext(0.15,0.86,xy.label);"
"\n"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "2|Horizontal"
	}
	Block {
	  BlockType		  Merge
	  Name			  "Merge"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [170, 125, 210, 165]
	  Inputs		  "2"
	  InitialOutput		  "[]"
	  AllowUnequalInputPortWidths off
	  InputPortOffsets	  "[]"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Model Info"
          Ports			  [0, 0, 0, 0, 0]
	  Position		  [265, 384, 333, 418]
	  ShowName		  off
	  CopyFcn		  "slcm CopyBlock;"
	  DeleteFcn		  "slcm Cancel;"
	  LoadFcn		  "slcm LoadBlock;"
	  PostSaveFcn		  "slcm('UpdateAllCMBlocksInThisModel')"
	  InitFcn		  "slcm('UpdateAllCMBlocksInThisModelInit')"
	  NameChangeFcn		  "slcm Rename;"
	  OpenFcn		  "slcm"
	  FontName		  "Arial"
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  MaskType		  "CMBlock"
	  MaskDescription	  "This block allows revision control informat"
"ion to be displayed within the model."
	  MaskPromptString	  "InitialSaveTempField|InitialBlockCM|BlockCM"
"|Frame|SaveTempField|DisplayStringWithTags|MaskDisplayString|HorizontalTextAl"
"ignment|LeftAlignmentValue|SourceBlockDiagram|TagMaxNumber|CMTag1|CMTag2|CMTa"
"g3|CMTag4|CMTag5|CMTag6|CMTag7|CMTag8|CMTag9|CMTag10|CMTag11|CMTag12|CMTag13|"
"CMTag14|CMTag15|CMTag16|CMTag17|CMTag18|CMTag19|CMTag20"
	  MaskStyleString	  "edit,edit,edit,edit,edit,edit,edit,edit,edi"
"t,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,"
"edit,edit,edit,edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on,on,on,on,on,on,on,on,on,on,on,o"
"n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
	  MaskCallbackString	  "||||||||||||||||||||||||||||||"
	  MaskEnableString	  "on,on,on,on,on,on,on,on,on,on,on,on,on,on,o"
"n,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
	  MaskVisibilityString	  "off,off,off,off,off,off,off,off,off,off,off"
",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,"
"off"
	  MaskVariables		  "InitialSaveTempField=&1;InitialBlockCM=&2;B"
"lockCM=&3;Frame=&4;SaveTempField=&5;DisplayStringWithTags=&6;MaskDisplayStrin"
"g=&7;HorizontalTextAlignment=&8;LeftAlignmentValue=&9;SourceBlockDiagram=&10;"
"TagMaxNumber=@11;CMTag1=&12;CMTag2=&13;CMTag3=&14;CMTag4=&15;CMTag5=&16;CMTag"
"6=&17;CMTag7=&18;CMTag8=&19;CMTag9=&20;CMTag10=&21;CMTag11=&22;CMTag12=&23;CM"
"Tag13=&24;CMTag14=&25;CMTag15=&26;CMTag16=&27;CMTag17=&28;CMTag18=&29;CMTag19"
"=&30;CMTag20=&31;"
	  MaskDisplay		  "text(str2num(LeftAlignmentValue), 0.5, Mask"
"DisplayString, 'HorizontalAlignment', HorizontalTextAlignment)\n"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "|none|none|on||Model Info|Model Info|Center"
"|0.5|simulink3|20||||||||||||||||||||"
	  System {
	    Name		    "Model Info"
	    Location		    [154, 467, 416, 618]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      SubSystem
	      Name		      "EmptySubsystem"
	      Ports		      [0, 0, 0, 0, 0]
	      Position		      [115, 50, 145, 80]
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      System {
		Name			"EmptySubsystem"
		Location		[146, 180, 902, 673]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		AutoZoom		on
	      }
	    }
	  }
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [90, 56, 95, 94]
	  CopyFcn		  "set_param(gcbh,'ShowName','off','CopyFcn','"
"')"
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Probe
	  Name			  "Probe"
	  Ports			  [1, 4, 0, 0, 0]
	  Position		  [250, 446, 360, 494]
	  ProbeWidth		  on
	  ProbeSampleTime	  on
	  ProbeComplexSignal	  on
	  ProbeSignalDimensions	  on
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "Reshape"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [190, 323, 220, 347]
	  FunctionName		  "sreshape"
	  Parameters		  "OutputDimensionality, OutputDimensions"
	  PortCounts		  "[]"
	  SFunctionModules	  "''"
	  MaskType		  "Reshape"
	  MaskDescription	  "Change the dimensions of a vector or matrix"
" input signal. Output\n - a one-dimensional array (vector), \n - a column vec"
"tor (Mx1 matrix), \n - a row vector (1xN matrix), or \n - a matrix or vector "
"with specified dimensions, e.g., [M, N] or [W]."
	  MaskPromptString	  "Output dimensionality:|Output dimensions:"
	  MaskStyleString	  "popup(1-D array|Column vector|Row vector|Cu"
"stomize),edit"
	  MaskTunableValueString  "on,on"
	  MaskCallbackString	  "reshapemask(gcb,'cbDimensionality')|"
	  MaskEnableString	  "on,off"
	  MaskVisibilityString	  "on,on"
	  MaskVariables		  "OutputDimensionality=@1;OutputDimensions=@2"
";"
	  MaskInitialization	  "s = reshapemask(gcb,'init');"
	  MaskDisplay		  "disp('U( : )')"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "1-D array|[1,1]"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector"
	  Position		  [80, 126, 120, 164]
	  InputType		  "Vector"
	  ElementSrc		  "Internal"
	  Elements		  "[1 3]"
	  RowSrc		  "Internal"
	  Rows			  "1"
	  ColumnSrc		  "Internal"
	  Columns		  "1"
	  InputPortWidth	  "3"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Signal Specification"
	  Ports			  [1, 1]
	  Position		  [155, 523, 230, 547]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  MaskType		  "Signal Specification"
	  MaskDescription	  "Specify attributes of signal line."
	  MaskPromptString	  "Dimensions (-1 = inherit):|Sample time (-1 "
"= inherit):|Data type:|Signal type:"
	  MaskStyleString	  "edit,edit,popup(auto|double|single|int8|uin"
"t8|int16|uint16|int32|uint32|boolean),popup(auto|real|complex)"
	  MaskTunableValueString  "on,on,on,on"
	  MaskCallbackString	  "|||"
	  MaskEnableString	  "on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on"
	  MaskVariables		  "D=@1;Ts=@2;DataType=&3;SignalType=&4;"
	  MaskInitialization	  "S = sigspecmask(gcb,D,Ts,DataType,SignalTyp"
"e);\nif (strcmp(S.status,'') == 0)\n error(S.status);\nend\n"
	  MaskDisplay		  "disp(S.dispStr)\n\n\n\n\n"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "-1|-1|auto|auto"
	  System {
	    Name		    "Signal Specification"
	    Location		    [180, 227, 603, 450]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In"
	      Position		      [110, 88, 140, 102]
	      Port		      "1"
	      PortDimensions	      "D"
	      SampleTime	      "Ts"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out"
	      Position		      [235, 88, 265, 102]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "In"
	      SrcPort		      1
	      DstBlock		      "Out"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "SubSystem"
          Ports			  [0, 0, 0, 0, 0]
	  Position		  [111, 382, 150, 413]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "SubSystem"
	    Location		    [148, 182, 646, 482]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	  }
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [105, 325, 125, 345]
	}
	Block {
	  BlockType		  Width
	  Name			  "Width"
	  Position		  [185, 455, 215, 485]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [140, 18, 170, 32]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Sinks"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [70, 15, 110, 55]
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      MaskDisplay	      "image(imread('sinks.bmp','bmp'))\n"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Sinks"
	Location		[95, 273, 299, 537]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Display
	  Name			  "Display"
	  Ports			  [1, 0, 0, 0, 0]
	  Position		  [50, 75, 140, 105]
	  Format		  "short"
	  Decimation		  "1"
	  Floating		  off
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope"
	  Ports			  [1, 0, 0, 0, 0]
	  Position		  [35, 14, 65, 46]
	  Floating		  off
	  Location		  [188, 365, 512, 604]
	  Open			  off
	  NumInputPorts		  "1"
	  TickLabels		  "OneTimeTick"
	  ZoomMode		  "on"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  Grid			  "on"
	  TimeRange		  "auto"
	  YMin			  "-5"
	  YMax			  "5"
	  SaveToWorkspace	  off
	  SaveName		  "ScopeData"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  on
	  MaxDataPoints		  "5000"
	  Decimation		  "1"
	  SampleInput		  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Stop
	  Name			  "Stop Simulation"
	  Position		  [75, 182, 110, 218]
	}
	Block {
	  BlockType		  ToFile
	  Name			  "To File"
	  Position		  [20, 130, 80, 160]
	  Filename		  "untitled.mat"
	  MatrixName		  "ans"
	  Decimation		  "1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace"
	  Position		  [110, 130, 170, 160]
	  VariableName		  "simout"
	  MaxDataPoints		  "inf"
	  Decimation		  "1"
	  SampleTime		  "-1"
	  SaveFormat		  "Structure"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "XY Graph"
	  Ports			  [2, 0, 0, 0, 0]
	  Position		  [135, 16, 165, 49]
	  CopyFcn		  "sfunxy([],[],[],'CopyBlock')"
	  DeleteFcn		  "sfunxy([],[],[],'DeleteBlock')"
	  LoadFcn		  "sfunxy([],[],[],'LoadBlock')"
	  StartFcn		  "sfunxy([],[],[],'Start')"
	  StopFcn		  "sfunxy([],[],[],'Stop')"
	  NameChangeFcn		  "sfunxy([],[],[],'NameChange')"
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  on
	  SimViewingDevice	  on
	  MaskType		  "XY scope."
	  MaskDescription	  "XY scope using MATLAB graph window.  First "
"input is used as time base.  Enter plotting ranges."
	  MaskHelp		  "This block can be used to explore limit cyc"
"les. Look at the m-file sfunxy.m to see how it works."
	  MaskPromptString	  "x-min:|x-max:|y-min:|y-max:|Sample time:"
	  MaskStyleString	  "edit,edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on,on"
	  MaskCallbackString	  "||||"
	  MaskEnableString	  "on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on"
	  MaskVariables		  "xmin=@1;xmax=@2;ymin=@3;ymax=@4;st=@5;"
	  MaskDisplay		  "plot([.05 .95 .95 .05 .05],[.45 .45 .95 .95"
" .45], 0.5+cos(0:0.1:2*pi)*0.3,0.7+sin(0:0.1:2*pi)*0.2)"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "-1|1|-1|1|-1"
	  System {
	    Name		    "XY Graph"
	    Location		    [70, 145, 330, 278]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "x"
	      Position		      [25, 27, 55, 43]
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "y"
	      Position		      [25, 77, 55, 93]
	      Port		      "2"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [105, 46, 135, 79]
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "none"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "sfunxy"
	      Ports		      [1, 1, 0, 0, 0]
	      Position		      [175, 55, 225, 75]
	      ShowName		      off
	      FunctionName	      "sfunxy"
	      Parameters	      "[xmin xmax ymin ymax], st"
	      PortCounts	      "[]"
	      SFunctionModules	      "''"
	    }
	    Line {
	      SrcBlock		      "y"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "x"
	      SrcPort		      1
	      Points		      [15, 0; 0, 20]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "sfunxy"
	      DstPort		      1
	    }
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Sources"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [15, 15, 55, 55]
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      MaskDisplay	      "image(imread('sources.bmp','bmp'))"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Sources"
	Location		[40, 273, 276, 675]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  SubSystem
	  Name			  "Band-Limited\nWhite Noise"
	  Ports			  [0, 1, 0, 0, 0]
	  Position		  [175, 320, 205, 350]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  MaskType		  "Continuous White Noise."
	  MaskDescription	  "White noise for continuous (s-domain) syste"
"ms.  Band-limited using zero-order-hold."
	  MaskHelp		  "Implemented using white noise into Zero-Ord"
"er Hold block. The seed and power can be vectors of the same length to produc"
"e a vector of white noise sources. For faster simulation, set sample time to "
"the highest value possible but in accordance with the fastest dynamics of sys"
"tem."
	  MaskPromptString	  "Noise power:|Sample time:|Seed:|Interpret v"
"ector parameters as 1-D"
	  MaskStyleString	  "edit,edit,edit,checkbox"
	  MaskTunableValueString  "on,on,on,on"
	  MaskCallbackString	  "|||"
	  MaskEnableString	  "on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on"
	  MaskVariables		  "Cov=@1;Ts=@2;seed=@3;VectorParams1D=&4;"
	  MaskInitialization	  "if any(Cov < 0),error('The ''Noise power'' "
"must be positive. '),end,r = rand(1,12); r2 = [r(1),r;r,r(12)]; t =[1:13;1:13"
"]; if any(Ts==-1), error('Sample time (-1) is set to be back-inherited from t"
"he block(s) it drives. You should explicitly specify the sample time of the s"
"ource block. '), end;\nset_param([gcb '/White Noise'],'VectorParams1D',Vector"
"Params1D);"
	  MaskDisplay		  "plot(t(:),r2(:))"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[0.1]|0.1|[23341]|on"
	  System {
	    Name		    "Band-Limited\nWhite Noise"
	    Location		    [160, 235, 417, 339]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [105, 31, 145, 59]
	      ShowName		      off
	      Gain		      "[sqrt(Cov)]/[sqrt(Ts)]"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      RandomNumber
	      Name		      "White Noise"
	      Position		      [35, 31, 65, 59]
	      Mean		      "0"
	      Variance		      "1"
	      Seed		      "seed"
	      SampleTime	      "Ts"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [190, 38, 215, 52]
	      ShowName		      off
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "White Noise"
	      SrcPort		      1
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Chirp Signal"
	  Ports			  [0, 1, 0, 0, 0]
	  Position		  [175, 140, 205, 170]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  MaskType		  "chirp"
	  MaskDescription	  "Output a linear chirp signal (sine wave "
" whose frequency varies linearly with time)."
	  MaskHelp		  "The chirp signal has linearly increasing fr"
"equency with time.  This block can be used for spectral analysis of nonlinear"
" systems. "
	  MaskPromptString	  "Initial frequency (Hz):|Target time (secs):"
"|Frequency at target time (Hz):|Interpret vectors parameters as 1-D"
	  MaskStyleString	  "edit,edit,edit,checkbox"
	  MaskTunableValueString  "on,on,on,on"
	  MaskCallbackString	  "|||"
	  MaskEnableString	  "on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on"
	  MaskVariables		  "f1=@1;T=@2;f2=@3;VectorParams1D=&4;"
	  MaskInitialization	  "t=[0:.1:5];\nset_param([gcb '/Constant1'], "
"'VectorParams1D', VectorParams1D);\nset_param([gcb '/Constant2'], 'VectorPara"
"ms1D', VectorParams1D);"
	  MaskDisplay		  "plot(t,sin(t.*t))"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "0.1|100|1|on"
	  System {
	    Name		    "Chirp Signal"
	    Location		    [72, 147, 541, 345]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Clock
	      Name		      "Clock"
	      Position		      [20, 100, 40, 120]
	      ShowName		      off
	      DisplayTime	      off
	      Decimation	      "10"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [20, 136, 95, 154]
	      ShowName		      off
	      Value		      "(f2-f1)./T"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [180, 160, 230, 180]
	      Orientation	      "up"
	      ShowName		      off
	      Value		      "2*f1"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [195, 50, 230, 70]
	      ShowName		      off
	      Value		      "pi"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [130, 102, 160, 133]
	      Inputs		      "2"
	      Multiplication	      "Element-wise(.*)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product1"
	      Ports		      [3, 1, 0, 0, 0]
	      Position		      [270, 42, 295, 138]
	      ShowName		      off
	      Inputs		      "3"
	      Multiplication	      "Element-wise(.*)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [195, 110, 215, 130]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Trigonometry
	      Name		      "Trigonometric\nFunction"
	      Ports		      [1, 1, 0, 0, 0]
	      Position		      [335, 74, 375, 106]
	      ShowName		      off
	      Operator		      "sin"
	      OutputSignalType	      "auto"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [415, 83, 445, 97]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [10, 0; 0, -20]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      DstBlock		      "Product1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Product1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Product1"
	      SrcPort		      1
	      DstBlock		      "Trigonometric\nFunction"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Trigonometric\nFunction"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Clock"
	      SrcPort		      1
	      Points		      [15, 0]
	      Branch {
		DstBlock		"Product"
		DstPort			1
	      }
	      Branch {
		Points			[0, -20]
		DstBlock		"Product1"
		DstPort			2
	      }
	    }
	  }
	}
	Block {
	  BlockType		  Clock
	  Name			  "Clock"
	  Position		  [60, 210, 80, 230]
	  DisplayTime		  off
	  Decimation		  "10"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [25, 20, 55, 50]
	  Value			  "1"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  DigitalClock
	  Name			  "Digital Clock"
	  Position		  [130, 208, 195, 232]
	  SampleTime		  "1"
	}
	Block {
	  BlockType		  DiscretePulseGenerator
	  Name			  "Discrete Pulse\nGenerator"
	  Position		  [25, 140, 55, 170]
	  Amplitude		  "1"
	  Period		  "2"
	  PulseWidth		  "1"
	  PhaseDelay		  "0"
	  SampleTime		  "1"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  FromWorkspace
	  Name			  "From\nWorkspace"
	  Position		  [130, 258, 195, 282]
	  VariableName		  "simin"
	  SampleTime		  "0"
	  Interpolate		  on
	  OutputAfterFinalValue	  "Extrapolation"
	}
	Block {
	  BlockType		  FromFile
	  Name			  "From File"
	  Position		  [35, 258, 100, 282]
	  FileName		  "untitled.mat"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Pulse\nGenerator"
	  Ports			  [0, 1, 0, 0, 0]
	  Position		  [100, 140, 130, 170]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  MaskType		  "Pulse Generator"
	  MaskDescription	  "Output a continuous-time periodic pulse tra"
"in."
	  MaskHelp		  "Pulse generator which ensures pulse transit"
"ions are hit. Provides a vector of pulses when the height is entered as a vec"
"tor.  Unmask to see how it works."
	  MaskPromptString	  "Period (secs):|Duty cycle (% of period):|Am"
"plitude:|Start time:|Interpret vector parameters as 1-D"
	  MaskStyleString	  "edit,edit,edit,edit,checkbox"
	  MaskTunableValueString  "on,on,on,on,on"
	  MaskCallbackString	  "||||"
	  MaskEnableString	  "on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on"
	  MaskVariables		  "period=@1;duty=@2;amplitude=@3;start=@4;Vec"
"torParams1D=&5;"
	  MaskInitialization	  "set_param([gcb '/Constant1'], 'VectorParams"
"1D', VectorParams1D);\nset_param([gcb '/Constant2'], 'VectorParams1D', Vector"
"Params1D);\nset_param([gcb '/Constant3'], 'VectorParams1D', VectorParams1D);"
	  MaskDisplay		  "plot(0,0,100,100,[95,90,90,75,75,60,60,45,4"
"5,30,30,15,15,5],[25,25,75,75,25,25,75,75,25,25,75,75,25,25]);"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "1|50|1|0|on"
	  System {
	    Name		    "Pulse\nGenerator"
	    Location		    [126, 301, 983, 571]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Clock
	      Name		      "Clock1"
	      Position		      [15, 75, 35, 95]
	      ShowName		      off
	      DisplayTime	      off
	      Decimation	      "10"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [51, 190, 89, 210]
	      Orientation	      "up"
	      ShowName		      off
	      Value		      "start"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [325, 100, 475, 120]
	      ShowName		      off
	      Value		      "period.*duty/100 + start"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [585, 63, 645, 87]
	      ShowName		      off
	      Value		      "amplitude"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [155, 118, 320, 172]
	      ShowName		      off
	      Gain		      "ones(size(period))./period"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"
	      Position		      [430, 126, 485, 164]
	      ShowName		      off
	      Gain		      "period"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Ground
	      Name		      "Ground"
	      Position		      [605, 115, 625, 135]
	    }
	    Block {
	      BlockType		      Ground
	      Name		      "Ground1"
	      Position		      [725, 135, 745, 155]
	      Orientation	      "up"
	    }
	    Block {
	      BlockType		      Memory
	      Name		      "Memory"
	      Position		      [455, 175, 485, 205]
	      ShowName		      off
	      X0		      "0"
	      InheritSampleTime	      off
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator1"
	      Position		      [555, 73, 575, 122]
	      ShowName		      off
	      Operator		      "<"
	    }
	    Block {
	      BlockType		      Rounding
	      Name		      "Rounding\nFunction"
	      Position		      [355, 130, 385, 160]
	      ShowName		      off
	      Operator		      "floor"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum2"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [510, 100, 530, 120]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum3"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [60, 135, 80, 155]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "+-"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum4"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [520, 180, 540, 200]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|-+"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch2"
	      Position		      [670, 63, 700, 137]
	      ShowName		      off
	      Threshold		      "0.5"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch3"
	      Position		      [755, 95, 785, 125]
	      ShowName		      off
	      Threshold		      "0"
	    }
	    Block {
	      BlockType		      HitCross
	      Name		      "prevent missing an \nentire pulse perio"
"d"
	      Ports		      [1, 0, 0, 0, 0]
	      Position		      [590, 175, 620, 205]
	      NamePlacement	      "alternate"
	      HitCrossingOffset	      "1"
	      HitCrossingDirection    "either"
	      ShowOutputPort	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [815, 100, 835, 120]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      DstBlock		      "Sum3"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum3"
	      SrcPort		      1
	      Points		      [45, 0]
	      Branch {
		DstBlock		"Gain1"
		DstPort			1
	      }
	      Branch {
		Points			[0, 90; 585, 0; 0, -125]
		DstBlock		"Switch3"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Clock1"
	      SrcPort		      1
	      Points		      [30, 0]
	      Branch {
		DstBlock		"Relational\nOperator1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Sum3"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      DstBlock		      "Rounding\nFunction"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant2"
	      SrcPort		      1
	      DstBlock		      "Sum2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Rounding\nFunction"
	      SrcPort		      1
	      Points		      [15, 0]
	      Branch {
		Points			[0, 45]
		Branch {
		  Points		  [0, 25]
		  DstBlock		  "Sum4"
		  DstPort		  2
		}
		Branch {
		  DstBlock		  "Memory"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Gain2"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Switch3"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relational\nOperator1"
	      SrcPort		      1
	      DstBlock		      "Switch2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Ground"
	      SrcPort		      1
	      DstBlock		      "Switch2"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      DstBlock		      "Switch2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Ground1"
	      SrcPort		      1
	      Points		      [0, -10]
	      DstBlock		      "Switch3"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Switch2"
	      SrcPort		      1
	      DstBlock		      "Switch3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum4"
	      SrcPort		      1
	      DstBlock		      "prevent missing an \nentire pulse perio"
"d"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Memory"
	      SrcPort		      1
	      DstBlock		      "Sum4"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Ramp"
	  Ports			  [0, 1, 0, 0, 0]
	  Position		  [25, 80, 55, 110]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  MaskType		  "Ramp"
	  MaskDescription	  "Output a ramp signal starting at the specif"
"ied time."
	  MaskPromptString	  "Slope:|Start time:|Initial output:|Interpre"
"t vector parameters as 1-D"
	  MaskStyleString	  "edit,edit,edit,checkbox"
	  MaskTunableValueString  "on,on,on,on"
	  MaskCallbackString	  "|||"
	  MaskEnableString	  "on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on"
	  MaskVariables		  "slope=@1;start=@2;X0=@3;VectorParams1D=&4;"
	  MaskInitialization	  "set_param([gcb '/Constant'], 'VectorParams1"
"D',VectorParams1D);\nset_param([gcb '/Constant1'], 'VectorParams1D',VectorPar"
"ams1D);\nset_param([gcb '/Step'], 'VectorParams1D',VectorParams1D);"
	  MaskDisplay		  "plot([0:10],[1,1,1,1:8])"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "1|0|0|on"
	  System {
	    Name		    "Ramp"
	    Location		    [72, 147, 445, 344]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Clock
	      Name		      "Clock"
	      Position		      [30, 80, 50, 100]
	      ShowName		      off
	      DisplayTime	      off
	      Decimation	      "10"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [20, 139, 55, 161]
	      Value		      "start"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [175, 139, 210, 161]
	      Value		      "X0"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [180, 68, 205, 97]
	      ShowName		      off
	      Inputs		      "2"
	      Multiplication	      "Element-wise(.*)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Step
	      Name		      "Step"
	      Position		      [90, 17, 120, 43]
	      Time		      "start"
	      Before		      "0"
	      After		      "slope"
	      SampleTime	      "0"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [90, 80, 110, 100]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [255, 75, 275, 95]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [315, 78, 345, 92]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Step"
	      SrcPort		      1
	      Points		      [30, 0; 0, 45]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [50, 0]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [40, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Clock"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  RandomNumber
	  Name			  "Random\nNumber"
	  Position		  [25, 320, 55, 350]
	  Mean			  "0"
	  Variance		  "1"
	  Seed			  "0"
	  SampleTime		  "0"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Repeating\nSequence"
	  Ports			  [0, 1, 0, 0, 0]
	  Position		  [175, 80, 205, 110]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  MaskType		  "Repeating table"
	  MaskDescription	  "Output a repeating sequence of numbers spec"
"ified in a table of time-value pairs. Values of time should be monotonically "
"increasing."
	  MaskHelp		  "Repeats cycle given in table. Time values s"
"hould be monotonically increasing."
	  MaskPromptString	  "Time values:|Output values:"
	  MaskStyleString	  "edit,edit"
	  MaskTunableValueString  "on,on"
	  MaskCallbackString	  "|"
	  MaskEnableString	  "on,on"
	  MaskVisibilityString	  "on,on"
	  MaskVariables		  "rep_seq_t=@1;rep_seq_y=@2;"
	  MaskInitialization	  "if (length(rep_seq_t) ~= length(rep_seq_y))"
",\n  error('Length of time vector and output vector must be the same.')\nend"
"\nperiod = max(rep_seq_t) - min(rep_seq_t);\nsim_start_time = str2double(get_"
"param(bdroot, 'StartTime'));\ns = round(length(rep_seq_t)/50);\nif s > 0\n  d"
"isp_seq_t = rep_seq_t(1:s:end);\n  disp_seq_y = rep_seq_y(1:s:end);\n  disp_p"
"eriod = max(disp_seq_t) - min(disp_seq_t);\nelse\n  disp_period = period;\n  "
"disp_seq_t = rep_seq_t;\n  disp_seq_y = rep_seq_y;\nend"
	  MaskDisplay		  "plot( ...\n[disp_seq_t, ...\ndisp_seq_t+dis"
"p_period, ...\ndisp_seq_t+2*disp_period, ...\ndisp_seq_t(1)+3*disp_period], ."
"..\n[disp_seq_y, ...\ndisp_seq_y, ...\ndisp_seq_y, ...\ndisp_seq_y(1)] ...\n)"
"\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "[0 2]|[0 2]"
	  System {
	    Name		    "Repeating\nSequence"
	    Location		    [160, 235, 582, 352]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Clock
	      Name		      "Clock"
	      Position		      [15, 30, 35, 50]
	      ShowName		      off
	      DisplayTime	      off
	      Decimation	      "10"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [15, 53, 95, 77]
	      Value		      "sim_start_time"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn1"
	      Position		      [190, 46, 280, 64]
	      Expr		      "rem(u[1],period)"
	    }
	    Block {
	      BlockType		      Lookup
	      Name		      "Look-Up Table1"
	      Position		      [310, 43, 350, 67]
	      InputValues	      "rep_seq_t - min(rep_seq_t)"
	      OutputValues	      "rep_seq_y"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [125, 29, 145, 76]
	      ShowName		      off
	      IconShape		      "rectangular"
	      Inputs		      "+-"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [385, 45, 405, 65]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Fcn1"
	      SrcPort		      1
	      DstBlock		      "Look-Up Table1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Look-Up Table1"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Fcn1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Clock"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SignalGenerator
	  Name			  "Signal\nGenerator"
	  Position		  [100, 20, 130, 50]
	  WaveForm		  "sine"
	  Amplitude		  "1"
	  Frequency		  "1"
	  Units			  "Hertz"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Sin
	  Name			  "Sine Wave"
	  Position		  [100, 80, 130, 110]
	  Amplitude		  "1"
	  Frequency		  "1"
	  Phase			  "0"
	  SampleTime		  "0"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Step
	  Name			  "Step"
	  Position		  [175, 20, 205, 50]
	  Time			  "1"
	  Before		  "0"
	  After			  "1"
	  SampleTime		  "0"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  UniformRandomNumber
	  Name			  "Uniform Random\nNumber"
	  Position		  [100, 319, 130, 351]
	  Minimum		  "-1"
	  Maximum		  "1"
	  Seed			  "0"
	  SampleTime		  "0"
	  VectorParams1D	  on
	}
      }
    }
    Annotation {
      Position		      [226, 112]
      Text		      "Simulink Block Library 4.0\nCopyright (c) 1990-"
"2000 The MathWorks, Inc."
    }
  }
}
