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

📄 bluetooth_voice.mdl

📁 Bluetooth Voice with Simulink and MatLab
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	Name			"Double-click\nto play\nInput Signal"
	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		      SubSystem
      Name		      "Double-click\nto play\nOutput Signal"
      Ports		      []
      Position		      [112, 411, 168, 462]
      OpenFcn		      "[Output_Wave,Output_Fs]=wavread('Output.wav');s"
"ound(Output_Wave,Output_Fs);"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "Plot histogram"
      MaskInitialization      "[x,y,x1,y1,x2,y2] = dspblkwao2('icon');"
      MaskDisplay	      "patch(x1,y1,[1 1 1]*.5);\npatch(x2,y2);\nplot(x"
",y); plot(x1,y1)"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Double-click\nto play\nOutput Signal"
	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		      SubSystem
      Name		      "File Dependancies"
      Ports		      []
      Position		      [810, 40, 906, 90]
      ShowName		      off
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('File\\nDependancies')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"File Dependancies"
	Location		[193, 210, 818, 457]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Annotation {
	  Name			  "* bluetooth_init.m: Workspace initializatio"
"n routine called by PreLoadFcn\n* device_init.m: Transmitter and receiver mas"
"k initialization function\n* bluetooth_lib.mld: Simuink library containing 80"
"2.11b transmitter, BT hop generator and BT clock\n* poiss_gaus_pr3.m: Variabl"
"e time-step M Code S-function to generate 802.11b possion packets\n* scondemo"
"hecgen.c: S-Function builder source for HEC\n* scondemohecgen.dll: S-Function"
" builder DLL\n* scondemohecgen_wrapper.c: S-Function support file\n* Input.wa"
"v: Input wave file\n* Output.wav: Output wave file"
	  Position		  [51, 133]
	  HorizontalAlignment	  "left"
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Name			  "File dependancies: These files need to on M"
"ATLAB path"
	  Position		  [249, 48]
	  FontName		  "Arial"
	  FontSize		  14
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      From
      Name		      "From1"
      Position		      [570, 228, 650, 242]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Tx_Raw_Bits"
    }
    Block {
      BlockType		      From
      Name		      "From10"
      Position		      [415, 428, 525, 442]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Tx_802_Signal"
    }
    Block {
      BlockType		      From
      Name		      "From12"
      Position		      [415, 468, 545, 482]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Packet_Envelope_802"
    }
    Block {
      BlockType		      From
      Name		      "From2"
      Position		      [570, 259, 645, 271]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Tx_Info_Bits"
    }
    Block {
      BlockType		      From
      Name		      "From3"
      Position		      [415, 408, 535, 422]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Tx_BT_Signal"
    }
    Block {
      BlockType		      From
      Name		      "From7"
      Position		      [415, 448, 530, 462]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Rx_BT_Signal"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto2"
      Position		      [190, 257, 260, 273]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      GotoTag		      "Tx_Info_Bits"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto4"
      Position		      [690, 148, 795, 162]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      GotoTag		      "Rx_BT_Signal"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto5"
      Position		      [265, 148, 370, 162]
      NamePlacement	      "alternate"
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      GotoTag		      "Tx_BT_Signal"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto7"
      Position		      [355, 371, 450, 389]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      GotoTag		      "Tx_802_Signal"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto8"
      Position		      [190, 227, 260, 243]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      GotoTag		      "Tx_Raw_Bits"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Instrumentation\n(Remove to speed up \nsimulati"
"on)"
      Ports		      [4]
      Position		      [595, 406, 700, 484]
      TreatAsAtomicUnit	      on
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "Instrumentation"
      MaskInitialization      "\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Instrumentation\n(Remove to speed up \nsimula"
"tion)"
	Location		[305, 181, 818, 661]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Tx"
	  Position		  [60, 133, 90, 147]
	  NamePlacement		  "alternate"
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tx_802"
	  Position		  [60, 188, 90, 202]
	  NamePlacement		  "alternate"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Rx"
	  Position		  [60, 243, 90, 257]
	  NamePlacement		  "alternate"
	  Port			  "3"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tx_802 Envelope"
	  Position		  [65, 338, 95, 352]
	  NamePlacement		  "alternate"
	  Port			  "4"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Display
	  Name			  "802.11 Packets \nTransmitted"
	  Ports			  [1]
	  Position		  [365, 330, 455, 360]
	  Decimation		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Counter"
	  Ports			  [1, 1]
	  Position		  [230, 315, 300, 375]
	  SourceBlock		  "dspswit3/Counter"
	  SourceType		  "Counter"
	  Direction		  "Up"
	  CountEvent		  "Rising edge"
	  CounterSize		  "User defined"
	  MaxCount		  "1000"
	  InitialCount		  "0"
	  Output		  "Count"
	  HitValue		  "32"
	  ResetInput		  off
	  SamplesPerFrame	  "1"
	  Ts			  "1"
	  CntDtype		  "double"
	  HitDtype		  "logical"
	}
	Block {
	  BlockType		  Constant
	  Name			  "State"
	  Position		  [215, 20, 245, 50]
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem"
	  Ports			  [3, 0, 1]
	  Position		  [215, 115, 385, 275]
	  TreatAsAtomicUnit	  on
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Subsystem"
	    Location		    [-2, 145, 972, 684]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [40, 123, 70, 137]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [40, 153, 70, 167]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [30, 438, 60, 452]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      EnablePort
	      Name		      "Enable"
	      Ports		      []
	      Position		      [475, 45, 495, 65]
	    }
	    Block {
	      BlockType		      Abs
	      Name		      "Abs"
	      Position		      [295, 130, 325, 160]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Buffer"
	      Ports		      [1, 1]
	      Position		      [375, 120, 425, 170]
	      ShowName		      off
	      SourceBlock	      "dspbuff3/Buffer"
	      SourceType	      "Buffer"
	      N			      "60*500"
	      V			      "59*500"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Buffer1"
	      Ports		      [1, 1]
	      Position		      [370, 295, 420, 345]
	      ShowName		      off
	      SourceBlock	      "dspbuff3/Buffer"
	      SourceType	      "Buffer"
	      N			      "60*500"
	      V			      "59*500"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Buffer2"
	      Ports		      [1, 1]
	      Position		      [700, 415, 750, 465]
	      ShowName		      off
	      SourceBlock	      "dspbuff3/Buffer"
	      SourceType	      "Buffer"
	      N			      "60"
	      V			      "59"
	      ic		      "-70"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [415, 190, 445, 220]
	      ShowName		      off
	      Value		      "0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant2"
	      Position		      [400, 375, 430, 405]
	      ShowName		      off
	      Value		      "-.5"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "DSP\nConstant"
	      Ports		      [0, 1]
	      Position		      [40, 362, 125, 398]
	      ShowName		      off
	      SourceBlock	      "dspsrcs4/DSP\nConstant"
	      SourceType	      "DSP Constant"
	      ShowPortLabels	      on
	      Value		      ".2*[ones(1,36600) zeros(1,62500-36600)]"
"'"
	      SampleMode	      "Discrete"
	      discreteOutput	      "Frame-based"
	      continuousOutput	      "Sample-based"
	      sampTime		      "625e-6"
	      framePeriod	      "625e-6"
	      additionalParams	      off
	      allowOverrides	      on
	      dataType		      "Inherit from 'Constant value'"
	      isSigned		      on
	      wordLen		      "16"
	      udDataType	      "sfix(16)"
	      fracBitsMode	      "Best precision"
	      numFracBits	      "15"
	      InterpretAs1D	      "off"
	      Ts		      "625e-6"
	      FramebasedOutput	      "on"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Downsample"
	      Ports		      [1, 1]
	      Position		      [210, 128, 255, 162]
	      ShowName		      off
	      SourceBlock	      "dspsigops/Downsample"
	      SourceType	      "Downsample"
	      N			      "125"
	      phase		      "0"
	      ic		      "0"
	      smode		      "Allow multirate"
	      fmode		      "Maintain input frame rate"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Downsample1"
	      Ports		      [1, 1]
	      Position		      [245, 303, 290, 337]
	      ShowName		      off
	      SourceBlock	      "dspsigops/Downsample"
	      SourceType	      "Downsample"
	      N			      "125"
	      phase		      "0"
	      ic		      "0"
	      smode		      "Allow multirate"
	      fmode		      "Maintain input frame rate"
	    }
	    Block {
	      BlockType		      SubSystem

⌨️ 快捷键说明

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