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

📄 wcdma.mdl

📁 WCDMA的simulation实现
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Close Plots2"
      Ports		      []
      Position		      [330, 555, 404, 577]
      BackgroundColor	      "green"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "set_param([gcs '/Power Spectrum/Before Spreadin"
"g Spectrum'],'OpenScopeAtSimStart','off');          \n  set_param([gcs '/Powe"
"r Spectrum/Before Pulse Shaping'],'OpenScopeAtSimStart','off');             "
"\n  set_param([gcs '/Power Spectrum/Tx Signal'],'OpenScopeAtSimStart','off');"
"                        \n  set_param([gcs '/Power Spectrum/Rx Signal'],'Open"
"ScopeAtSimStart','off');                        \n  sdspfscope2([],[],[],'Sco"
"peUpdate',[gcs '/Power Spectrum/Before Spreading Spectrum'],'CloseFig');\n  s"
"dspfscope2([],[],[],'ScopeUpdate',[gcs '/Power Spectrum/Before Pulse Shaping'"
"],'CloseFig');     \n  sdspfscope2([],[],[],'ScopeUpdate',[gcs '/Power Spectr"
"um/Tx Signal'],'CloseFig');                \n  sdspfscope2([],[],[],'ScopeUpd"
"ate',[gcs '/Power Spectrum/Rx Signal'],'CloseFig');                "
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('Close Scopes');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Close Plots2"
	Location		[207, 323, 855, 323]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Close Plots3"
      Ports		      []
      Position		      [245, 555, 319, 577]
      BackgroundColor	      "green"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "set_param([gcs '/Power Spectrum/Before Spreadin"
"g Spectrum'],'OpenScopeAtSimStart','on');          \n  set_param([gcs '/Power"
" Spectrum/Before Pulse Shaping'],'OpenScopeAtSimStart','on');             \n "
" set_param([gcs '/Power Spectrum/Tx Signal'],'OpenScopeAtSimStart','on');    "
"                    \n  set_param([gcs '/Power Spectrum/Rx Signal'],'OpenScop"
"eAtSimStart','on');                        \n  sdspfscope2([],[],[],'ScopeUpd"
"ate',[gcs '/Power Spectrum/Before Spreading Spectrum'],'OpenFig');\n  sdspfsc"
"ope2([],[],[],'ScopeUpdate',[gcs '/Power Spectrum/Before Pulse Shaping'],'Ope"
"nFig');     \n  sdspfscope2([],[],[],'ScopeUpdate',[gcs '/Power Spectrum/Tx S"
"ignal'],'OpenFig');                \n  sdspfscope2([],[],[],'ScopeUpdate',[gc"
"s '/Power Spectrum/Rx Signal'],'OpenFig');                \n                 "
"                                                                             "
"    "
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('Open Scopes');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Close Plots3"
	Location		[207, 323, 855, 323]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Close Plots4"
      Ports		      []
      Position		      [540, 555, 614, 577]
      BackgroundColor	      "green"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "                                               "
"                                     \nset_param([bdroot '/Constellation/DPCH"
"_Rx'],'OpenScopeAtSimStart','off');           \nset_param([bdroot '/Constella"
"tion/DPCH_Derot'],'OpenScopeAtSimStart','off');        \nset_param([bdroot '/"
"Constellation/DPCH_Comb'],'OpenScopeAtSimStart','off');         \nsdspfscope2"
"([],[],[],'ScopeUpdate',[bdroot '/Constellation/DPCH_Rx'],'CloseFig');   \nsd"
"spfscope2([],[],[],'ScopeUpdate',[bdroot '/Constellation/DPCH_Derot'],'CloseF"
"ig');\nsdspfscope2([],[],[],'ScopeUpdate',[bdroot '/Constellation/DPCH_Comb']"
",'CloseFig'); \n                                                             "
"                       "
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('Close Scopes');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Close Plots4"
	Location		[207, 323, 855, 323]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Close Plots5"
      Ports		      []
      Position		      [455, 555, 529, 577]
      BackgroundColor	      "green"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "sdspfscope2([],[],[],'ScopeUpdate',[bdroot '/Co"
"nstellation/DPCH_Rx'],'OpenFig');   \nsdspfscope2([],[],[],'ScopeUpdate',[bdr"
"oot '/Constellation/DPCH_Derot'],'OpenFig');\nsdspfscope2([],[],[],'ScopeUpda"
"te',[bdroot '/Constellation/DPCH_Comb'],'OpenFig'); \nset_param([bdroot '/Con"
"stellation/DPCH_Rx'],'OpenScopeAtSimStart','on');           \nset_param([bdro"
"ot '/Constellation/DPCH_Derot'],'OpenScopeAtSimStart','on');        \nset_par"
"am([bdroot '/Constellation/DPCH_Comb'],'OpenScopeAtSimStart','on');         "
"\n                                                                           "
"        "
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('Open Scopes');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Close Plots5"
	Location		[207, 323, 855, 323]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Constellation"
      Ports		      [3]
      Position		      [570, 452, 625, 528]
      ShowName		      off
      TreatAsAtomicUnit	      on
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('Scatter\\nPlot')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Constellation"
	Location		[148, 181, 376, 490]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 33, 55, 47]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [25, 123, 55, 137]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [25, 203, 55, 217]
	  Port			  "3"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  "DPCH_Comb"
	  Tag			  "ScatterPlot"
	  Ports			  [1]
	  Position		  [115, 185, 160, 235]
	  SourceBlock		  "commsink2/Discrete-Time\nScatter Plot\nScop"
