📄 bluetooth_full_duplex.mdl
字号:
FontName "Arial"
SourceBlock "bluetooth_lib2/BT Device"
SourceType "BT Device "
ShowPortLabels on
ID "2"
Device_Type "Slave"
mask_packet_type "DM1"
Slot_Pair "1&2"
Input_File_Name "Input2.wav"
}
Block {
BlockType BusSelector
Name "Bus\nSelector"
Ports [1, 3]
Position [735, 379, 740, 441]
ShowName off
DialogController "Simulink.DDGSource_Bus"
OutputSignals "Tx Enable,Rx ARQN,Tx New Packet"
Port {
PortNumber 1
Name "<Tx Enable>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "<Rx ARQN>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 3
Name "<Tx New Packet>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType BusSelector
Name "Bus\nSelector1"
Ports [1, 2]
Position [735, 440, 740, 480]
ShowName off
DialogController "Simulink.DDGSource_Bus"
OutputSignals "Rx Enable,Rx Frame OK"
Port {
PortNumber 1
Name "<Rx Enable>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "<Rx Frame OK>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType SubSystem
Name "Channel"
Ports [3, 3]
Position [455, 184, 530, 276]
AttributesFormatString "%<BlockChoice>"
BlockChoice "AWGN and 802"
TemplateBlock "bluetooth_lib2/Channel"
MemberBlocks "AWGN,AWGN and 802,None"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Channel"
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 Inport
Name "Tx1"
Position [20, 40, 40, 60]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Tx2"
Position [20, 80, 40, 100]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Interferer"
Position [20, 120, 40, 140]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "AWGN and 802"
Ports [3, 3]
Position [100, 40, 140, 80]
SourceBlock "bluetooth_lib2/AWGN and 802"
SourceType "SubSystem"
ShowPortLabels on
}
Block {
BlockType Outport
Name "Rx2"
Position [200, 40, 220, 60]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Rx1"
Position [200, 80, 220, 100]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Probe"
Position [200, 120, 220, 140]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Tx1"
SrcPort 1
DstBlock "AWGN and 802"
DstPort 1
}
Line {
SrcBlock "Tx2"
SrcPort 1
DstBlock "AWGN and 802"
DstPort 2
}
Line {
SrcBlock "Interferer"
SrcPort 1
DstBlock "AWGN and 802"
DstPort 3
}
Line {
SrcBlock "AWGN and 802"
SrcPort 1
DstBlock "Rx2"
DstPort 1
}
Line {
SrcBlock "AWGN and 802"
SrcPort 2
DstBlock "Rx1"
DstPort 1
}
Line {
SrcBlock "AWGN and 802"
SrcPort 3
DstBlock "Probe"
DstPort 1
}
}
}
Block {
BlockType From
Name "From1"
Position [315, 426, 395, 444]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Interference"
}
Block {
BlockType From
Name "From12"
Position [25, 232, 105, 248]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Tx_Info_Bits2"
}
Block {
BlockType From
Name "From14"
Position [645, 231, 730, 249]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Tx_Info_Bits1"
}
Block {
BlockType From
Name "From15"
Position [605, 402, 685, 418]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Diagnostics1"
}
Block {
BlockType From
Name "From16"
Position [605, 452, 685, 468]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Diagnostics2"
}
Block {
BlockType From
Name "From17"
Position [25, 252, 100, 268]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Diagnostics2"
}
Block {
BlockType From
Name "From18"
Position [645, 252, 730, 268]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Diagnostics1"
}
Block {
BlockType From
Name "From2"
Position [25, 212, 105, 228]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Tx_Raw_Bits2"
}
Block {
BlockType From
Name "From3"
Position [315, 393, 395, 407]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Signal_Tx1"
}
Block {
BlockType From
Name "From4"
Position [315, 408, 395, 422]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Signal_Tx2"
}
Block {
BlockType From
Name "From5"
Position [355, 252, 435, 268]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Interference"
}
Block {
BlockType From
Name "From6"
Position [25, 192, 105, 208]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Signal_Rx1"
}
Block {
BlockType From
Name "From7"
Position [315, 454, 395, 466]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Probe"
}
Block {
BlockType From
Name "From8"
Position [355, 222, 435, 238]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Signal_Tx2"
}
Block {
BlockType From
Name "From9"
Position [645, 212, 725, 228]
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Tx_Raw_Bits1"
}
Block {
BlockType Goto
Name "Goto1"
Position [255, 163, 335, 177]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Signal_Tx1"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto10"
Position [895, 250, 965, 270]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Diagnostics2"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto11"
Position [550, 253, 625, 267]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Probe"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto2"
Position [895, 190, 965, 210]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Signal_Tx2"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto3"
Position [550, 222, 625, 238]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Signal_Rx1"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto4"
Position [255, 252, 335, 268]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Diagnostics1"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto5"
Position [885, 234, 965, 246]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Tx_Info_Bits2"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto6"
Position [180, 417, 260, 433]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Interference"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto7"
Position [255, 232, 335, 248]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Tx_Info_Bits1"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto8"
Position [255, 212, 335, 228]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Tx_Raw_Bits1"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto9"
Position [885, 210, 965, 230]
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Tx_Raw_Bits2"
TagVisibility "global"
}
Block {
BlockType SubSystem
Name "Info"
Ports []
Position [760, 41, 868, 94]
BackgroundColor "yellow"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('Info')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Info"
Location [172, 153, 853, 594]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "Model Info"
Ports []
Position [43, 24, 189, 66]
ShowName off
FontName "Arial"
SourceBlock "simulink/Model-Wide\nUtilities/Model Info"
SourceType "CMBlock"
ShowPortLabels "on"
InitialBlockCM "none"
BlockCM "none"
Frame "on"
DisplayStringWithTags "Bluetooth Voice and Data\nVersion %<ModelVe"
"rsion>\n%<ModifiedDate>"
MaskDisplayString "Bluetooth Voice and Data\\nVersion 1.1070\\"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -