📄 bluetooth_voice_article.mdl
字号:
BlockType From
Name "From11"
Position [220, 467, 290, 483]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Frame_OK"
}
Block {
BlockType From
Name "From12"
Position [430, 458, 560, 472]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Packet_Envelope_802"
}
Block {
BlockType From
Name "From3"
Position [430, 398, 550, 412]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Radio_Signal_Tx"
}
Block {
BlockType From
Name "From7"
Position [430, 438, 545, 452]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Radio_Signal_Rx"
}
Block {
BlockType From
Name "From8"
Position [220, 431, 280, 449]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Rx_Bits"
}
Block {
BlockType From
Name "From9"
Position [220, 397, 285, 413]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Tx_Bits"
}
Block {
BlockType Goto
Name "Goto3"
Position [780, 172, 850, 188]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Rx_Bits"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [610, 123, 715, 137]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Radio_Signal_Rx"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto5"
Position [270, 123, 375, 137]
NamePlacement "alternate"
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Radio_Signal_Tx"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto6"
Position [785, 216, 850, 234]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Frame_OK"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto7"
Position [415, 332, 460, 348]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Tx_802"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto8"
Position [205, 217, 275, 233]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Tx_Bits"
TagVisibility "global"
}
Block {
BlockType SubSystem
Name "Instrumentation\n(Remove to speed up\nsimulatio"
"n)"
Ports [4]
Position [610, 396, 715, 474]
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\nsimulat"
"ion)"
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"
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 [-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]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [40, 163, 70, 177]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In3"
Position [30, 358, 60, 372]
Port "3"
IconDisplay "Port number"
LatchInput off
}
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"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
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 "simulink/Math\nOperations/Matrix\nConca"
"tenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation2"
Ports [2, 1]
Position [130, 123, 185, 187]
ShowName off
SourceBlock "simulink/Math\nOperations/Matrix\nConca"
"tenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Mean"
Ports [1, 1]
Position [315, 345, 370, 385]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag0"
SourceBlock "dspstat3/Mean"
SourceType "Mean"
run off
reset_popup "None"
additionalParams off
allowOverrides on
outputMode "Same as accumulator"
outputWordLength "32"
outputFracLength "30"
accumMode "Same as input"
accumWordLength "32"
accumFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
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"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "802.11 Tx"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
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 "simulink/Math\nOperations/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/Periodogram"
SourceType "Periodogram"
ShowPortLabels on
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 "dspsnks4/Matrix\nViewer"
SourceType "Matrix Viewer"
ShowPortLabels off
ImageParams on
CMapStr "jet(256)"
YMin "-60"
YMax "-30"
AxisColorbar on
AxisParams on
AxisOrigin "Lower left corner"
XLabel "Time Index"
YLabel "Frequency Index"
ZLabel "dB Magnitude"
FigPos "[65 269 688 127]"
AxisZoom on
}
Block {
BlockType Reference
Name "Spectrum\nPlot"
Ports [1]
Position [595, 240, 630, 290]
SourceBlock "dspsnks4/Vector\nScope"
SourceType "Vector Scope"
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
DisplayProperties off
AxisGrid on
Memory
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -