Model {
  Name			  "busdemo"
  Version		  3.00
  SimParamPage		  "Solver"
  SampleTimeColors	  off
  InvariantConstants	  off
  WideVectorLines	  off
  ShowLineWidths	  off
  ShowPortDataTypes	  off
  StartTime		  "0.0"
  StopTime		  "10"
  SolverMode		  "Auto"
  Solver		  "VariableStepDiscrete"
  RelTol		  "1e-3"
  AbsTol		  "auto"
  Refine		  "1"
  MaxStep		  ".05"
  InitialStep		  "auto"
  FixedStep		  "auto"
  MaxOrder		  5
  OutputOption		  "RefineOutputTimes"
  OutputTimes		  "[]"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  SaveTime		  on
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  on
  OutputSaveName	  "yout"
  LoadInitialState	  off
  InitialState		  "xInitial"
  SaveFinalState	  off
  FinalStateName	  "xFinal"
  SaveFormat		  "Matrix"
  LimitMaxRows		  off
  MaxRows		  "1000"
  Decimation		  "1"
  AlgebraicLoopMsg	  "warning"
  MinStepSizeMsg	  "warning"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  IntegerOverflowMsg	  "none"
  ConsistencyChecking	  "off"
  ZeroCross		  on
  SimulationMode	  "normal"
  BlockDataTips		  on
  BlockParametersDataTip  on
  BlockAttributesDataTip  off
  BlockPortWidthsDataTip  off
  BlockDescriptionStringDataTip	off
  BlockMaskParametersDataTip off
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  OptimizeBlockIOStorage  on
  BufferReuse		  on
  BooleanDataType	  off
  RTWSystemTargetFile	  "grt.tlc"
  RTWInlineParameters	  off
  RTWRetainRTWFile	  off
  RTWTemplateMakefile	  "grt_default_tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "oneshot"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  off
  Created		  "Mon Jul 27 12:46:57 1998"
  Creator		  "ldean"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "ctrapeni"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Fri Sep 18 11:15:19 1998"
  ModelVersionFormat	  "1.%<AutoIncrement:12>"
  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		    "busdemo"
    Location		    [80, 94, 581, 645]
    Open		    on
    ToolBar		    on
    StatusBar		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      BusSelector
      Name		      "Bus\nSelector"
      Ports		      [1, 2, 0, 0, 0]
      Position		      [340, 184, 345, 291]
      FontName		      "Arial"
      FontSize		      12
      OutputSignals	      "Pulse,Chirp"
      MuxedOutput	      off
      Port {
	PortNumber		1
	Name			"Pulse"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
      Port {
	PortNumber		2
	Name			"Chirp"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Bus Output 1"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [435, 249, 465, 281]
      ShowName		      off
      StartFcn		      "open_system(gcbh)"
      FontName		      "Arial"
      FontSize		      12
      Floating		      off
      Location		      [587, 90, 830, 270]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "10"
      YMin		      "-3"
      YMax		      "3"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "Structure"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Bus Output 2"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [435, 194, 465, 226]
      ShowName		      off
      StartFcn		      "open_system(gcbh)"
      FontName		      "Arial"
      FontSize		      12
      Floating		      off
      Location		      [585, 295, 828, 475]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      Grid		      "on"
      TimeRange		      "10"
      YMin		      "-3"
      YMax		      "3"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "Structure"
      LimitMaxRows	      on
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Chirp Signal"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [40, 97, 65, 123]
      FontName		      "Arial"
      FontSize		      12
      SourceBlock	      "simulink3/Sources/Chirp Signal"
      SourceType	      "chirp"
      f1		      "0.1"
      T			      "10"
      f2		      "5"
      Port {
	PortNumber		1
	Name			"Chirp"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Clock
      Name		      "Clock"
      Position		      [45, 230, 65, 250]
      FontName		      "Arial"
      FontSize		      12
      DisplayTime	      off
      Decimation	      "10"
      Port {
	PortNumber		1
	Name			"Clock"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Constant
      Name		      "Constant"
      Position		      [45, 165, 65, 185]
      FontName		      "Arial"
      FontSize		      12
      Value		      "1"
      Port {
	PortNumber		1
	Name			"Constant"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "More Info"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [340, 451, 465, 529]
      DropShadow	      on
      ShowName		      off
      FontName		      "Arial"
      FontSize		      12
      ShowPortLabels	      on
      MaskDisplay	      "disp('Double click\\nhere for\\ninformation on"
"\\nthis demonstration')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"More Info"
	Location		[78, 145, 641, 356]
	Open			off
	ToolBar			off
	StatusBar		off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Annotation {
	  Position		  [20, 40]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  Text			  "This demonstration shows how signals may be"
" grouped and ungrouped while\nretaining their names.  In this demonstration, "
"5 signals are created and labelled\nappropriately.  These signals are then mu"
"x'd together to create a bus of signals.\nThis bus of signals is then fed int"
"o the Bus Selector block.  Inside of the Bus \nSelector block, the Pulse and "
"Chirp signals are chosen to be output from the \noriginal signal bus.\n\nIt i"
"s possible to place a nest signal buses and then still retrieve the original "
"signal\nwith its label."
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Position		  [233, 22]
	  Text			  "Bus Block Demonstration"
	  FontName		  "Arial"
	  FontSize		  14
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "More Info1"
      Ports		      [0, 0, 0, 0, 0]
      Position		      [40, 451, 164, 530]
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "simcad(bdroot);"
      FontName		      "Arial"
      FontSize		      12
      ShowPortLabels	      on
      MaskDisplay	      "disp('Double click\\nhere for\\nSimulink Help')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"More Info1"
	Location		[128, 280, 487, 453]
	Open			off
	ToolBar			off
	StatusBar		off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [5, 1, 0, 0, 0]
      Position		      [275, 72, 280, 408]
      FontName		      "Arial"
      FontSize		      12
      Inputs		      "5"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Reference
      Name		      "Pulse\nGenerator"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [45, 294, 65, 316]
      FontName		      "Arial"
      FontSize		      12
      SourceBlock	      "simulink3/Sources/Pulse\nGenerator"
      SourceType	      "Pulse Generator"
      period		      "1"
      duty		      "50"
      amplitude		      "1"
      start		      "0"
      Port {
	PortNumber		1
	Name			"Pulse"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Position		      [45, 360, 65, 380]
      FontName		      "Arial"
      FontSize		      12
      Amplitude		      "1"
      Frequency		      "1"
      Phase		      "0"
      SampleTime	      "0"
      Port {
	PortNumber		1
	Name			"Sine"
	TestPoint		off
	RTWStorageClass		"Auto"
      }
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Bus\nSelector"
      DstPort		      1
    }
    Line {
      Name		      "Clock"
      FontName		      "Arial"
      FontSize		      12
      Labels		      [1, 0]
      SrcBlock		      "Clock"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      3
    }
    Line {
      Name		      "Pulse"
      FontName		      "Arial"
      FontSize		      12
      Labels		      [1, 0]
      SrcBlock		      "Pulse\nGenerator"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      4
    }
    Line {
      Name		      "Sine"
      FontName		      "Arial"
      FontSize		      12
      Labels		      [1, 0]
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      5
    }
    Line {
      Name		      "Chirp"
      FontName		      "Arial"
      FontSize		      12
      Labels		      [1, 0]
      SrcBlock		      "Chirp Signal"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      1
    }
    Line {
      Name		      "Constant"
      FontName		      "Arial"
      FontSize		      12
      Labels		      [1, 0]
      SrcBlock		      "Constant"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      2
    }
    Line {
      Name		      "Chirp"
      FontName		      "Arial"
      FontSize		      12
      Labels		      [0, 1]
      SrcBlock		      "Bus\nSelector"
      SrcPort		      2
      DstBlock		      "Bus Output 1"
      DstPort		      1
    }
    Line {
      Name		      "Pulse"
      FontName		      "Arial"
      FontSize		      12
      Labels		      [0, 1]
      SrcBlock		      "Bus\nSelector"
      SrcPort		      1
      DstBlock		      "Bus Output 2"
      DstPort		      1
    }
    Annotation {
      Position		      [271, 23]
      Text		      "Bus Block Demonstration"
      FontName		      "Arial Black"
      FontSize		      18
    }
  }
}
