www.pudn.com > wcdma_simulink.rar > koe_rate.mdl


Model {
  Name			  "koe_rate"
  Version		  3.00
  SimParamPage		  "Solver"
  SampleTimeColors	  off
  InvariantConstants	  off
  WideVectorLines	  off
  ShowLineWidths	  on
  ShowPortDataTypes	  off
  StartTime		  "0.0"
  StopTime		  "10.0"
  SolverMode		  "Auto"
  Solver		  "ode45"
  RelTol		  "1e-3"
  AbsTol		  "auto"
  Refine		  "1"
  MaxStep		  "auto"
  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	  "warning"
  UnnecessaryDatatypeConvMsg "none"
  Int32ToFloatConvMsg	  "warning"
  SignalLabelMismatchMsg  "none"
  ConsistencyChecking	  "off"
  ZeroCross		  on
  SimulationMode	  "normal"
  BlockDataTips		  on
  BlockParametersDataTip  on
  BlockAttributesDataTip  off
  BlockPortWidthsDataTip  off
  BlockDescriptionStringDataTip	off
  BlockMaskParametersDataTip off
  ToolBar		  on
  StatusBar		  on
  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
  PreLoadFcn		  "N=32;off=2;"
  Created		  "Thu Jun  3 15:47:23 1999"
  Creator		  "maarit"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%"
  LastModifiedBy	  "maarit"
  ModifiedDateFormat	  "%"
  LastModifiedDate	  "Mon Jun 21 14:01:01 1999"
  ModelVersionFormat	  "1.%"
  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		    "koe_rate"
    Location		    [118, 46, 1041, 1006]
    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		      Constant
      Name		      "Constant1"
      Position		      [480, 245, 510, 275]
      ShowName		      off
      Value		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Direct ber calculation"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [205, 595, 345, 695]
      Orientation	      "down"
      NamePlacement	      "alternate"
      SourceBlock	      "utra_lib/Test functions/Direct ber calculation"
      SourceType	      ""
      N			      "N"
      nFrames		      "1"
    }
    Block {
      BlockType		      Display
      Name		      "Display"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [800, 36, 885, 744]
      ShowName		      off
      Format		      "short"
      Decimation	      "1"
      Floating		      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Display
      Name		      "Display1"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [685, 245, 780, 275]
      ShowName		      off
      Format		      "short"
      Decimation	      "1"
      Floating		      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Display
      Name		      "Display2"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [385, 61, 470, 769]
      ShowName		      off
      Format		      "short"
      Decimation	      "1"
      Floating		      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Display
      Name		      "Display3"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [239, 730, 331, 760]
      Orientation	      "down"
      NamePlacement	      "alternate"
      Format		      "short"
      Decimation	      "1"
      Floating		      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Display
      Name		      "Display4"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [15, 150, 105, 860]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      Format		      "short"
      Decimation	      "1"
      Floating		      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Reference
      Name		      "Rate Matching2"
      Ports		      [1, 1, 0, 0, 0]
      Position		      [270, 174, 355, 226]
      ShowName		      off
      SourceBlock	      "utra_lib/Channel coding block/dl_TX_channel_cod"
"ing/Rate Matching"
      SourceType	      ""
      r_in		      "N"
      r_out		      "N+off"
      punk		      "0.2"
      nFrames		      "1"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace23"
      Position		      [170, 700, 230, 730]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      VariableName	      "ber"
      Buffer		      "inf"
      Decimation	      "1"
      SampleTime	      "1"
      SaveFormat	      "Matrix"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace24"
      Position		      [145, 320, 205, 350]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      VariableName	      "in"
      Buffer		      "inf"
      Decimation	      "1"
      SampleTime	      "1"
      SaveFormat	      "Matrix"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace25"
      Position		      [640, 105, 700, 135]
      Orientation	      "up"
      ShowName		      off
      VariableName	      "out"
      Buffer		      "inf"
      Decimation	      "1"
      SampleTime	      "1"
      SaveFormat	      "Matrix"
    }
    Block {
      BlockType		      Reference
      Name		      "data source 01 ..10"
      Ports		      [0, 1, 0, 0, 0]
      Position		      [120, 170, 210, 230]
      ShowName		      off
      SourceBlock	      "utra_lib/Source blocks/data source 01 ..10"
      SourceType	      "koe"
      nFrames		      "1"
      N			      "N"
    }
    Block {
      BlockType		      Reference
      Name		      "rate_dematching"
      Ports		      [2, 2, 0, 0, 0]
      Position		      [525, 170, 645, 290]
      ShowName		      off
      SourceBlock	      "utra_lib/Channel coding block/dl_RX_channel_dec"
"oding/rate_dematching"
      SourceType	      ""
      dr_in		      "N+off"
      dr_out		      "N"
      punk		      "0.2"
      nFrames		      "1"
    }
    Line {
      SrcBlock		      "Constant1"
      SrcPort		      1
      DstBlock		      "rate_dematching"
      DstPort		      2
    }
    Line {
      SrcBlock		      "rate_dematching"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	Points			[125, 0]
	DstBlock		"Display"
	DstPort			1
      }
      Branch {
	Points			[0, 380]
	DstBlock		"Direct ber calculation"
	DstPort			2
      }
      Branch {
	Points			[10, 0]
	DstBlock		"To Workspace25"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "rate_dematching"
      SrcPort		      2
      DstBlock		      "Display1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Rate Matching2"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	DstBlock		"rate_dematching"
	DstPort			1
      }
      Branch {
	Points			[0, 215]
	DstBlock		"Display2"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "data source 01 ..10"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	Points			[15, 0]
	Branch {
	  DstBlock		  "Rate Matching2"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 135]
	  Branch {
	    DstBlock		    "To Workspace24"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Direct ber calculation"
	    DstPort		    1
	  }
	}
      }
      Branch {
	Points			[0, 305]
	DstBlock		"Display4"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Direct ber calculation"
      SrcPort		      1
      Points		      [0, 15]
      Branch {
	DstBlock		"Display3"
	DstPort			1
      }
      Branch {
	DstBlock		"To Workspace23"
	DstPort			1
      }
    }
    Annotation {
      Position		      [129, 37]
      Text		      "TESTING FOR \n\nrate matching\nderate matching"
      FontName		      "helvetica"
      FontSize		      14
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [154, 117]
      Text		      "PreLoadFcn sets values:\nN = 32\noff = 2\nchnag"
"e them to see how this works"
      FontName		      "helvetica"
      FontSize		      14
      FontWeight	      "bold"
    }
  }
}