📄 gsm_blocks.mdl
字号:
SourceBlock "commdigbbndcpm2/GMSK\nModulator\nBaseba"
"nd"
SourceType "GMSK Modulator Baseband"
ShowPortLabels on
inputType "Bit"
BT ".3"
pulseLength "1"
preHistory "1"
phaseOffset "0"
samplesPerSymbol "1"
}
Block {
BlockType Reference
Name "Reshape"
Ports [1, 1]
Position [95, 85, 125, 105]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Column vector"
OutputDimensions "[1,1]"
}
Block {
BlockType Outport
Name "Out1"
Position [595, 88, 625, 102]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Codificador\nDiferencial"
SrcPort 1
DstBlock "Inserci髇\nde ceros"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Reshape"
DstPort 1
}
Line {
SrcBlock "Modulador\nGMSK"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Inserci髇\nde ceros"
SrcPort 1
DstBlock "Modulador\nGMSK"
DstPort 1
}
Line {
SrcBlock "Reshape"
SrcPort 1
DstBlock "Codificador\nDiferencial"
DstPort 1
}
Annotation {
Name "Modulaci髇"
Position [322, 26]
FontName "Arial"
FontSize 24
FontWeight "bold"
}
}
}
Block {
BlockType SubSystem
Name "background5"
Tag "Codificaci髇"
Ports [1, 1]
Position [115, 57, 365, 173]
BackgroundColor "lightBlue"
ShowName off
FontName "Arial"
FontSize 20
FontWeight "bold"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDisplay "disp('Codificacion')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background5"
Location [5, 140, 1237, 672]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 168, 45, 182]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType MATLABFcn
Name "Bits Clase 1a\n(50)"
Position [125, 90, 175, 120]
MATLABFcn "u(1:50)"
OutputDimensions "[50,1]"
Output1D off
}
Block {
BlockType MATLABFcn
Name "Bits Clase 1b\n(132)"
Position [125, 170, 175, 200]
MATLABFcn "u(51:182)"
OutputDimensions "[132,1]"
Output1D off
}
Block {
BlockType MATLABFcn
Name "Bits Clase 2\n(78)"
Position [125, 240, 175, 270]
MATLABFcn "u(183:260)"
OutputDimensions "[78,1]"
Output1D off
}
Block {
BlockType Reference
Name "Buffer1"
Ports [1, 1]
Position [310, 80, 360, 130]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "53"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Buffer2"
Ports [1, 1]
Position [300, 160, 350, 210]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "136"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Buffer3"
Ports [1, 1]
Position [390, 230, 440, 280]
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "78"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Codificador\nConvolucional"
Ports [1, 1]
Position [480, 115, 600, 175]
SourceBlock "commcnvcod2/Convolutional\nEncoder"
SourceType "Convolutional Encoder"
trellis "poly2trellis(7,[133,171]) "
reset "None"
}
Block {
BlockType Reference
Name "Concatenaci髇\nde Matriz"
Ports [2, 1]
Position [400, 124, 455, 166]
SourceBlock "simulink/Math\nOperations/Matrix\nConca"
"tenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "C醠culo e\ninserci髇 de CRC"
Ports [1, 1]
Position [210, 81, 285, 129]
SourceBlock "commcrc2/General CRC\nGenerator"
SourceType "General CRC Generator"
genPoly "[1 1 0 1]"
iniStates "[0]"
numChecksums "1"
}
Block {
BlockType SubSystem
Name "Entrelazado"
Ports [1, 1]
Position [740, 113, 855, 197]
FontName "Arial"
FontSize 14
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Entrelazado"
Location [342, 342, 791, 535]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "[456x1]"
Position [30, 103, 60, 117]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Entrelazador"
Ports [1, 1]
Position [120, 83, 200, 137]
SourceBlock "commblkintrlv2/Matrix\nInterleaver"
SourceType "Matrix Interleaver"
ShowPortLabels on
Nrows "57"
Ncols "8"
}
Block {
BlockType Reference
Name "Reshape"
Ports [1, 1]
Position [250, 98, 295, 122]
SourceBlock "simulink/Math\nOperations/Reshape"
SourceType "Reshape"
OutputDimensionality "Customize"
OutputDimensions "[57,8]"
}
Block {
BlockType Outport
Name "[57x8]"
Position [340, 103, 370, 117]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "[456x1]"
SrcPort 1
DstBlock "Entrelazador"
DstPort 1
}
Line {
SrcBlock "Entrelazador"
SrcPort 1
DstBlock "Reshape"
DstPort 1
}
Line {
SrcBlock "Reshape"
SrcPort 1
DstBlock "[57x8]"
DstPort 1
}
Annotation {
Name "Entrelazado"
Position [218, 28]
FontName "Arial"
FontSize 20
FontWeight "bold"
}
}
}
Block {
BlockType Reference
Name "Inserci髇\nde ceros"
Ports [1, 1]
Position [225, 167, 270, 203]
SourceBlock "dspsigops/Zero Pad"
SourceType "Zero Pad"
padSigAt "End"
zpadAlong "Columns"
padNumOutRowsSpecMethod "User-specified"
numOutRows "136"
padNumOutColsSpecMethod "User-specified"
numOutCols "1"
trunc_flag "None"
}
Block {
BlockType SubSystem
Name "R醘aga"
Ports [1, 1]
Position [900, 116, 1045, 194]
FontName "Arial"
FontSize 16
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "R醘aga"
Location [9, 82, 1215, 993]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 478, 45, 492]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType MATLABFcn
Name "Bits\nEncriptados 1"
Position [205, 80, 255, 110]
MATLABFcn "u(1:57)"
OutputDimensions "[57,1]"
Output1D off
}
Block {
BlockType MATLABFcn
Name "Bits\nEncriptados 2"
Position [205, 200, 255, 230]
MATLABFcn "u(58:114)"
OutputDimensions "[57,1]"
Output1D off
}
Block {
BlockType MATLABFcn
Name "Bits\nEncriptados 3"
Position [200, 275, 250, 305]
MATLABFcn "u(115:171)"
OutputDimensions "[57,1]"
Output1D off
}
Block {
BlockType MATLABFcn
Name "Bits\nEncriptados 4"
Position [205, 395, 255, 425]
MATLABFcn "u(172:228)"
OutputDimensions "[57,1]"
Output1D off
}
Block {
BlockType MATLABFcn
Name "Bits\nEncriptados 5"
Position [205, 470, 255, 500]
MATLABFcn "u(229:285)"
OutputDimensions "[57,1]"
Output1D off
}
Block {
BlockType MATLABFcn
Name "Bits\nEncriptados 6"
Position [205, 590, 255, 620]
MATLABFcn "u(286:342)"
OutputDimensions "[57,1]"
Output1D off
}
Block {
BlockType MATLABFcn
Name "Bits\nEncriptados 7"
Position [205, 665, 255, 695]
MATLABFcn "u(343:399)"
OutputDimensions "[57,1]"
Output1D off
}
Block {
BlockType MATLABFcn
Name "Bits\nEncriptados 8"
Position [205, 785, 255, 815]
MATLABFcn "u(400:456)"
OutputDimensions "[57,1]"
Output1D off
}
Block {
BlockType Reference
Name "Concatenaci髇\nde Matriz"
Ports [2, 1]
Position [585, 84, 640, 126]
SourceBlock "simulink/Math\nOperations/Matrix\nC"
"oncatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Concatenaci髇\nde Matriz1"
Ports [2, 1]
Position [725, 94, 780, 136]
SourceBlock "simulink/Math\nOperations/Matrix\nC"
"oncatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Concatenaci髇\nde Matriz2"
Ports [2, 1]
Position [585, 279, 640, 321]
SourceBlock "simulink/Math\nOperations/Matrix\nC"
"oncatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Concatenaci髇\nde Matriz3"
Ports [2, 1]
Position [725, 289, 780, 331]
SourceBlock "simulink/Math\nOperations/Matrix\nC"
"oncatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Concatenaci髇\nde Matriz4"
Ports [2, 1]
Position [585, 474, 640, 516]
SourceBlock "simulink/Math\nOperations/Matrix\nC"
"oncatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Concatenaci髇\nde Matriz5"
Ports [2, 1]
Position [725, 484, 780, 526]
SourceBlock "simulink/Math\nOperations/Matrix\nC"
"oncatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Concatenaci髇\nde Matriz6"
Ports [2, 1]
Position [585, 669, 640, 711]
SourceBlock "simulink/Math\nOperations/Matrix\nC"
"oncatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Concatenaci髇\nde Matriz7"
Ports [2, 1]
Position [725, 679, 780, 721]
SourceBlock "simulink/Math\nOperations/Matrix\nC"
"oncatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Concatenaci髇\nde Matriz8"
Ports [4, 1]
Position [1000, 365, 1055, 470]
SourceBlock "simulink
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -