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

📄 wifi.mdl

📁 matlab无线通信协议wifi仿真工具箱
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	  Port {
	    PortNumber		    2
	    Name		    "Rx PLCP Header"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	  Port {
	    PortNumber		    3
	    Name		    "Rx PSDU"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Display
	  Name			  "Display"
	  Ports			  [1]
	  Position		  [525, 66, 615, 134]
	  ShowName		  off
	  Decimation		  "1"
	}
	Block {
	  BlockType		  Display
	  Name			  "Display1"
	  Ports			  [1]
	  Position		  [520, 351, 610, 419]
	  ShowName		  off
	  Decimation		  "1"
	}
	Block {
	  BlockType		  Display
	  Name			  "Display2"
	  Ports			  [1]
	  Position		  [525, 211, 615, 279]
	  ShowName		  off
	  Decimation		  "1"
	}
	Block {
	  BlockType		  Display
	  Name			  "Display3"
	  Ports			  [1]
	  Position		  [710, 286, 795, 314]
	  ShowName		  off
	  Decimation		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Header Error Rate Calculation"
	  Ports			  [2, 1]
	  Position		  [315, 218, 390, 267]
	  SourceBlock		  "commsink2/Error Rate\nCalculation"
	  SourceType		  "Error Rate Calculation"
	  N			  "PLCP_header_receive_delay"
	  st_delay		  "PLCP_header_computation_delay"
	  cp_mode		  "Entire frame"
	  subframe		  "3:4808"
	  PMode			  "Port"
	  WsName		  "ErrorVec"
	  RsMode2		  off
	  stop			  off
	  numErr		  "100"
	  maxBits		  "1e6"
	  Port {
	    PortNumber		    1
	    Name		    "Header BER"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [3, 1]
	  Position		  [680, 211, 685, 249]
	  ShowName		  off
	  Inputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Reference
	  Name			  "PSDU Error Rate Calculation"
	  Ports			  [2, 1]
	  Position		  [310, 358, 385, 407]
	  SourceBlock		  "commsink2/Error Rate\nCalculation"
	  SourceType		  "Error Rate Calculation"
	  N			  "PSDU_receive_delay"
	  st_delay		  "PSDU_computation_delay"
	  cp_mode		  "Entire frame"
	  subframe		  "3:4808"
	  PMode			  "Port"
	  WsName		  "ErrorVec"
	  RsMode2		  off
	  stop			  on
	  numErr		  "100"
	  maxBits		  "1e6"
	  Port {
	    PortNumber		    1
	    Name		    "PSDU BER"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Preamble Error Rate Calculation"
	  Ports			  [2, 1]
	  Position		  [315, 73, 390, 122]
	  SourceBlock		  "commsink2/Error Rate\nCalculation"
	  SourceType		  "Error Rate Calculation"
	  N			  "PLCP_preamble_receive_delay"
	  st_delay		  "PLCP_preamble_computation_delay"
	  cp_mode		  "Entire frame"
	  subframe		  "3:4808"
	  PMode			  "Port"
	  WsName		  "ErrorVec"
	  RsMode2		  off
	  stop			  off
	  numErr		  "100"
	  maxBits		  "1e6"
	  Port {
	    PortNumber		    1
	    Name		    "Preamble BER"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [1, 1]
	  Position		  [465, 273, 495, 297]
	  ShowName		  off
	  Elements		  "[1]"
	  InputPortWidth	  "3"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [1, 1]
	  Position		  [465, 128, 495, 152]
	  ShowName		  off
	  Elements		  "[1]"
	  InputPortWidth	  "3"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector3"
	  Ports			  [1, 1]
	  Position		  [465, 418, 495, 442]
	  ShowName		  off
	  Elements		  "[1]"
	  InputPortWidth	  "3"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector4"
	  Ports			  [1, 1]
	  Position		  [465, 153, 495, 177]
	  ShowName		  off
	  Elements		  "3"
	  InputPortWidth	  "3"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector5"
	  Ports			  [1, 1]
	  Position		  [465, 303, 495, 327]
	  ShowName		  off
	  Elements		  "3"
	  InputPortWidth	  "3"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector6"
	  Ports			  [1, 1]
	  Position		  [465, 458, 495, 482]
	  ShowName		  off
	  Elements		  "3"
	  InputPortWidth	  "3"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [660, 290, 680, 310]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+++"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace"
	  Position		  [730, 215, 790, 245]
	  ShowName		  off
	  VariableName		  "BER"
	  MaxDataPoints		  "1"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Line {
	  Name			  "Preamble BER"
	  SrcBlock		  "Preamble Error Rate Calculation"
	  SrcPort		  1
	  Points		  [45, 0]
	  Branch {
	    Labels		    [-1, 1]
	    DstBlock		    "Display"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 40]
	    Branch {
	      DstBlock		      "Selector2"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 25]
	      DstBlock		      "Selector4"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  Name			  "PSDU BER"
	  SrcBlock		  "PSDU Error Rate Calculation"
	  SrcPort		  1
	  Points		  [50, 0]
	  Branch {
	    Labels		    [-1, 1]
	    DstBlock		    "Display1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 45]
	    Branch {
	      DstBlock		      "Selector3"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 40]
	      DstBlock		      "Selector6"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  Name			  "Rx PLCP Preamble"
	  Labels		  [-1, 1]
	  SrcBlock		  "Demux1"
	  SrcPort		  1
	  Points		  [65, 0; 0, -225]
	  DstBlock		  "Preamble Error Rate Calculation"
	  DstPort		  2
	}
	Line {
	  Name			  "Tx PLCP Preamble"
	  Labels		  [-1, 1]
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  DstBlock		  "Preamble Error Rate Calculation"
	  DstPort		  1
	}
	Line {
	  Name			  "Header BER"
	  SrcBlock		  "Header Error Rate Calculation"
	  SrcPort		  1
	  Points		  [50, 0]
	  Branch {
	    Labels		    [-1, 1]
	    DstBlock		    "Display2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 40]
	    Branch {
	      DstBlock		      "Selector1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 30]
	      DstBlock		      "Selector5"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  Name			  "Rx PSDU"
	  Labels		  [-1, 1]
	  SrcBlock		  "Demux1"
	  SrcPort		  3
	  DstBlock		  "PSDU Error Rate Calculation"
	  DstPort		  2
	}
	Line {
	  Name			  "Tx PSDU"
	  Labels		  [-1, 1]
	  SrcBlock		  "Demux"
	  SrcPort		  3
	  Points		  [35, 0; 0, 135; 50, 0; 0, 80]
	  DstBlock		  "PSDU Error Rate Calculation"
	  DstPort		  1
	}
	Line {
	  Name			  "Tx PLCP Header"
	  Labels		  [-1, 1]
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [50, 0; 0, 110]
	  DstBlock		  "Header Error Rate Calculation"
	  DstPort		  1
	}
	Line {
	  Name			  "Rx PLCP Header"
	  Labels		  [-1, 1]
	  SrcBlock		  "Demux1"
	  SrcPort		  2
	  Points		  [75, 0; 0, -110]
	  DstBlock		  "Header Error Rate Calculation"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Tx Bits"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Rx Bits"
	  SrcPort		  1
	  DstBlock		  "Demux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  Points		  [130, 0; 0, 80]
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "To Workspace"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [130, 0; 0, -55]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector3"
	  SrcPort		  1
	  Points		  [140, 0; 0, -190]
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Display3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector4"
	  SrcPort		  1
	  Points		  [145, 0; 0, 123]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector5"
	  SrcPort		  1
	  Points		  [149, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Selector6"
	  SrcPort		  1
	  Points		  [170, 0]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Annotation {
	  Name			  "Calculates BERs of each subframe"
	  Position		  [393, 518]
	  BackgroundColor	  "yellow"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Channel"
      Ports		      [1, 1]
      Position		      [410, 203, 495, 277]
      AttributesFormatString  "%<BlockChoice>"
      ShowPortLabels	      off
      BlockChoice	      "AWGN"
      TemplateBlock	      "WiFi_lib/Channel"
      MemberBlocks	      "AWGN,None"
      TreatAsAtomicUnit	      off
      System {
	Name			"Channel"
	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			  "AWGN"
	  Ports			  [1, 1]
	  Position		  [100, 40, 140, 80]
	  SourceBlock		  "WiFi_lib/AWGN"
	  SourceType		  ""
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out"
	  Position		  [200, 40, 220, 60]
	}
	Line {
	  SrcBlock		  "In"
	  SrcPort		  1
	  DstBlock		  "AWGN"

⌨️ 快捷键说明

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