📄 bluetooth_lib.mdl
字号:
}
Block {
BlockType SubSystem
Name "ADD\nmod 32"
Ports [2, 1]
Position [95, 415, 135, 475]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "ADD\nmod 32"
Location [40, 105, 424, 404]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "A"
Position [145, 25, 175, 40]
Orientation "down"
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "X"
Position [25, 153, 55, 167]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType SubSystem
Name "Bit to Int\nLSB first1"
Ports [1, 1]
Position [142, 65, 178, 95]
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 "5"
System {
Name "Bit to Int\nLSB first1"
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 first2"
Ports [1, 1]
Position [80, 145, 110, 175]
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 "5"
System {
Name "Bit to Int\nLSB first2"
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 "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 Reference
Name "DSP\nConstant1"
Ports [0, 1]
Position [90, 221, 125, 239]
ShowName off
SourceBlock "dspsrcs3/DSP\nConstant"
SourceType "DSP Constant"
Value "32"
InterpretAs1D "off"
SampleMode "Discrete"
Ts "(1/1600)/2"
FramebasedOutput "off"
}
Block {
BlockType SubSystem
Name "Int to bit\nLSB first"
Ports [1, 1]
Position [245, 152, 280, 188]
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 "5"
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\nFunction1"
Ports [2, 1]
Position [185, 152, 215, 183]
ShowName off
Operator "mod"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [150, 150, 170, 170]
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType Outport
Name "Out1"
Position [315, 163, 345, 177]
IconDisplay "Port number"
}
Line {
SrcBlock "Bit to Int\nLSB first2"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Bit to Int\nLSB first1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Math\nFunction1"
SrcPort 1
DstBlock "Int to bit\nLSB first"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Math\nFunction1"
DstPort 1
}
Line {
SrcBlock "DSP\nConstant1"
SrcPort 1
Points [40, 0]
DstBlock "Math\nFunction1"
DstPort 2
}
Line {
SrcBlock "A"
SrcPort 1
DstBlock "Bit to Int\nLSB first1"
DstPort 1
}
Line {
SrcBlock "X"
SrcPort 1
DstBlock "Bit to Int\nLSB first2"
DstPort 1
}
Line {
SrcBlock "Int to bit\nLSB first"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "ADD\nmod 79"
Ports [4, 1]
Position [620, 412, 690, 483]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
Port {
PortNumber 1
Name "Channel pointer"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
System {
Name "ADD\nmod 79"
Location [346, 176, 926, 502]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "E"
Position [200, 30, 230, 45]
Orientation "down"
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "F"
Position [245, 30, 275, 45]
Orientation "down"
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In"
Position [60, 178, 90, 192]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Y2"
Position [60, 253, 90, 267]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType SubSystem
Name "Bit to Int\nLSB first3"
Ports [1, 1]
Position [160, 170, 190, 200]
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;"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -