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

📄 blutooth_hopping.mdl

📁 simulink实现的蓝牙仿真
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 23, 55, 37]
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [25, 143, 55, 157]
	      Port		      "2"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      MATLABFcn
	      Name		      "5-bit Binary-to-dec "
	      Position		      [85, 15, 145, 45]
	      MATLABFcn		      "u(1)+(u(2)*2)+(u(3)*4)+(u(4)*8)+(u(5)*1"
"6)"
	      OutputDimensions	      "1"
	      OutputSignalType	      "auto"
	      Output1D		      off
	    }
	    Block {
	      BlockType		      MATLABFcn
	      Name		      "5-bit Binary-to-dec 1"
	      Position		      [85, 135, 145, 165]
	      MATLABFcn		      "u(1)+(u(2)*2)+(u(3)*4)+(u(4)*8)+(u(5)*1"
"6)"
	      OutputDimensions	      "1"
	      OutputSignalType	      "auto"
	      Output1D		      off
	    }
	    Block {
	      BlockType		      MATLABFcn
	      Name		      "5-bit dec-to-binary"
	      Position		      [375, 110, 435, 140]
	      MATLABFcn		      "dec2binvec(u,5)"
	      OutputDimensions	      "5"
	      OutputSignalType	      "auto"
	      Output1D		      on
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [215, 165, 245, 195]
	      Value		      "32"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction1"
	      Ports		      [2, 1]
	      Position		      [310, 109, 345, 136]
	      Operator		      "mod"
	      OutputSignalType	      "auto"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [195, 77, 215, 153]
	      ShowName		      off
	      IconShape		      "rectangular"
	      Inputs		      "|++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [485, 118, 515, 132]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "5-bit Binary-to-dec "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      DstBlock		      "5-bit Binary-to-dec 1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "5-bit Binary-to-dec "
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "5-bit Binary-to-dec 1"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      Points		      [20, 0; 0, -50]
	      DstBlock		      "Math\nFunction1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Math\nFunction1"
	      SrcPort		      1
	      DstBlock		      "5-bit dec-to-binary"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "5-bit dec-to-binary"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "ADD \nmod79"
	  Ports			  [4, 1]
	  Position		  [415, 69, 450, 151]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  System {
	    Name		    "ADD \nmod79"
	    Location		    [187, 70, 798, 580]
	    Open		    off
	    ModelBrowserVisibility  on
	    ModelBrowserWidth	    200
	    ScreenColor		    "automatic"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 23, 55, 37]
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [25, 93, 55, 107]
	      Port		      "2"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [30, 213, 60, 227]
	      Port		      "3"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In4"
	      Position		      [35, 158, 65, 172]
	      Port		      "4"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      MATLABFcn
	      Name		      "5-bit Binary-to-dec 1"
	      Position		      [85, 85, 145, 115]
	      MATLABFcn		      "u(1)+(u(2)*2)+(u(3)*4)+(u(4)*8)+(u(5)*1"
"6)"
	      OutputDimensions	      "1"
	      OutputSignalType	      "auto"
	      Output1D		      off
	    }
	    Block {
	      BlockType		      MATLABFcn
	      Name		      "5-bit Binary-to-dec 2"
	      Position		      [90, 145, 150, 175]
	      MATLABFcn		      "u(1)"
	      OutputDimensions	      "1"
	      OutputSignalType	      "auto"
	      Output1D		      off
	    }
	    Block {
	      BlockType		      MATLABFcn
	      Name		      "7-bit Binary-to-dec "
	      Position		      [85, 15, 145, 45]
	      MATLABFcn		      "u(1)+(u(2)*2)+(u(3)*4)+(u(4)*8)+(u(5)*1"
"6)+(u(6)*32)+(u(7)*64)"
	      OutputDimensions	      "1"
	      OutputSignalType	      "auto"
	      Output1D		      off
	    }
	    Block {
	      BlockType		      MATLABFcn
	      Name		      "7-bit Binary-to-dec 1"
	      Position		      [100, 205, 160, 235]
	      MATLABFcn		      "u(1)+(u(2)*2)+(u(3)*4)+(u(4)*8)+(u(5)*1"
"6)+(u(6)*32)+(u(7)*64)"
	      OutputDimensions	      "1"
	      OutputSignalType	      "auto"
	      Output1D		      off
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant3"
	      Position		      [235, 165, 265, 195]
	      Value		      "79"
	      VectorParams1D	      on
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction1"
	      Ports		      [2, 1]
	      Position		      [310, 89, 345, 116]
	      Operator		      "mod"
	      OutputSignalType	      "auto"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [4, 1]
	      Position		      [215, 63, 235, 137]
	      ShowName		      off
	      IconShape		      "rectangular"
	      Inputs		      "|++++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [485, 98, 515, 112]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "7-bit Binary-to-dec "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      DstBlock		      "5-bit Binary-to-dec 1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "7-bit Binary-to-dec "
	      SrcPort		      1
	      Points		      [50, 0]
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "5-bit Binary-to-dec 1"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [0, -5]
	      DstBlock		      "Math\nFunction1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant3"
	      SrcPort		      1
	      Points		      [0, -70]
	      DstBlock		      "Math\nFunction1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Math\nFunction1"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      DstBlock		      "7-bit Binary-to-dec 1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In4"
	      SrcPort		      1
	      Points		      [5, 0]
	      DstBlock		      "5-bit Binary-to-dec 2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "5-bit Binary-to-dec 2"
	      SrcPort		      1
	      Points		      [30, 0; 0, -45]
	      DstBlock		      "Sum"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "7-bit Binary-to-dec 1"
	      SrcPort		      1
	      Points		      [30, 0; 0, -90]
	      DstBlock		      "Sum"
	      DstPort		      4
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Permutation1"
	  Ports			  [2, 1]
	  Position		  [275, 70, 315, 130]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  Port {
	    PortNumber		    1
	    Name		    "5"
	    PropagatedSignals	    "op stage 1"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	  }
	  System {
	    Name		    "Permutation1"
	    Location		    [188, 114, 782, 510]
	    Open		    off
	    ModelBrowserVisibility  on
	    ModelBrowserWidth	    185
	    ScreenColor		    "automatic"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "77"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [385, 15, 415, 35]
	      Orientation	      "down"
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [140, 293, 170, 307]
	      Port		      "2"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Demux
	      Name		      "Demux1"
	      Ports		      [1, 14]
	      Position		      [111, 70, 689, 85]
	      Orientation	      "down"
	      BackgroundColor	      "black"
	      NamePlacement	      "alternate"
	      ShowName		      off
	      Outputs		      "14"
	      BusSelectionMode	      off
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "stage 1"
	      Ports		      [3, 1]
	      Position		      [200, 270, 240, 330]
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      System {
		Name			"stage 1"
		Location		[175, 221, 697, 550]
		Open			off
		ModelBrowserVisibility	on
		ModelBrowserWidth	200
		ScreenColor		"automatic"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		AutoZoom		on
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [45, 53, 75, 67]
		  Port			  "1"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [25, 148, 55, 162]
		  Port			  "2"
		  Interpolate		  on
		  Port {
		    PortNumber		    1
		    Name		    "5"
		    PropagatedSignals	    "5"
		    TestPoint		    off
		    LinearAnalysisOutput    off
		    LinearAnalysisInput	    off
		    RTWStorageClass	    "Auto"
		  }
		}
		Block {
		  BlockType		  Inport
		  Name			  "In3"
		  Position		  [110, 158, 140, 172]
		  Port			  "3"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux"
		  Ports			  [5, 1]
		  Position		  [365, 27, 370, 233]
		  ShowName		  off
		  Inputs		  "5"
		  DisplayOption		  "bar"
		  Port {
		    PortNumber		    1
		    Name		    "op stage 1"
		    PropagatedSignals	    "Z0, Z1, Z2, Z3, "
		    TestPoint		    off
		    LinearAnalysisOutput    off
		    LinearAnalysisInput	    off
		    RTWStorageClass	    "Auto"
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "P12"
		  Ports			  [2, 2]
		  Position		  [165, 150, 205, 210]
		  ShowPortLabels	  on
		  TreatAsAtomicUnit	  off
		  RTWSystemCode		  "Auto"
		  RTWFcnNameOpts	  "Auto"
		  RTWFileNameOpts	  "Auto"
		  Port {
		    PortNumber		    1
		    Name		    "Z0"
		    TestPoint		    off
		    LinearAnalysisOutput    off
		    LinearAnalysisInput	    off
		    RTWStorageClass	    "Auto"
		  }
		  Port {
		    PortNumber		    2
		    Name		    "Z3"
		    TestPoint		    off
		    LinearAnalysisOutput    off
		    LinearAnalysisInput	    off
		    RTWStorageClass	    "Auto"
		  }
		  System {
		    Name		    "P12"
		    Location		    [314, 328, 801, 453]
		    Open		    off
		    ModelBrowserVisibility  on
		    ModelBrowserWidth	    200
		    ScreenColor		    "automatic"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    AutoZoom		    on
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [155, 33, 185, 47]
		    Port		    "1"
		    Interpolate		    on
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [25, 78, 55, 92]
		    Port		    "2"
		    Interpolate		    on
		    }
		    Block {
		    BlockType		    SubSystem
		    Name		    "1 Permut12"
		    Ports		    [3, 2]
		    Position		    [210, 22, 255, 118]
		    ShowPortLabels	    on
		    TreatAsAtomicUnit	    off
		    RTWSystemCode	    "Auto"
		    RTWFcnNameOpts	    "Auto"

⌨️ 快捷键说明

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