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

📄 bluetooth_voice.mdl

📁 matlab bluetooth仿真程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
Model {
  Name			  "bluetooth_voice"
  Version		  4.1.1
  SampleTimeColors	  off
  LibraryLinkDisplay	  "user"
  WideLines		  off
  ShowLineDimensions	  on
  ShowPortDataTypes	  off
  ShowStorageClass	  off
  ExecutionOrder	  off
  RecordCoverage	  off
  CovPath		  "/"
  CovSaveName		  "covdata"
  CovMetricSettings	  "dw"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  BlockNameDataTip	  off
  BlockParametersDataTip  on
  BlockDescriptionStringDataTip	off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks on
  BrowserLookUnderMasks	  on
  PreLoadFcn		  "bluetooth_init;"
  Created		  "Tue Nov 07 21:37:31 2000"
  Creator		  "Stuart McGarrity"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "stuartm"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Thu May 16 16:47:21 2002"
  ModifiedComment	  "stuartm -- Fri Jul 20 12:58:27 2001 -- Version 1.20"
"1\nFix for R12.1. Changed CPM modulator. Replaced enable subsystems in channe"
"l with \"switch case\".\n"
  ModifiedHistory	  "stuartm -- Fri Jul 20 12:58:27 2001 -- Version 1.20"
"1\nFix for R12.1. Changed CPM modulator. Replaced enable subsystems in channe"
"l with \"switch case\".\n\n\nstuartm -- Sun Jul 08 13:59:13 2001 -- Version 1"
".172\nAdded gain mask at output of transmitter to run it off after 374 bits."
"\n\nstuartm -- Sun Jul 08 13:53:19 2001 -- Version 1.171\nChanged hop generat"
"or to randint block. Put zero padiing back to before transmitter.\n\n\nStarte"
"d with bluetooth_voice2. Move zero pad from input to output of transmitter. N"
"ow only transmits 374 bits\n\nAdded channel option"
  ModelVersionFormat	  "1.%<AutoIncrement:781>"
  ConfigurationManager	  "none"
  SimParamPage		  "Solver"
  StartTime		  "0.0"
  StopTime		  "2.7"
  SolverMode		  "Auto"
  Solver		  "VariableStepDiscrete"
  RelTol		  "1e-3"
  AbsTol		  "auto"
  Refine		  "1"
  MaxStep		  "auto"
  MinStep		  "auto"
  MaxNumMinSteps	  "-1"
  InitialStep		  "auto"
  FixedStep		  "auto"
  MaxOrder		  5
  OutputOption		  "RefineOutputTimes"
  OutputTimes		  "[]"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  SaveTime		  off
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  off
  OutputSaveName	  "yout"
  LoadInitialState	  off
  InitialState		  "xInitial"
  SaveFinalState	  off
  FinalStateName	  "xFinal"
  SaveFormat		  "Array"
  LimitDataPoints	  on
  MaxDataPoints		  "1000"
  Decimation		  "1"
  AlgebraicLoopMsg	  "warning"
  MinStepSizeMsg	  "warning"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  SingleTaskRateTransMsg  "none"
  MultiTaskRateTransMsg	  "error"
  IntegerOverflowMsg	  "warning"
  CheckForMatrixSingularity "none"
  UnnecessaryDatatypeConvMsg "none"
  Int32ToFloatConvMsg	  "warning"
  InvalidFcnCallConnMsg	  "error"
  SignalLabelMismatchMsg  "none"
  LinearizationMsg	  "none"
  VectorMatrixConversionMsg "none"
  SfunCompatibilityCheckMsg "none"
  BlockPriorityViolationMsg "warning"
  ArrayBoundsChecking	  "none"
  ConsistencyChecking	  "none"
  ZeroCross		  on
  Profile		  off
  SimulationMode	  "normal"
  RTWSystemTargetFile	  "grt.tlc"
  RTWInlineParameters	  off
  RTWRetainRTWFile	  off
  RTWTemplateMakefile	  "grt_default_tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  TLCProfiler		  off
  TLCDebug		  off
  TLCCoverage		  off
  AccelSystemTargetFile	  "accel.tlc"
  AccelTemplateMakefile	  "accel_default_tmf"
  AccelMakeCommand	  "make_rtw"
  TryForcingSFcnDF	  off
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "normal"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  on
  ExtModeSkipDownloadWhenConnect off
  ExtModeLogAll		  on
  ExtModeAutoUpdateStatusClock on
  OptimizeBlockIOStorage  off
  BufferReuse		  on
  ParameterPooling	  on
  BlockReductionOpt	  off
  RTWExpressionDepthLimit 5
  BooleanDataType	  off
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "bluetooth_voice"
    Location		    [41, 113, 996, 648]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    160
    ScreenColor		    "automatic"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "64 kbps voice bit rate"
      Ports		      [0, 1]
      Position		      [780, 490, 815, 500]
      SourceBlock	      "dspsrcs3/DSP\nConstant"
      SourceType	      "DSP Constant"
      Value		      "1"
      InterpretAs1D	      off
      SampleMode	      "Discrete"
      Ts		      "1/64000"
      FramebasedOutput	      off
    }
    Block {
      BlockType		      Reference
      Name		      "8 kbps voice bit rate"
      Ports		      [0, 1]
      Position		      [780, 460, 815, 470]
      SourceBlock	      "dspsrcs3/DSP\nConstant"
      SourceType	      "DSP Constant"
      Value		      "1"
      InterpretAs1D	      off
      SampleMode	      "Discrete"
      Ts		      "1/8000"
      FramebasedOutput	      off
    }
    Block {
      BlockType		      Reference
      Name		      "802 Path Loss"
      Ports		      [1, 1]
      Position		      [400, 303, 440, 347]
      SourceBlock	      "dspmathops/dB Gain"
      SourceType	      "dB Gain"
      Gain		      "g"
      dB		      "-40"
      intype		      "Amplitude"
    }
    Block {
      BlockType		      Reference
      Name		      "802.11b\nTransmitter"
      Ports		      [0, 1]
      Position		      [215, 297, 290, 353]
      SourceBlock	      "bluetooth_lib/802.11b\nTransmitter"
      SourceType	      ""
      On		      on
      rate		      "200"
      m			      "1e-3"
      v			      "0"
      power		      "1"
      Freq_Number	      "39"
      rate_seed		      "rate_802_seed"
      awgn_seed		      "awgn_802_seed"
    }
    Block {
      BlockType		      SubSystem
      Name		      "AWGN"
      Ports		      [1, 1]
      Position		      [280, 175, 350, 235]
      ShowPortLabels	      on
      TreatAsAtomicUnit	      on
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskType		      "Optional channel"
      MaskPromptString	      "Turn on AWGN|Es/No|Input Power|Symbol Period|Se"
"ed"
      MaskStyleString	      "checkbox,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on"
      MaskCallbackString      "||||"
      MaskEnableString	      "on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on"
      MaskVariables	      "AWGN_On=@1;EsNo=@2;Power=@3;Symbol_Period=@4;se"
"ed=@5;"
      MaskInitialization      "if AWGN_On==1\n   Name='On';\nelse\n  Name='Off"
"';\nend;\n"
      MaskDisplay	      "disp(['AWGN is ' Name])"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "on|14|.001|1e-6|awgn_channel_seed"
      MaskVariableAliases     ",,,,"
      System {
	Name			"AWGN"
	Location		[246, 236, 845, 593]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [120, 238, 150, 252]
	  Port			  "1"
	  LatchInput		  off
	  Interpolate		  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Generate noise\nonly for slot 1"
	  Ports			  [2, 1]
	  Position		  [270, 112, 300, 148]
	  NamePlacement		  "alternate"
	  SourceBlock		  "simulink3/Nonlinear/Manual Switch"
	  SourceType		  "Manual Switch"
	  sw			  "0"
	  action		  "0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Mode"
	  Position		  [90, 189, 160, 211]
	  ShowName		  off
	  Value			  "AWGN_On"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Slot 1 enable2"
	  Ports			  [0, 1]
	  Position		  [160, 113, 235, 127]
	  NamePlacement		  "alternate"
	  SourceBlock		  "dspsrcs3/Signal From\nWorkspace"
	  SourceType		  "Signal From Workspace"
	  X			  "[1 0 0 0 0 0]"
	  Ts			  "625e-6"
	  nsamps		  "1"
	  OutputAfterFinalValue	  "Cyclic Repetition"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Slot 1 enable3"
	  Ports			  [0, 1]
	  Position		  [160, 132, 235, 148]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  SourceBlock		  "dspsrcs3/Signal From\nWorkspace"
	  SourceType		  "Signal From Workspace"
	  X			  "[1 1 1 1 1 1 ]"
	  Ts			  "625e-6"
	  nsamps		  "1"
	  OutputAfterFinalValue	  "Cyclic Repetition"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem"
	  Ports			  [2, 1, 1]
	  Position		  [270, 175, 355, 270]
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  on
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  System {
	    Name		    "Subsystem"
	    Location		    [130, 380, 635, 667]
	    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, 38, 55, 52]
	      Port		      "1"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [80, 233, 110, 247]
	      Port		      "2"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      EnablePort
	      Name		      "Enable"
	      Ports		      []
	      Position		      [375, 40, 395, 60]
	      StatesWhenEnabling      "held"
	      ShowOutputPort	      off
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Add noise"
	      Ports		      [1, 1, 0, 0, 0, 0, 0, 1]
	      Position		      [230, 220, 310, 260]
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      on
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      System {
		Name			"Add noise"
		Location		[363, 285, 861, 585]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [20, 173, 50, 187]
		  Port			  "1"
		  LatchInput		  off
		  Interpolate		  on
		}
		Block {
		  BlockType		  ActionPort
		  Name			  "Action Port"
		  Position		  [170, 15, 229, 43]
		  InitializeStates	  "held"
		  ActionType		  "else"
		}
		Block {
		  BlockType		  Reference
		  Name			  "AWGN\nChannel1"
		  Ports			  [1, 1]
		  Position		  [120, 159, 200, 201]
		  ShowName		  off
		  SourceBlock		  "commchan2/AWGN\nChannel"
		  SourceType		  "AWGN Channel"
		  seed			  "seed"
		  noiseMode		  "Signal to noise ratio  (Es/No)"
		  EsNodB		  "EsNo"
		  SNRdB			  "10"
		  Ps			  "Power"
		  Tsym			  "Symbol_Period"
		  variance		  "1"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Contiguous\nCopy"
		  Ports			  [1, 1]
		  Position		  [260, 159, 330, 201]
		  SourceBlock		  "dspsigattribs/Contiguous\nCopy"
		  SourceType		  "Contiguous Copy"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [375, 173, 405, 187]
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "[]"
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "AWGN\nChannel1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Contiguous\nCopy"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "AWGN\nChannel1"
		  SrcPort		  1
		  DstBlock		  "Contiguous\nCopy"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      If
	      Name		      "If"
	      Ports		      [1, 2]
	      Position		      [80, 25, 160, 65]
	      NumInputs		      "1"
	      IfExpression	      "u1 == 0"
	      ShowElse		      on
	    }
	    Block {
	      BlockType		      Merge
	      Name		      "Merge"
	      Ports		      [2, 1]
	      Position		      [385, 210, 425, 250]
	      ShowName		      off
	      Inputs		      "2"
	      InitialOutput	      "[]"
	      AllowUnequalInputPortWidths off
	      InputPortOffsets	      "[]"

⌨️ 快捷键说明

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