📄 bluetooth_lib.mdl
字号:
MaskDisplay "disp('Bit to Int\\n\nLSB first');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "5"
System {
Name "Bit to Int\nLSB first3"
Location [550, 406, 921, 563]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Bit to Integer\nConverter5"
Ports [1, 1]
Position [160, 21, 260, 59]
ShowName off
SourceBlock "commutil2/Bit to Integer\nConvert"
"er"
SourceType "Bit to Integer Converter"
nbits "Numbits"
}
Block {
BlockType Reference
Name "Flip1"
Ports [1, 1]
Position [85, 26, 120, 54]
SourceBlock "dspindex/Flip"
SourceType "Flip"
dim "Columns"
}
Block {
BlockType Outport
Name "Out1"
Position [315, 33, 345, 47]
IconDisplay "Port number"
}
Line {
SrcBlock "Flip1"
SrcPort 1
DstBlock "Bit to Integer\nConverter5"
DstPort 1
}
Line {
SrcBlock "Bit to Integer\nConverter5"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Flip1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Bit to Int\nLSB first4"
Ports [1, 1]
Position [197, 95, 233, 125]
Orientation "down"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Number of bits"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "Numbits=@1;"
MaskDisplay "disp('Bit to Int\\n\nLSB first');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "7"
System {
Name "Bit to Int\nLSB first4"
Location [545, 170, 916, 327]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Bit to Integer\nConverter5"
Ports [1, 1]
Position [160, 21, 260, 59]
ShowName off
SourceBlock "commutil2/Bit to Integer\nConvert"
"er"
SourceType "Bit to Integer Converter"
nbits "Numbits"
}
Block {
BlockType Reference
Name "Flip1"
Ports [1, 1]
Position [85, 26, 120, 54]
SourceBlock "dspindex/Flip"
SourceType "Flip"
dim "Columns"
}
Block {
BlockType Outport
Name "Out1"
Position [315, 33, 345, 47]
IconDisplay "Port number"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Flip1"
DstPort 1
}
Line {
SrcBlock "Bit to Integer\nConverter5"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Flip1"
SrcPort 1
DstBlock "Bit to Integer\nConverter5"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Bit to Int\nLSB first5"
Ports [1, 1]
Position [242, 95, 278, 125]
Orientation "down"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Number of bits"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "Numbits=@1;"
MaskDisplay "disp('Bit to Int\\n\nLSB first');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "7"
System {
Name "Bit to Int\nLSB first5"
Location [550, 406, 921, 563]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Bit to Integer\nConverter5"
Ports [1, 1]
Position [160, 21, 260, 59]
ShowName off
SourceBlock "commutil2/Bit to Integer\nConvert"
"er"
SourceType "Bit to Integer Converter"
nbits "Numbits"
}
Block {
BlockType Reference
Name "Flip1"
Ports [1, 1]
Position [85, 26, 120, 54]
SourceBlock "dspindex/Flip"
SourceType "Flip"
dim "Columns"
}
Block {
BlockType Outport
Name "Out1"
Position [315, 33, 345, 47]
IconDisplay "Port number"
}
Line {
SrcBlock "Flip1"
SrcPort 1
DstBlock "Bit to Integer\nConverter5"
DstPort 1
}
Line {
SrcBlock "Bit to Integer\nConverter5"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Flip1"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "DSP\nConstant"
Ports [0, 1]
Position [280, 206, 315, 224]
ShowName off
SourceBlock "dspsrcs3/DSP\nConstant"
SourceType "DSP Constant"
Value "79"
InterpretAs1D "off"
SampleMode "Discrete"
Ts "(1/1600)/2"
FramebasedOutput "off"
}
Block {
BlockType SubSystem
Name "Int to bit\nLSB first"
Ports [1, 1]
Position [410, 177, 445, 213]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Number of bits"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "Numbits=@1;"
MaskDisplay "disp('Int to bit\\n\nLSB first');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "7"
System {
Name "Int to bit\nLSB first"
Location [466, 428, 831, 610]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 88, 55, 102]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Flip"
Ports [1, 1]
Position [230, 81, 265, 109]
SourceBlock "dspindex/Flip"
SourceType "Flip"
dim "Columns"
}
Block {
BlockType Reference
Name "Integer to Bit\nConverter3"
Ports [1, 1]
Position [110, 73, 175, 117]
ShowName off
SourceBlock "commutil2/Integer to Bit\nConvert"
"er"
SourceType "Integer to Bit Converter"
nbits "Numbits"
}
Block {
BlockType Outport
Name "Out1"
Position [320, 88, 350, 102]
IconDisplay "Port number"
}
Line {
SrcBlock "Integer to Bit\nConverter3"
SrcPort 1
DstBlock "Flip"
DstPort 1
}
Line {
SrcBlock "Flip"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Integer to Bit\nConverter3"
DstPort 1
}
}
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [2, 1]
Position [345, 177, 375, 208]
ShowName off
Operator "mod"
}
Block {
BlockType Sum
Name "Sum1"
Ports [4, 1]
Position [245, 170, 275, 200]
ShowName off
IconShape "round"
Inputs "+++|+"
}
Block {
BlockType Outport
Name "Out"
Position [480, 188, 510, 202]
IconDisplay "Port number"
}
Line {
SrcBlock "Bit to Int\nLSB first5"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Bit to Int\nLSB first4"
SrcPort 1
Points [0, 34]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "DSP\nConstant"
SrcPort 1
Points [10, 0]
DstBlock "Math\nFunction"
DstPort 2
}
Line {
SrcBlock "Bit to Int\nLSB first3"
SrcPort 1
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "E"
SrcPort 1
DstBlock "Bit to Int\nLSB first4"
DstPort 1
}
Line {
SrcBlock "F"
SrcPort 1
DstBlock "Bit to Int\nLSB first5"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Bit to Int\nLSB first3"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Int to bit\nLSB first"
DstPort 1
}
Line {
SrcBlock "Y2"
SrcPort 1
Points [165, 0]
DstBlock "Sum1"
DstPort 4
}
Line {
SrcBlock "Int to bit\nLSB first"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Bit to Int\nLSB first3"
Ports [1, 1]
Position [775, 435, 805, 465]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Number of bits"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "Numbits=@1;"
MaskDisplay "disp('Bit to Int\\n\nLSB first');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -