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

📄 bluetooth_voice_article.mdl

📁 matlab bluetooth仿真程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	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		      [122, 396, 178, 447]
      OpenFcn		      "[Output_Wave,Output_Fs]=wavread('Output.wav');s"
"ound(Output_Wave,Output_Fs);"
      TreatAsAtomicUnit	      off
      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		      From
      Name		      "From10"
      Position		      [430, 419, 480, 431]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Tx_802"
    }
    Block {
      BlockType		      From
      Name		      "From11"
      Position		      [220, 467, 290, 483]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Frame_OK"
    }
    Block {
      BlockType		      From
      Name		      "From12"
      Position		      [430, 458, 560, 472]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Packet_Envelope_802"
    }
    Block {
      BlockType		      From
      Name		      "From3"
      Position		      [430, 398, 550, 412]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Radio_Signal_Tx"
    }
    Block {
      BlockType		      From
      Name		      "From7"
      Position		      [430, 438, 545, 452]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Radio_Signal_Rx"
    }
    Block {
      BlockType		      From
      Name		      "From8"
      Position		      [220, 431, 280, 449]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Rx_Bits"
    }
    Block {
      BlockType		      From
      Name		      "From9"
      Position		      [220, 397, 285, 413]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "Tx_Bits"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto3"
      Position		      [780, 172, 850, 188]
      ShowName		      off
      GotoTag		      "Rx_Bits"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto4"
      Position		      [610, 123, 715, 137]
      ShowName		      off
      GotoTag		      "Radio_Signal_Rx"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto5"
      Position		      [270, 123, 375, 137]
      NamePlacement	      "alternate"
      ShowName		      off
      GotoTag		      "Radio_Signal_Tx"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto6"
      Position		      [785, 216, 850, 234]
      ShowName		      off
      GotoTag		      "Frame_OK"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto7"
      Position		      [415, 332, 460, 348]
      ShowName		      off
      GotoTag		      "Tx_802"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto8"
      Position		      [205, 217, 275, 233]
      ShowName		      off
      GotoTag		      "Tx_Bits"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Instrumentation"
      Ports		      [4]
      Position		      [610, 396, 715, 474]
      OpenFcn		      "temp=get_param(gcb,'On');set_param(gcb,'On', ge"
"t_param(gcb,'Off'));set_param(gcb,'Off', temp);"
      TreatAsAtomicUnit	      on
      MaskType		      "Instrumentation"
      MaskPromptString	      "On|Off"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVarAliasString      ","
      MaskVariables	      "On=&1;Off=&2;"
      MaskInitialization      "if strcmp(On,'on')\n  string='Instrumentation\\"
"nis On\\n(Double-Click\\n to Toggle)\\n ';\n  set_param([gcb,'/State'],'Value"
"','1');\nelse\n  string='Instrumentation\\nis Off\\n(Double-Click\\n to Toggl"
"e)\\n ';\n  set_param([gcb,'/State'],'Value','0');\nend\n"
      MaskDisplay	      "disp(string);"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "on|off"
      System {
	Name			"Instrumentation"
	Location		[364, 197, 877, 677]
	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"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tx_802"
	  Position		  [60, 188, 90, 202]
	  NamePlacement		  "alternate"
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Rx"
	  Position		  [60, 243, 90, 257]
	  NamePlacement		  "alternate"
	  Port			  "3"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tx_802 Envelope"
	  Position		  [65, 338, 95, 352]
	  NamePlacement		  "alternate"
	  Port			  "4"
	}
	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"
	}
	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
	  System {
	    Name		    "Subsystem"
	    Location		    [-15, 425, 972, 904]
	    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, 133, 70, 147]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [40, 163, 70, 177]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [30, 358, 60, 372]
	      Port		      "3"
	    }
	    Block {
	      BlockType		      EnablePort
	      Name		      "Enable"
	      Ports		      []
	      Position		      [475, 40, 495, 60]
	    }
	    Block {
	      BlockType		      Abs
	      Name		      "Abs"
	      Position		      [320, 140, 350, 170]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Buffer"
	      Ports		      [1, 1]
	      Position		      [400, 130, 450, 180]
	      ShowName		      off
	      SourceBlock	      "dspbuff3/Buffer"
	      SourceType	      "Buffer"
	      N			      "60*500"
	      V			      "59*500"
	      ic		      "0"
	      Port {
		PortNumber		1
		Name			"Bluetooth Tx"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Buffer2"
	      Ports		      [1, 1]
	      Position		      [700, 340, 750, 390]
	      ShowName		      off
	      SourceBlock	      "dspbuff3/Buffer"
	      SourceType	      "Buffer"
	      N			      "60"
	      V			      "59"
	      ic		      "-70"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [485, 180, 515, 210]
	      ShowName		      off
	      Value		      "0"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Downsample"
	      Ports		      [1, 1]
	      Position		      [235, 138, 280, 172]
	      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		      "Matrix\nConcatenation1"
	      Ports		      [2, 1]
	      Position		      [805, 139, 860, 186]
	      ShowName		      off
	      SourceBlock	      "simulink3/Signals\n& Systems/Matrix\nCo"
"ncatenation"
	      SourceType	      "Matrix Concatenation"
	      numInports	      "2"
	      catMethod		      "Horizontal"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Matrix\nConcatenation2"
	      Ports		      [2, 1]
	      Position		      [130, 123, 185, 187]
	      ShowName		      off
	      SourceBlock	      "simulink3/Signals\n& Systems/Matrix\nCo"
"ncatenation"
	      SourceType	      "Matrix Concatenation"
	      numInports	      "2"
	      catMethod		      "Horizontal"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Mean"
	      Ports		      [1, 1]
	      Position		      [315, 345, 370, 385]
	      SourceBlock	      "dspstat3/Mean"
	      SourceType	      "Mean"
	      run		      "off"
	      reset_popup	      "None"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Multiport\nSelector"
	      Ports		      [1, 2]
	      Position		      [630, 136, 680, 189]
	      ShowName		      off
	      SourceBlock	      "dspindex/Multiport\nSelector"
	      SourceType	      "Multiport Selector"
	      rowsOrCols	      "Columns"
	      idxCellArray	      "{ 1,2}"
	      idxErrMode	      "Clip Index"
	      Port {
		PortNumber		1
		Name			"Bluetooth Tx"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	      Port {
		PortNumber		2
		Name			"802.11 Tx"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator1"
	      Position		      [545, 147, 575, 178]
	      ShowName		      off
	      Operator		      ">"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Reshape"
	      Ports		      [1, 1]
	      Position		      [110, 353, 140, 377]
	      SourceBlock	      "simulink3/Signals\n& Systems/Reshape"
	      SourceType	      "Reshape"
	      OutputDimensionality    "Customize"
	      OutputDimensions	      "[500,125]"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector1"
	      Ports		      [1, 1]
	      Position		      [555, 347, 575, 383]
	      ShowName		      off
	      Elements		      "[257:512 1:256]"
	      InputPortWidth	      "512"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector2"
	      Ports		      [1, 1]
	      Position		      [625, 347, 645, 383]
	      ShowName		      off
	      Elements		      "7:506"
	      InputPortWidth	      "512"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Short-Time FFT1"
	      Ports		      [1, 1]
	      Position		      [180, 337, 245, 393]
	      ShowName		      off
	      SourceBlock	      "dspspect3/Short-Time FFT"
	      SourceType	      "Short-Time FFT"
	      wintype		      "Hanning"
	      Rs		      "50"
	      beta		      "5"
	      winsamp		      "Periodic"
	      inheritFFT	      "off"
	      fftsize		      "512"
	      navg		      "1"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Spectogram"
	      Ports		      [1]
	      Position		      [910, 340, 955, 390]
	      SourceBlock	      "dspsnks3/Matrix\nViewer"
	      SourceType	      "Matrix Viewer"
	      ImageParams	      "on"

⌨️ 快捷键说明

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