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

📄 add_8tr1.mdl

📁 一个基于8发1收的多天线系统的准正交差分调制例程
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  on
	  Seed			  "123453"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel5"
	  Ports			  [1, 1]
	  Position		  [235, 328, 315, 372]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  Fd			  "160"
	  simTs			  "1.5e-6"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  on
	  Seed			  "123454"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel6"
	  Ports			  [1, 1]
	  Position		  [235, 398, 315, 442]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  Fd			  "160"
	  simTs			  "1.5e-6"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  on
	  Seed			  "1234545"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel7"
	  Ports			  [1, 1]
	  Position		  [235, 468, 315, 512]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  Fd			  "160"
	  simTs			  "1.5e-6"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  on
	  Seed			  "1234567"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel8"
	  Ports			  [1, 1]
	  Position		  [235, 538, 315, 582]
	  SourceBlock		  "commchan2/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  Fd			  "160"
	  simTs			  "1.5e-6"
	  delayVec		  "[0]"
	  gainVecdB		  "[0]"
	  normGain		  on
	  Seed			  "123458"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [8, 1]
	  Position		  [395, 32, 445, 598]
	  ShowName		  off
	  Inputs		  "++++++++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Variance"
	  Ports			  [1, 1]
	  Position		  [770, 382, 845, 418]
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag2"
	  SourceBlock		  "dspstat3/Variance"
	  SourceType		  "Variance"
	  run			  on
	  reset_popup		  "None"
	  additionalParams	  off
	  allowOverrides	  on
	  outputMode		  "Same as accumulator"
	  outputWordLength	  "32"
	  outputFracLength	  "30"
	  accumMode		  "Same as input"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  prodOutputMode	  "Same as input"
	  prodOutputWordLength	  "32"
	  prodOutputFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [910, 308, 940, 322]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  Points		  [70, 0; 0, 5]
	  DstBlock		  "Multipath Rayleigh\nFading Channel4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "Multipath Rayleigh\nFading Channel2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "Multipath Rayleigh\nFading Channel3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In5"
	  SrcPort		  1
	  DstBlock		  "Multipath Rayleigh\nFading Channel5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In6"
	  SrcPort		  1
	  DstBlock		  "Multipath Rayleigh\nFading Channel6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In8"
	  SrcPort		  1
	  DstBlock		  "Multipath Rayleigh\nFading Channel8"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In7"
	  SrcPort		  1
	  DstBlock		  "Multipath Rayleigh\nFading Channel7"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Variance"
	  SrcPort		  1
	  DstBlock		  "Display1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [60, 0]
	  Branch {
	    Points		    [80, 0]
	    Branch {
	      Points		      [0, 85]
	      DstBlock		      "Variance"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "AWGN\nChannel"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Points		    [0, -160]
	    DstBlock		    "Abs"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mean"
	  SrcPort		  1
	  Points		  [20, 0]
	  DstBlock		  "Display2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction"
	  SrcPort		  1
	  DstBlock		  "Mean"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel1"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Multipath Rayleigh\nFading Channel1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel2"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel3"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel4"
	  SrcPort		  1
	  Points		  [60, 0]
	  DstBlock		  "Sum"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel5"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel6"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel7"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  7
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel8"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  8
	}
	Line {
	  SrcBlock		  "AWGN\nChannel"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem"
      Ports		      [1, 1]
      Position		      [740, 34, 845, 276]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      System {
	Name			"Subsystem"
	Location		[2, 82, 997, 700]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [15, 133, 45, 147]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  "DSP\nConstant1"
	  Ports			  [0, 1]
	  Position		  [605, 559, 640, 591]
	  SourceBlock		  "dspsrcs4/DSP\nConstant"
	  SourceType		  "DSP Constant"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  Value			  "1"
	  SampleMode		  "Discrete"
	  discreteOutput	  "Sample-based"
	  continuousOutput	  "Sample-based"
	  sampTime		  "12e-6"
	  framePeriod		  "2"
	  additionalParams	  off
	  allowOverrides	  on
	  dataType		  "Inherit from 'Constant value'"
	  isSigned		  on
	  wordLen		  "16"
	  udDataType		  "sfix(16)"
	  fracBitsMode		  "Best precision"
	  numFracBits		  "15"
	  InterpretAs1D		  "-inf"
	  Ts			  "-inf"
	  FramebasedOutput	  "-inf"
	}
	Block {
	  BlockType		  Reference
	  Name			  "DSP\nConstant2"
	  Ports			  [0, 1]
	  Position		  [565, 589, 600, 621]
	  SourceBlock		  "dspsrcs4/DSP\nConstant"
	  SourceType		  "DSP Constant"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  Value			  "1"
	  SampleMode		  "Discrete"
	  discreteOutput	  "Sample-based"
	  continuousOutput	  "Sample-based"
	  sampTime		  "12e-6"
	  framePeriod		  "2"
	  additionalParams	  off
	  allowOverrides	  on
	  dataType		  "Inherit from 'Constant value'"
	  isSigned		  on
	  wordLen		  "16"
	  udDataType		  "sfix(16)"
	  fracBitsMode		  "Best precision"
	  numFracBits		  "15"
	  InterpretAs1D		  "-inf"
	  Ts			  "-inf"
	  FramebasedOutput	  "-inf"
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux1"
	  Ports			  [1, 8]
	  Position		  [160, 22, 170, 278]
	  BackgroundColor	  "black"
	  ShowName		  off
	  Outputs		  "8"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion1"
	  Ports			  [1, 1]
	  Position		  [825, 30, 860, 70]
	  ShowName		  off
	  SourceBlock		  "dspobslib/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  ShowPortLabels	  off
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion2"
	  Ports			  [1, 1]
	  Position		  [830, 310, 865, 350]
	  ShowName		  off
	  SourceBlock		  "dspobslib/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  ShowPortLabels	  off
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion3"
	  Ports			  [1, 1]
	  Position		  [80, 120, 120, 160]
	  ShowName		  off
	  SourceBlock		  "dspobslib/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  ShowPortLabels	  off
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  growRefPort		  off
	  outframe		  "Sample-based"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion4"
	  Ports			  [1, 1]
	  Position		  [1000, 190, 1035, 230]
	  ShowName		  off
	  SourceBlock		  "dspobslib/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  ShowPortLabels	  off
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  MATLABFcn
	  Name			  "MATLAB Fcn"
	  Position		  [635, 120, 695, 150]
	  MATLABFcn		  "demodulation(u)"
	  OutputDimensions	  "[2,1]"
	  OutputSignalType	  "complex"
	  Output1D		  off
	}
	Block {
	  BlockType		  MATLABFcn
	  Name			  "MATLAB Fcn1"
	  Position		  [640, 195, 700, 225]
	  MATLABFcn		  "demodulation2(u)"

⌨️ 快捷键说明

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