"e"
	  SourceType		  "Discrete-Time Scatter Plot Scope"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  sampPerSymb		  "1"
	  offsetEye		  "0"
	  numTraces		  "70"
	  numNewFrames		  "20"
	  LineMarkers		  "."
	  LineColors		  "[1 0 1]"
	  fading		  on
	  render		  off
	  AxisGrid		  on
	  xMin			  "-2.7"
	  xMax			  "2.7"
	  yMin			  "-2.7"
	  yMax			  "2.7"
	  inphaseLabel		  "In-phase Amplitude"
	  quadratureLabel	  "Quadrature Amplitude"
	  openScopeAtSimStart	  off
	  FrameNumber		  off
	  FigPos		  "[686 317 328 328]"
	  figTitle		  "Rake Combined DPCH Signal"
	  numLinesMax		  "50"
	  block_type_		  "scatter"
	}
	Block {
	  BlockType		  Reference
	  Name			  "DPCH_Derot"
	  Tag			  "ScatterPlot"
	  Ports			  [1]
	  Position		  [115, 105, 160, 155]
	  SourceBlock		  "commsink2/Discrete-Time\nScatter Plot\nScop"
"e"
	  SourceType		  "Discrete-Time Scatter Plot Scope"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  sampPerSymb		  "1"
	  offsetEye		  "0"
	  numTraces		  "30"
	  numNewFrames		  "5"
	  LineMarkers		  "."
	  LineColors		  "b"
	  fading		  on
	  render		  off
	  AxisGrid		  on
	  xMin			  "-0.364657245618191"
	  xMax			  "0.344086050451824"
	  yMin			  "-0.372605059946187"
	  yMax			  "0.336138236123828"
	  inphaseLabel		  "In-phase Amplitude"
	  quadratureLabel	  "Quadrature Amplitude"
	  openScopeAtSimStart	  off
	  FrameNumber		  off
	  FigPos		  "[348 317 328 328]"
	  figTitle		  "Derotated DPCH Signal"
	  numLinesMax		  "50"
	  block_type_		  "scatter"
	}
	Block {
	  BlockType		  Reference
	  Name			  "DPCH_Rx"
	  Tag			  "ScatterPlot"
	  Ports			  [1]
	  Position		  [115, 15, 160, 65]
	  SourceBlock		  "commsink2/Discrete-Time\nScatter Plot\nScop"
"e"
	  SourceType		  "Discrete-Time Scatter Plot Scope"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  sampPerSymb		  "1"
	  offsetEye		  "0"
	  numTraces		  "30"
	  numNewFrames		  "6"
	  LineMarkers		  "."
	  LineColors		  "[1 0 0]"
	  fading		  on
	  render		  off
	  AxisGrid		  on
	  xMin			  "-0.857650806774146"
	  xMax			  "0.765534044638798"
	  yMin			  "-0.74851489261803"
	  yMax			  "0.874669958794914"
	  inphaseLabel		  "In-phase Amplitude"
	  quadratureLabel	  "Quadrature Amplitude"
	  openScopeAtSimStart	  off
	  FrameNumber		  off
	  FigPos		  "[10 328 317 317]"
	  figTitle		  "Recieved DPCH Signal"
	  numLinesMax		  "50"
	  block_type_		  "scatter"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "DPCH_Rx"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "DPCH_Derot"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "DPCH_Comb"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      DigitalClock
      Name		      "Digital Clock"
      Position		      [795, 382, 855, 398]
      ShowName		      off
      SampleTime	      "0.001"
    }
    Block {
      BlockType		      Display
      Name		      "Display1"
      Ports		      [1]
      Position		      [880, 379, 965, 401]
      ShowName		      off
      FontSize		      9
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation"
      Ports		      [2, 1]
      Position		      [765, 493, 835, 537]
      ShowName		      off
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "totalBitsDelay(1)"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ber"
      RsMode2		      off
      stop		      off
      numErr		      "100"
      maxBits		      "1e6"
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation1"
      Ports		      [2, 1]
      Position		      [765, 559, 835, 601]
      ShowName		      off
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "totalBitsDelay(2)"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ber1"
      RsMode2		      off
      stop		      off
      numErr		      "100"
      maxBits		      "1e6"
    }
    Block {
      BlockType		      From
      Name		      "From1"
      Position		      [690, 443, 750, 457]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "synd1"
      TagVisibility	      "global"
    }
    Block {

⌨️ 快捷键说明

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