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

📄 bluetooth_lib.mdl

📁 matlab bluetooth仿真程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		    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		    Reference
		    Name		    "DSP\nConstant"
		    Ports		    [0, 1]
		    Position		    [280, 206, 315, 224]
		    ShowName		    off
		    SourceBlock		    "dspsrcs3/DSP\nConstant"
		    SourceType		    "DSP Constant"
		    Value		    "79"
		    InterpretAs1D	    "off"
		    SampleMode		    "Discrete"
		    Ts			    "(1/1600)/2"
		    FramebasedOutput	    "off"
		    }
		    Block {
		    BlockType		    SubSystem
		    Name		    "Int to bit\nLSB first"
		    Ports		    [1, 1]
		    Position		    [410, 177, 445, 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	    "7"
		    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\nConvert"
"er"
		    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		    Math
		    Name		    "Math\nFunction"
		    Ports		    [2, 1]
		    Position		    [345, 177, 375, 208]
		    ShowName		    off
		    Operator		    "mod"
		    OutputSignalType	    "auto"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [4, 1]
		    Position		    [245, 170, 275, 200]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "+++|+"
		    SaturateOnIntegerOverflow on
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out"
		    Position		    [480, 188, 510, 202]
		    Port		    "1"
		    OutputWhenDisabled	    "held"
		    InitialOutput	    "[]"
		    }
		    Line {
		    SrcBlock		    "Bit to Int\nLSB first5"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Bit to Int\nLSB first4"
		    SrcPort		    1
		    Points		    [0, 34]
		    DstBlock		    "Sum1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Sum1"
		    SrcPort		    1
		    DstBlock		    "Math\nFunction"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "DSP\nConstant"
		    SrcPort		    1
		    Points		    [10, 0]
		    DstBlock		    "Math\nFunction"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Bit to Int\nLSB first3"
		    SrcPort		    1
		    DstBlock		    "Sum1"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "E"
		    SrcPort		    1
		    DstBlock		    "Bit to Int\nLSB first4"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "F"
		    SrcPort		    1
		    DstBlock		    "Bit to Int\nLSB first5"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In"
		    SrcPort		    1
		    DstBlock		    "Bit to Int\nLSB first3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Math\nFunction"
		    SrcPort		    1
		    DstBlock		    "Int to bit\nLSB first"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Y2"
		    SrcPort		    1
		    Points		    [165, 0]
		    DstBlock		    "Sum1"
		    DstPort		    4
		    }
		    Line {
		    SrcBlock		    "Int to bit\nLSB first"
		    SrcPort		    1
		    DstBlock		    "Out"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Bit to Int\nLSB first3"
		  Ports			  [1, 1]
		  Position		  [775, 435, 805, 465]
		  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	  "7"
		  System {
		    Name		    "Bit to Int\nLSB first3"
		    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		  From
		  Name			  "From"
		  Position		  [15, 451, 45, 469]
		  ShowName		  off
		  CloseFcn		  "tagdialog Close"
		  GotoTag		  "X"
		}
		Block {
		  BlockType		  From
		  Name			  "From1"
		  Position		  [71, 290, 89, 320]
		  Orientation		  "down"
		  NamePlacement		  "alternate"
		  ShowName		  off
		  CloseFcn		  "tagdialog Close"
		  GotoTag		  "A"
		}
		Block {
		  BlockType		  From
		  Name			  "From2"
		  Position		  [196, 290, 214, 320]
		  Orientation		  "down"
		  NamePlacement		  "alternate"
		  ShowName		  off
		  CloseFcn		  "tagdialog Close"
		  GotoTag		  "B"
		}
		Block {
		  BlockType		  From
		  Name			  "From3"
		  Position		  [356, 290, 374, 320]
		  Orientation		  "down"
		  NamePlacement		  "alternate"
		  ShowName		  off
		  CloseFcn		  "tagdialog Close"
		  GotoTag		  "C"
		}
		Block {
		  BlockType		  From
		  Name			  "From4"
		  Position		  [386, 290, 404, 320]
		  Orientation		  "down"
		  NamePlacement		  "alternate"
		  ShowName		  off
		  CloseFcn		  "tagdialog Close"
		  GotoTag		  "D"
		}
		Block {
		  BlockType		  From
		  Name			  "From5"
		  Position		  [290, 321, 320, 339]
		  NamePlacement		  "alternate"
		  ShowName		  off
		  CloseFcn		  "tagdialog Close"
		  GotoTag		  "Y1"
		}
		Block {
		  BlockType		  From
		  Name			  "From6"
		  Position		  [566, 290, 584, 320]
		  Orientation		  "down"
		  NamePlacement		  "alternate"
		  ShowName		  off
		  CloseFcn		  "tagdialog Close"
		  GotoTag		  "E"
		}
		Block {
		  BlockType		  From
		  Name			  "From7"
		  Position		  [536, 290, 554, 320]
		  Orientation		  "down"
		  NamePlacement		  "alternate"
		  ShowName		  off
		  CloseFcn		  "tagdialog Close"
		  GotoTag		  "F"
		}
		Block {
		  BlockType		  From
		  Name			  "From8"
		  Position		  [576, 520, 594, 550]
		  Orientation		  "up"
		  ShowName		  off
		  CloseFcn		  "tagdialog Close"
		  GotoTag		  "Y2"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto"
		  Position		  [310, 40, 345, 60]
		  ShowName		  off
		  GotoTag		  "X"
		  TagVisibility		  "local"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto1"
		  Position		  [310, 60, 345, 80]
		  ShowName		  off
		  GotoTag		  "Y1"
		  TagVisibility		  "local"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto10"
		  Position		  [310, 200, 345, 220]
		  ShowName		  off
		  GotoTag		  "F"
		  TagVisibility		  "local"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto2"
		  Position		  [310, 80, 345, 100]
		  ShowName		  off
		  GotoTag		  "Y2"
		  TagVisibility		  "local"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto3"
		  Position		  [310, 100, 345, 120]
		  ShowName		  off
		  GotoTag		  "A"
		  TagVi

⌨️ 快捷键说明

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