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

📄 bluetooth_lib.mdl

📁 matlab bluetooth仿真程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		    }
		    }
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "DSP\nConstant1"
		    Ports		    [0, 1]
		    Position		    [90, 221, 125, 239]
		    ShowName		    off
		    SourceBlock		    "dspsrcs3/DSP\nConstant"
		    SourceType		    "DSP Constant"
		    Value		    "32"
		    InterpretAs1D	    "off"
		    SampleMode		    "Discrete"
		    Ts			    "(1/1600)/2"
		    FramebasedOutput	    "off"
		    }
		    Block {
		    BlockType		    SubSystem
		    Name		    "Int to bit\nLSB first"
		    Ports		    [1, 1]
		    Position		    [245, 152, 280, 188]
		    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	    "5"
		    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\nFunction1"
		    Ports		    [2, 1]
		    Position		    [185, 152, 215, 183]
		    ShowName		    off
		    Operator		    "mod"
		    OutputSignalType	    "auto"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum"
		    Ports		    [2, 1]
		    Position		    [150, 150, 170, 170]
		    ShowName		    off
		    IconShape		    "round"
		    Inputs		    "++|"
		    SaturateOnIntegerOverflow on
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [315, 163, 345, 177]
		    Port		    "1"
		    OutputWhenDisabled	    "held"
		    InitialOutput	    "[]"
		    }
		    Line {
		    SrcBlock		    "Bit to Int\nLSB first2"
		    SrcPort		    1
		    DstBlock		    "Sum"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Bit to Int\nLSB first1"
		    SrcPort		    1
		    DstBlock		    "Sum"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Math\nFunction1"
		    SrcPort		    1
		    DstBlock		    "Int to bit\nLSB first"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum"
		    SrcPort		    1
		    DstBlock		    "Math\nFunction1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "DSP\nConstant1"
		    SrcPort		    1
		    Points		    [40, 0]
		    DstBlock		    "Math\nFunction1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "A"
		    SrcPort		    1
		    DstBlock		    "Bit to Int\nLSB first1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "X"
		    SrcPort		    1
		    DstBlock		    "Bit to Int\nLSB first2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Int to bit\nLSB first"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "ADD\nmod 79"
		  Ports			  [4, 1]
		  Position		  [620, 412, 690, 483]
		  ShowPortLabels	  on
		  TreatAsAtomicUnit	  off
		  RTWSystemCode		  "Auto"
		  RTWFcnNameOpts	  "Auto"
		  RTWFileNameOpts	  "Auto"
		  Port {
		    PortNumber		    1
		    Name		    "Channel pointer"
		    TestPoint		    off
		    LinearAnalysisOutput    off
		    LinearAnalysisInput	    off
		    RTWStorageClass	    "Auto"
		  }
		  System {
		    Name		    "ADD\nmod 79"
		    Location		    [346, 176, 926, 502]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "automatic"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "E"
		    Position		    [200, 30, 230, 45]
		    Orientation		    "down"
		    Port		    "1"
		    LatchInput		    off
		    Interpolate		    on
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "F"
		    Position		    [245, 30, 275, 45]
		    Orientation		    "down"
		    Port		    "2"
		    LatchInput		    off
		    Interpolate		    on
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In"
		    Position		    [60, 178, 90, 192]
		    Port		    "3"
		    LatchInput		    off
		    Interpolate		    on
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "Y2"
		    Position		    [60, 253, 90, 267]
		    Port		    "4"
		    LatchInput		    off
		    Interpolate		    on
		    }
		    Block {
		    BlockType		    SubSystem
		    Name		    "Bit to Int\nLSB first3"
		    Ports		    [1, 1]
		    Position		    [160, 170, 190, 200]
		    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 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		    SubSystem
		    Name		    "Bit to Int\nLSB first4"
		    Ports		    [1, 1]
		    Position		    [197, 95, 233, 125]
		    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	    "7"
		    System {
		    Name		    "Bit to Int\nLSB first4"
		    Location		    [545, 170, 916, 327]
		    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
		    }
		    }
		    }
		    Block {
		    BlockType		    SubSystem
		    Name		    "Bit to Int\nLSB first5"
		    Ports		    [1, 1]
		    Position		    [242, 95, 278, 125]
		    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	    "7"
		    System {
		    Name		    "Bit to Int\nLSB first5"
		    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"

⌨️ 快捷键说明

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