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

📄 encode_de.mdl

📁 OFDM仿真程序 是关于同步方面的 OFDM系统中的同步技术研究
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	      RTWMemSecFuncInitTerm   "Inherit from model"
	      RTWMemSecFuncExecute    "Inherit from model"
	      RTWMemSecDataConstants  "Inherit from model"
	      RTWMemSecDataInternal   "Inherit from model"
	      RTWMemSecDataParameters "Inherit from model"
	      M			      "2"
	      polarity		      "Negative"
	      dataType		      "Same as input"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [440, 48, 470, 62]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "PN Sequence\nGenerator"
	      SrcPort		      1
	      DstBlock		      "Unipolar to\nBipolar\nConverter"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unipolar to\nBipolar\nConverter"
	      SrcPort		      1
	      Points		      [35, 0]
	      Branch {
		Points			[0, -10]
		DstBlock		"Matrix\nConcatenation"
		DstPort			1
	      }
	      Branch {
		Points			[0, 10]
		DstBlock		"Matrix\nConcatenation"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Matrix\nConcatenation"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Zero Pad"
	  Ports			  [1, 1]
	  Position		  [280, 32, 325, 68]
	  DialogControllerArgs	  "DataTag2"
	  SourceBlock		  "dspsigops/Zero Pad"
	  SourceType		  "Zero Pad"
	  padSigAt		  "End"
	  zpadAlong		  "Columns"
	  padNumOutRowsSpecMethod "User-specified"
	  numOutRows		  "64"
	  padNumOutColsSpecMethod "User-specified"
	  numOutCols		  "1"
	  truncOrWrapMode	  "Truncate"
	  trunc_flag		  "None"
	  wrap_flag		  "None"
	  isVarDimsMode		  off
	  outputMode		  "Same as input"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  accumMode		  "Same as input"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Selector
	  Name			  "add cp\n"
	  Ports			  [1, 1]
	  Position		  [525, 26, 565, 64]
	  InputType		  "Matrix"
	  ElementSrc		  "Internal"
	  Elements		  "[1 3]"
	  RowSrc		  "Internal"
	  Rows			  "[49:64,1:64]"
	  ColumnSrc		  "Internal"
	  Columns		  "-1"
	  InputPortWidth	  "3"
	  IndexIsStartValue	  off
	}
	Block {
	  BlockType		  Selector
	  Name			  "add cp\n1"
	  Ports			  [1, 1]
	  Position		  [360, 31, 400, 69]
	  InputType		  "Matrix"
	  ElementSrc		  "Internal"
	  Elements		  "[1 3]"
	  RowSrc		  "Internal"
	  Rows			  "[17:64,1:16]"
	  ColumnSrc		  "Internal"
	  Columns		  "-1"
	  InputPortWidth	  "3"
	  IndexIsStartValue	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [605, 38, 635, 52]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "QPSK\nModulator\nBaseband"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "add cp\n"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "IFFT"
	  SrcPort		  1
	  DstBlock		  "add cp\n"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Matrix\nConcatenation"
	  SrcPort		  1
	  DstBlock		  "Zero Pad"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero Pad"
	  SrcPort		  1
	  DstBlock		  "add cp\n1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "add cp\n1"
	  SrcPort		  1
	  Points		  [15, 0; 0, -5]
	  DstBlock		  "IFFT"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "QPSK\nModulator\nBaseband"
	  SrcPort		  1
	  DstBlock		  "Matrix\nConcatenation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Subsystem"
	  SrcPort		  1
	  Points		  [0, -95; 20, 0]
	  DstBlock		  "Matrix\nConcatenation"
	  DstPort		  2
	}
	Annotation {
	  Position		  [598, 167]
	  UseDisplayTextAsClickCallback	off
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem2"
      Ports		      [1, 1]
      Position		      [720, 75, 760, 135]
      NamePlacement	      "alternate"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      System {
	Name			"Subsystem2"
	Location		[221, 360, 1037, 801]
	Open			on
	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		  [25, 43, 55, 57]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  "FFT"
	  Ports			  [1, 1]
	  Position		  [195, 33, 235, 67]
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag3"
	  SourceBlock		  "dspxfrm3/FFT"
	  SourceType		  "FFT"
	  CompMethod		  "Table lookup"
	  TableOpt		  "Speed"
	  BitRevOrder		  off
	  additionalParams	  off
	  SkipNorm		  on
	  allowOverrides	  on
	  firstCoeffMode	  "Same word length as input"
	  firstCoeffWordLength	  "16"
	  firstCoeffFracLength	  "15"
	  outputMode		  "Inherit via internal rule"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  accumMode		  "Inherit via internal rule"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  prodOutputMode	  "Inherit via internal rule"
	  prodOutputWordLength	  "32"
	  prodOutputFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion"
	  Ports			  [1, 1]
	  Position		  [280, 32, 330, 68]
	  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			  "Multiport\nSelector"
	  Ports			  [1, 1]
	  Position		  [480, 27, 530, 63]
	  SourceBlock		  "dspindex/Multiport\nSelector"
	  SourceType		  "Multiport Selector"
	  rowsOrCols		  "Columns"
	  idxCellArray		  "{ 1}"
	  idxErrMode		  "Clip Index"
	}
	Block {
	  BlockType		  Reference
	  Name			  "QPSK\nDemodulator\nBaseband"
	  Ports			  [1, 1]
	  Position		  [570, 28, 615, 62]
	  LinkData {
	    BlockName		    "M-PSK\nDemodulator\nBaseband"
	    DialogParameters {
	      OutType		      "Bit"
	      Dec		      "Binary"
	    }
	  }
	  SourceBlock		  "commdigbbndpm2/QPSK\nDemodulator\nBaseband"
	  SourceType		  "QPSK Demodulator Baseband"
	  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"
	  OutType		  "Bit"
	  Dec			  "Binary"
	  Ph			  "pi/4"
	  numSamp		  "1"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector"
	  Ports			  [1, 1]
	  Position		  [105, 31, 155, 69]
	  InputType		  "Matrix"
	  ElementSrc		  "Internal"
	  Elements		  "[1 3]"
	  RowSrc		  "Internal"
	  Rows			  "[17:80]"
	  ColumnSrc		  "Internal"
	  Columns		  "-1"
	  InputPortWidth	  "3"
	  IndexIsStartValue	  off
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [1, 1]
	  Position		  [370, 31, 420, 69]
	  InputType		  "Matrix"
	  ElementSrc		  "Internal"
	  Elements		  "[1 3]"
	  RowSrc		  "Internal"
	  Rows			  "[49:64,1:14]"
	  ColumnSrc		  "Internal"
	  Columns		  "-1"
	  InputPortWidth	  "3"
	  IndexIsStartValue	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [675, 38, 705, 52]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "QPSK\nDemodulator\nBaseband"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Selector"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector"
	  SrcPort		  1
	  DstBlock		  "FFT"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multiport\nSelector"
	  SrcPort		  1
	  DstBlock		  "QPSK\nDemodulator\nBaseband"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "FFT"
	  SrcPort		  1
	  DstBlock		  "Frame Status\nConversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Frame Status\nConversion"
	  SrcPort		  1
	  DstBlock		  "Selector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [0, -5]
	  DstBlock		  "Multiport\nSelector"
	  DstPort		  1
	}
	Annotation {
	  Position		  [508, 97]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Position		  [164, 63]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Position		  [150, 112]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Position		  [146, 126]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Position		  [407, 154]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Position		  [147, 54]
	  UseDisplayTextAsClickCallback	off
	}
	Annotation {
	  Position		  [171, 146]
	  UseDisplayTextAsClickCallback	off
	}
      }
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace1"
      Position		      [1095, 157, 1200, 193]
      NamePlacement	      "alternate"
      VariableName	      "dsp_examples_yout1"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Line {
      SrcBlock		      "Bernoulli Binary\nGenerator"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	Points			[0, -15]
	DstBlock		"Error Rate\nCalculation"
	DstPort			1
      }
      Branch {
	Points			[10, 0; 0, 30]
	DstBlock		"Subsystem1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Error Rate\nCalculation"
      SrcPort		      1
      DstBlock		      "Display"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Subsystem2"
      SrcPort		      1
      Points		      [0, -15; 215, 0]
      Branch {
	DstBlock		"Error Rate\nCalculation"
	DstPort			2
      }
      Branch {
	Points			[-60, 0; 0, 85]
	DstBlock		"To Workspace1"
	DstPort			1
      }
    }
    Line {
      Labels		      [1, 0]
      SrcBlock		      "Reshape1"
      SrcPort		      1
      Points		      [100, 0]
      DstBlock		      "Subsystem2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Subsystem1"
      SrcPort		      1
      DstBlock		      "Reshape"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Reshape"
      SrcPort		      1
      Points		      [60, 0]
      DstBlock		      "AWGN\nChannel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      Points		      [65, 0]
      DstBlock		      "Reshape1"
      DstPort		      1
    }
    Annotation {
      Position		      [493, 260]
      UseDisplayTextAsClickCallback off
    }
    Annotation {
      Position		      [912, 341]
      UseDisplayTextAsClickCallback off
    }
  }
}
MatData {
  NumRecords		  4
  DataRecord {
    Tag			    DataTag3
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"#     0         0  , 1D94  "
  }
  DataRecord {
    Tag			    DataTag2
    Data		    "  %)30     .    ,     8    (    !@         %    "
"\"                0         )          "
  }
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"$     0         0  0 249&5 "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    >     8    (     0         %    "
"\"     $    !     0         .    2     8    (    !          %    \"     $    "
"2     0         0    $@   $)E<FYO=6QL:4)I;F%R>4=E;@        "
  }
}

⌨️ 快捷键说明

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