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

📄 bluetooth_lib.mdl

📁 matlab bluetooth仿真程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    Block {
	      BlockType		      Reference
	      Name		      "DSP\nConstant"
	      Ports		      [0, 1]
	      Position		      [70, 299, 105, 331]
	      SourceBlock	      "dspsrcs3/DSP\nConstant"
	      SourceType	      "DSP Constant"
	      Value		      "2^28"
	      InterpretAs1D	      "off"
	      SampleMode	      "Discrete"
	      Ts		      "(1/1600)/2"
	      FramebasedOutput	      "off"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Int to bit\nLSB first"
	      Ports		      [1, 1]
	      Position		      [295, 177, 335, 213]
	      ShowName		      off
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      MaskPromptString	      "Number of bits"
	      MaskStyleString	      "edit"
	      MaskTunableValueString  "on"
	      MaskEnableString	      "on"
	      MaskVisibilityString    "on"
	      MaskToolTipString	      "on"
	      MaskVariables	      "Numbits=@1;"
	      MaskDisplay	      "disp('Int to bit\\n\nLSB first');"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "28"
	      System {
		Name			"Int to bit\nLSB first"
		Location		[466, 428, 831, 610]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"automatic"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 88, 55, 102]
		  Port			  "1"
		  LatchInput		  off
		  Interpolate		  on
		}
		Block {
		  BlockType		  Reference
		  Name			  "Flip"
		  Ports			  [1, 1]
		  Position		  [230, 81, 265, 109]
		  SourceBlock		  "dspindex/Flip"
		  SourceType		  "Flip"
		  dim			  "Columns"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Integer to Bit\nConverter3"
		  Ports			  [1, 1]
		  Position		  [110, 73, 175, 117]
		  ShowName		  off
		  SourceBlock		  "commutil2/Integer to Bit\nConverter"
		  SourceType		  "Integer to Bit Converter"
		  nbits			  "Numbits"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [320, 88, 350, 102]
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "[]"
		}
		Line {
		  SrcBlock		  "Integer to Bit\nConverter3"
		  SrcPort		  1
		  DstBlock		  "Flip"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Flip"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "Integer to Bit\nConverter3"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Int to bit\nLSB first1"
	      Ports		      [1, 1]
	      Position		      [230, 252, 270, 288]
	      ShowName		      off
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      MaskPromptString	      "Number of bits"
	      MaskStyleString	      "edit"
	      MaskTunableValueString  "on"
	      MaskEnableString	      "on"
	      MaskVisibilityString    "on"
	      MaskToolTipString	      "on"
	      MaskVariables	      "Numbits=@1;"
	      MaskDisplay	      "disp('Int to bit\\n\nLSB first');"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "28"
	      System {
		Name			"Int to bit\nLSB first1"
		Location		[466, 428, 831, 610]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"automatic"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [25, 88, 55, 102]
		  Port			  "1"
		  LatchInput		  off
		  Interpolate		  on
		}
		Block {
		  BlockType		  Reference
		  Name			  "Flip"
		  Ports			  [1, 1]
		  Position		  [230, 81, 265, 109]
		  SourceBlock		  "dspindex/Flip"
		  SourceType		  "Flip"
		  dim			  "Columns"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Integer to Bit\nConverter3"
		  Ports			  [1, 1]
		  Position		  [110, 73, 175, 117]
		  ShowName		  off
		  SourceBlock		  "commutil2/Integer to Bit\nConverter"
		  SourceType		  "Integer to Bit Converter"
		  nbits			  "Numbits"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [320, 88, 350, 102]
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "[]"
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "Integer to Bit\nConverter3"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Flip"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Integer to Bit\nConverter3"
		  SrcPort		  1
		  DstBlock		  "Flip"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "LAP+ 4LSB UAP"
	      Ports		      [1, 1]
	      Position		      [305, 262, 340, 278]
	      InputType		      "Vector"
	      ElementSrc	      "Internal"
	      Elements		      "[0:27] +1"
	      RowSrc		      "Internal"
	      Rows		      "1"
	      ColumnSrc		      "Internal"
	      Columns		      "1"
	      InputPortWidth	      "28"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Selection Box"
	      Ports		      [2, 1]
	      Position		      [395, 158, 515, 307]
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      System {
		Name			"Selection Box"
		Location		[37, 104, 1018, 683]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"automatic"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "CLK"
		  Position		  [35, 73, 65, 87]
		  Port			  "1"
		  LatchInput		  off
		  Interpolate		  on
		}
		Block {
		  BlockType		  Inport
		  Name			  "Address"
		  Position		  [30, 173, 60, 187]
		  Port			  "2"
		  LatchInput		  off
		  Interpolate		  on
		  Port {
		    PortNumber		    1
		    Name		    "A"
		    TestPoint		    off
		    LinearAnalysisOutput    off
		    LinearAnalysisInput	    off
		    RTWStorageClass	    "Auto"
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ADD\nmod 32"
		  Ports			  [2, 1]
		  Position		  [95, 415, 135, 475]
		  ShowPortLabels	  on
		  TreatAsAtomicUnit	  off
		  RTWSystemCode		  "Auto"
		  RTWFcnNameOpts	  "Auto"
		  RTWFileNameOpts	  "Auto"
		  System {
		    Name		    "ADD\nmod 32"
		    Location		    [40, 105, 424, 404]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "automatic"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "A"
		    Position		    [145, 25, 175, 40]
		    Orientation		    "down"
		    Port		    "1"
		    LatchInput		    off
		    Interpolate		    on
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "X"
		    Position		    [25, 153, 55, 167]
		    Port		    "2"
		    LatchInput		    off
		    Interpolate		    on
		    }
		    Block {
		    BlockType		    SubSystem
		    Name		    "Bit to Int\nLSB first1"
		    Ports		    [1, 1]
		    Position		    [142, 65, 178, 95]
		    Orientation		    "down"
		    ShowName		    off
		    ShowPortLabels	    on
		    TreatAsAtomicUnit	    off
		    RTWSystemCode	    "Auto"
		    RTWFcnNameOpts	    "Auto"
		    RTWFileNameOpts	    "Auto"
		    MaskPromptString	    "Number of bits"
		    MaskStyleString	    "edit"
		    MaskTunableValueString  "on"
		    MaskEnableString	    "on"
		    MaskVisibilityString    "on"
		    MaskToolTipString	    "on"
		    MaskVariables	    "Numbits=@1;"
		    MaskDisplay		    "disp('Bit to Int\\n\nLSB first');"
		    MaskIconFrame	    on
		    MaskIconOpaque	    on
		    MaskIconRotate	    "none"
		    MaskIconUnits	    "autoscale"
		    MaskValueString	    "5"
		    System {
		    Name		    "Bit to Int\nLSB first1"
		    Location		    [550, 406, 921, 563]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "automatic"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 33, 55, 47]
		    Port		    "1"
		    LatchInput		    off
		    Interpolate		    on
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "Bit to Integer\nConverter5"
		    Ports		    [1, 1]
		    Position		    [160, 21, 260, 59]
		    ShowName		    off
		    SourceBlock		    "commutil2/Bit to Integer\nConvert"
"er"
		    SourceType		    "Bit to Integer Converter"
		    nbits		    "Numbits"
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "Flip1"
		    Ports		    [1, 1]
		    Position		    [85, 26, 120, 54]
		    SourceBlock		    "dspindex/Flip"
		    SourceType		    "Flip"
		    dim			    "Columns"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [315, 33, 345, 47]
		    Port		    "1"
		    OutputWhenDisabled	    "held"
		    InitialOutput	    "[]"
		    }
		    Line {
		    SrcBlock		    "Flip1"
		    SrcPort		    1
		    DstBlock		    "Bit to Integer\nConverter5"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Bit to Integer\nConverter5"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Flip1"
		    DstPort		    1
		    }
		    }
		    }
		    Block {
		    BlockType		    SubSystem
		    Name		    "Bit to Int\nLSB first2"
		    Ports		    [1, 1]
		    Position		    [80, 145, 110, 175]
		    ShowName		    off
		    ShowPortLabels	    on
		    TreatAsAtomicUnit	    off
		    RTWSystemCode	    "Auto"
		    RTWFcnNameOpts	    "Auto"
		    RTWFileNameOpts	    "Auto"
		    MaskPromptString	    "Number of bits"
		    MaskStyleString	    "edit"
		    MaskTunableValueString  "on"
		    MaskEnableString	    "on"
		    MaskVisibilityString    "on"
		    MaskToolTipString	    "on"
		    MaskVariables	    "Numbits=@1;"
		    MaskDisplay		    "disp('Bit to Int\\n\nLSB first');"
		    MaskIconFrame	    on
		    MaskIconOpaque	    on
		    MaskIconRotate	    "none"
		    MaskIconUnits	    "autoscale"
		    MaskValueString	    "5"
		    System {
		    Name		    "Bit to Int\nLSB first2"
		    Location		    [550, 406, 921, 563]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "automatic"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [25, 33, 55, 47]
		    Port		    "1"
		    LatchInput		    off
		    Interpolate		    on
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "Bit to Integer\nConverter5"
		    Ports		    [1, 1]
		    Position		    [160, 21, 260, 59]
		    ShowName		    off
		    SourceBlock		    "commutil2/Bit to Integer\nConvert"
"er"
		    SourceType		    "Bit to Integer Converter"
		    nbits		    "Numbits"
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "Flip1"
		    Ports		    [1, 1]
		    Position		    [85, 26, 120, 54]
		    SourceBlock		    "dspindex/Flip"
		    SourceType		    "Flip"
		    dim			    "Columns"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [315, 33, 345, 47]
		    Port		    "1"
		    OutputWhenDisabled	    "held"
		    InitialOutput	    "[]"
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Flip1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Bit to Integer\nConverter5"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Flip1"
		    SrcPort		    1
		    DstBlock		    "Bit to Integer\nConverter5"
		    DstPort		    1

⌨️ 快捷键说明

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