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

📄 wifi_lib.mdl

📁 matlab无线通信协议wifi仿真工具箱
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      BlockType		      Outport
	      Name		      "Out"
	      Position		      [200, 40, 220, 60]
	    }
	    Line {
	      SrcBlock		      "In"
	      SrcPort		      1
	      DstBlock		      "PLCP demod\nfor long preamble"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "PLCP demod\nfor long preamble"
	      SrcPort		      1
	      DstBlock		      "Out"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Pick Biggest"
	  Ports			  [1, 1]
	  Position		  [320, 360, 350, 400]
	  SourceBlock		  "dspstat3/Maximum"
	  SourceType		  "Maximum"
	  fcn			  "Index"
	  reset			  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Pick symbol"
	  Ports			  [2, 1]
	  Position		  [480, 271, 545, 304]
	  SourceBlock		  "dspindex/Variable\nSelector"
	  SourceType		  "Variable Selector"
	  rowsOrCols		  "Rows"
	  IdxMode		  "Variable"
	  Elements		  "[1 3]"
	  ZerOneIdxMode		  "One-based"
	  errmode		  "Clip Index"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Reshape1"
	  Ports			  [1, 1]
	  Position		  [305, 268, 330, 292]
	  ShowName		  off
	  SourceBlock		  "simulink/Math\nOperations/Reshape"
	  SourceType		  "Reshape"
	  OutputDimensionality	  "1-D array"
	  OutputDimensions	  "[Spreading_rate,PLCP_size_symbols]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Reshape2"
	  Ports			  [1, 1]
	  Position		  [180, 158, 205, 182]
	  ShowName		  off
	  SourceBlock		  "simulink/Math\nOperations/Reshape"
	  SourceType		  "Reshape"
	  OutputDimensionality	  "Customize"
	  OutputDimensions	  "[Spreading_rate,PLCP_size_symbols]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Reshape4"
	  Ports			  [1, 1]
	  Position		  [825, 323, 845, 347]
	  ShowName		  off
	  SourceBlock		  "simulink/Math\nOperations/Reshape"
	  SourceType		  "Reshape"
	  OutputDimensionality	  "Column vector"
	  OutputDimensions	  "[Spreading_rate,PLCP_size_symbols]"
	  Port {
	    PortNumber		    1
	    Name		    "PSDU"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Reshape5"
	  Ports			  [1, 1]
	  Position		  [710, 278, 735, 302]
	  ShowName		  off
	  SourceBlock		  "simulink/Math\nOperations/Reshape"
	  SourceType		  "Reshape"
	  OutputDimensionality	  "Customize"
	  OutputDimensions	  "[2,PSDU_size/8]"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [400, 325, 420, 345]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Transpose2"
	  Ports			  [1, 1]
	  Position		  [200, 361, 220, 399]
	  ShowName		  off
	  SourceBlock		  "dspmtrx3/Transpose"
	  SourceType		  "Transpose"
	  Hermitian		  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Walsh"
	  Ports			  [1, 1]
	  Position		  [125, 348, 185, 412]
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Walsh"
	    Location		    [213, 429, 899, 618]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In"
	      Position		      [25, 38, 55, 52]
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "All 64, 11Mbps,\n 8 chip complex codes"
	      Position		      [55, 91, 125, 119]
	      Value		      "cck_codes_11"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status\nConversion1"
	      Ports		      [1, 1]
	      Position		      [190, 88, 205, 122]
	      ShowName		      off
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      growRefPort	      "off"
	      outframe		      "Frame-based"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status\nConversion2"
	      Ports		      [1, 1]
	      Position		      [230, 29, 280, 61]
	      ShowName		      off
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      growRefPort	      "off"
	      outframe		      "Frame-based"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [505, 40, 530, 70]
	      ShowName		      off
	      Gain		      "1/8"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction2"
	      Ports		      [1, 1]
	      Position		      [240, 90, 270, 120]
	      ShowName		      off
	      Operator		      "conj"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Matrix Multiply"
	      Ports		      [2, 1]
	      Position		      [370, 36, 425, 74]
	      SourceBlock	      "dspmtrx3/Matrix Multiply"
	      SourceType	      "Matrix Multiply"
	      numInputPorts	      "2"
	      OptimizationLevel	      "None"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Reshape1"
	      Ports		      [1, 1]
	      Position		      [90, 33, 115, 57]
	      ShowName		      off
	      SourceBlock	      "simulink3/Signals\n& Systems/Reshape"
	      SourceType	      "Reshape"
	      OutputDimensionality    "Customize"
	      OutputDimensions	      "[8,PSDU_size/8 ]"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Transpose1"
	      Ports		      [1, 1]
	      Position		      [165, 26, 185, 64]
	      ShowName		      off
	      SourceBlock	      "dspmtrx3/Transpose"
	      SourceType	      "Transpose"
	      Hermitian		      "off"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out"
	      Position		      [595, 48, 625, 62]
	    }
	    Line {
	      SrcBlock		      "All 64, 11Mbps,\n 8 chip complex codes"
	      SrcPort		      1
	      DstBlock		      "Frame Status\nConversion1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Reshape1"
	      SrcPort		      1
	      DstBlock		      "Transpose1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Transpose1"
	      SrcPort		      1
	      DstBlock		      "Frame Status\nConversion2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Frame Status\nConversion2"
	      SrcPort		      1
	      DstBlock		      "Matrix Multiply"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Frame Status\nConversion1"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Math\nFunction2"
	      SrcPort		      1
	      Points		      [80, 0]
	      DstBlock		      "Matrix Multiply"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In"
	      SrcPort		      1
	      DstBlock		      "Reshape1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Matrix Multiply"
	      SrcPort		      1
	      DstBlock		      "Gain1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      DstBlock		      "Out"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "PPDU"
	  Position		  [935, 248, 965, 262]
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "PLCP demod"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Despread with\nBarker code"
	  SrcPort		  1
	  DstBlock		  "Column vector"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Column vector"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  DstBlock		  "Reshape2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  DstBlock		  "Walsh"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Chips"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  Name			  "PLCP"
	  Labels		  [1, 1]
	  SrcBlock		  "PLCP demod"
	  SrcPort		  1
	  DstBlock		  "Matrix\nConcatenation3"
	  DstPort		  1
	}
	Line {
	  Name			  "PSDU"
	  Labels		  [-1, 1]
	  SrcBlock		  "Reshape4"
	  SrcPort		  1
	  DstBlock		  "Matrix\nConcatenation3"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Matrix\nConcatenation3"
	  SrcPort		  1
	  DstBlock		  "PPDU"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Walsh"
	  SrcPort		  1
	  DstBlock		  "Transpose2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transpose2"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Abs1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -100]
	    DstBlock		    "Reshape1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Abs1"
	  SrcPort		  1
	  DstBlock		  "Pick Biggest"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Pick Biggest"
	  SrcPort		  1
	  Points		  [55, 0]
	  Branch {
	    DstBlock		    "Convert from\n1:64 to 0:63"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Sum1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Convert from\n1:64 to 0:63"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Convert from\n1:64 to 0:63"
	  SrcPort		  1
	  DstBlock		  "Integer to binary"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integer to binary"
	  SrcPort		  1
	  DstBlock		  "Frame Status\nConversion1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Pick symbol"
	  SrcPort		  1
	  DstBlock		  "DQPSK\nDemodulator\nBaseband"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reshape5"
	  SrcPort		  1
	  DstBlock		  "Matrix\nConcatenation1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reshape1"
	  SrcPort		  1
	  DstBlock		  "Frame Status\nConversion3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  Points		  [20, 0; 0, -40]
	  DstBlock		  "Pick symbol"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant3"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Frame Status\nConversion1"
	  SrcPort		  1
	  DstBlock		  "Matrix\nConcatenation1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Frame Status\nConversion3"
	  SrcPort		  1
	  DstBlock		  "Pick symbol"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Matrix\nConcatenation1"
	  SrcPort		  1
	  DstBlock		  "Reshape4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "DQPSK\nDemodulator\nBaseband"
	  SrcPort		  1
	  DstBlock		  "Reshape5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reshape2"
	  SrcPort		  1
	  DstBlock		  "Despread with\nBarker code"
	  DstPort		  1
	}
	Annotation {
	  Name			  "CCK"
	  Position		  [484, 463]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "11Mbps mod"
      Ports		      [1, 1]
      Position		      [25, 436, 120, 504]
      TreatAsAtomicUnit	      off
      MaskPromptString	      "Short Preamble"
      MaskStyleString	      "checkbox"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "Short_preamble=@1;"
      MaskInitialization      "if Short_preamble\n set_param([gcb '/PLCP mod']"
",'BlockChoice','PLCP mod for short preamble')\nelse\n  set_param([gcb '/PLCP "
"mod'],'BlockChoice','PLCP mod for long preamble')\nend\n"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "off"
      System {
	Name			"11Mbps mod"
	Location		[29, 155, 1004, 660]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "PPDU"
	  Position		  [15, 218, 45, 232]
	}
	Block {

⌨️ 快捷键说明

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