⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cdma2k_phlayer.mdl

📁 CDMA 2000 simulation using SIMULINK
💻 MDL
📖 第 1 页 / 共 5 页
字号:
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "After Pulse Shaping"
      Ports		      [1]
      Position		      [845, 175, 880, 225]
      BackgroundColor	      "[1.000000, 0.788235, 0.576471]"
      NamePlacement	      "alternate"
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      on
      BufferSize	      "256"
      Overlap		      "0"
      inpFftLenInherit	      off
      FFTlength		      "128"
      numAvg		      "20"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      off
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     off
      OpenScopeImmediately    off
      FigPos		      "[505 336 365 181]"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[-Fs/2...Fs/2]"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      YUnits		      "dB"
      YMin		      "-50.9192306956859"
      YMax		      "14.9570095672604"
      YLabel		      "Magnitude, dB"
      LineProperties	      off
      LineColors	      "[1 0 0]"
    }
    Block {
      BlockType		      Display
      Name		      "BER Measurements2"
      Ports		      [1]
      Position		      [245, 339, 335, 401]
      BackgroundColor	      "[1.000000, 0.788235, 0.576471]"
      ShowName		      off
      FontName		      "Arial"
      Decimation	      "1"
    }
    Block {
      BlockType		      Display
      Name		      "BER Measurements3"
      Ports		      [1]
      Position		      [645, 329, 735, 391]
      BackgroundColor	      "[1.000000, 0.788235, 0.576471]"
      ShowName		      off
      FontName		      "Arial"
      Decimation	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Binary Data\nSource"
      Ports		      [0, 1]
      Position		      [15, 200, 105, 250]
      BackgroundColor	      "[0.580392, 0.725490, 0.960784]"
      ShowName		      off
      AttributesFormatString  "Samples per Frame = %<sampPerFrame>\\nSample Ti"
"me = %<Ts>"
      FontName		      "Arial"
      SourceBlock	      "commrandsrc2/Bernoulli Binary\nGenerator"
      SourceType	      "Bernoulli Binary Generator"
      P			      "0.5"
      seed		      "1234"
      Ts		      "20e-3*1/172"
      frameBased	      on
      sampPerFrame	      "172"
      orient		      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Channel Model"
      Ports		      [1, 1]
      Position		      [832, 310, 908, 410]
      Orientation	      "down"
      BackgroundColor	      "[0.580392, 0.725490, 0.960784]"
      NamePlacement	      "alternate"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('Channel\\nModels');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      Port {
	PortNumber		1
	Name			"channel 1"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      System {
	Name			"Channel Model"
	Location		[390, 214, 813, 400]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "toCh1"
	  Position		  [15, 103, 45, 117]
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Channel1"
	  Ports			  [1, 1]
	  Position		  [155, 89, 255, 131]
	  AttributesFormatString  "%<BlockChoice>"
	  LinkData {
	    BlockName		    "AWGN\nChannel"
	    DialogParameters {
	      EsNodB		      "EcN0"
	    }
	  }
	  BlockChoice		  "Multipath Fading Channel"
	  TemplateBlock		  "cdma2k_lib/cdma2000 Channel Models/Configur"
"able\nSubsystem"
	  MemberBlocks		  "AWGN Channel,Multipath Fading Channel,No Ch"
"annel"
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Channel1"
	    Location		    [148, 182, 646, 482]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In"
	      Position		      [20, 40, 40, 60]
	      ForegroundColor	      "yellow"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Multipath Fading Channel"
	      Ports		      [1, 1]
	      Position		      [100, 40, 140, 80]
	      SourceBlock	      "cdma2k_lib/cdma2000 Channel Models/Mult"
"ipath Fading Channel"
	      SourceType	      ""
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out"
	      Position		      [200, 40, 220, 60]
	    }
	    Line {
	      SrcBlock		      "In"
	      SrcPort		      1
	      DstBlock		      "Multipath Fading Channel"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Multipath Fading Channel"
	      SrcPort		      1
	      DstBlock		      "Out"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "fromCh1"
	  Position		  [360, 103, 390, 117]
	}
	Line {
	  SrcBlock		  "toCh1"
	  SrcPort		  1
	  DstBlock		  "Channel1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Channel1"
	  SrcPort		  1
	  DstBlock		  "fromCh1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Close Scopes"
      Ports		      []
      Position		      [830, 125, 904, 147]
      BackgroundColor	      "[0.796078, 0.984314, 0.768627]"
      ShowName		      off
      OpenFcn		      "str1 = 'Rx Antenna';                           "
"                                                \nstr2 = 'From Channel';     "
"                                                                    \nstr3 = "
"'After Rake';                                                                "
"           \nstr4 = 'After Correlation';                                     "
"                               \nstr5 = 'After Derotation';                  "
"                      str6 = 'After Pulse Shaping';\nstr7 = 'From Channel';  "
"                                                                       \n    "
"                                                                             "
"              \n                                                             "
"                                  \nsdspfscope2([],[],[],'ScopeUpdate',[bdroo"
"t '/' str1 '/' str2 ],'CloseFig');                    \nsdspfscope2([],[],[],"
"'ScopeUpdate',[bdroot '/' str1 '/' str3 ],'CloseFig');                    \ns"
"dspfscope2([],[],[],'ScopeUpdate',[bdroot '/' str1 '/' str4 ],'CloseFig');   "
"                 \nsdspfscope2([],[],[],'ScopeUpdate',[bdroot '/' str1 '/' st"
"r5 ],'CloseFig');                    \nsdspfscope2([],[],[],'ScopeUpdate',[bd"
"root '/' str6],'CloseFig');                              \n sdspfscope2([],[]"
",[],'ScopeUpdate',[bdroot '/' str7],'CloseFig');                             "
"\n                                                                           "
"                    "
      FontName		      "Arial"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('Close Scopes');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Close Scopes"
	Location		[207, 323, 855, 323]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation"
      Ports		      [2, 1]
      Position		      [155, 340, 230, 395]
      BackgroundColor	      "[0.992157, 0.941176, 0.658824]"
      ShowName		      off
      AttributesFormatString  "Received Delay = %<N>"
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "2*172"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ErrorVec"
      RsMode2		      off
      stop		      off
      numErr		      "100"
      maxBits		      "1e6"
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation1"
      Ports		      [2, 1]
      Position		      [550, 330, 625, 385]
      BackgroundColor	      "[0.992157, 0.929412, 0.584314]"
      ShowName		      off
      AttributesFormatString  "Received Delay = %<N>"
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "2*768"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ErrorVec"
      RsMode2		      off
      stop		      off
      numErr		      "100"
      maxBits		      "1e6"
    }
    Block {
      BlockType		      Display
      Name		      "Frame Quality\nIndicator"
      Ports		      [1]
      Position		      [15, 498, 110, 522]
      Orientation	      "left"
      BackgroundColor	      "[1.000000, 0.788235, 0.576471]"
      Decimation	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "From Channel"
      Ports		      [1]
      Position		      [875, 490, 910, 540]
      BackgroundColor	      "[1.000000, 0.788235, 0.576471]"
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      on
      BufferSize	      "512"
      Overlap		      "0"
      inpFftLenInherit	      off
      FFTlength		      "128"
      numAvg		      "2"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      off
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     off
      OpenScopeImmediately    off
      FigPos		      "[504 108 365 182]"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[-Fs/2...Fs/2]"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      YUnits		      "dB"
      YMin		      "-67.9790035160658"
      YMax		      "14.7925306214508"
      YLabel		      "Magnitude, dB"
      LineProperties	      off
      LineColors	      "[1 0 0]"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Hard Decisions"
      Ports		      [1, 1]
      Position		      [450, 355, 520, 385]
      BackgroundColor	      "[0.992157, 0.929412, 0.584314]"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('Hard\\nDecisions');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Hard Decisions"
	Location		[206, 140, 613, 267]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [50, 38, 80, 52]
	}
	Block {
	  BlockType		  Reference
	  Name			  "Bipolar to\nUnipolar\nConverter"
	  Ports			  [1, 1]
	  Position		  [165, 25, 250, 65]
	  ShowName		  off
	  SourceBlock		  "commutil2/Bipolar to\nUnipolar\nConverter"
	  SourceType		  "Bipolar to Unipolar Converter"
	  M			  "2"
	  polarity		  "Negative"
	}
	Block {
	  BlockType		  Signum
	  Name			  "Sign"
	  Position		  [115, 27, 150, 63]
	  ShowName		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [275, 38, 305, 52]
	}
	Line {
	  SrcBlock		  "Sign"
	  SrcPort		  1
	  DstBlock		  "Bipolar to\nUnipolar\nConverter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bipolar to\nUnipolar\nConverter"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Sign"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Info"
      Ports		      []
      Position		      [845, 14, 935, 47]
      BackgroundColor	      "[0.796078, 0.984314, 0.768627]"
      ShowName		      off
      ShowPortLabels	      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('INFO')"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -