📄 vblast_2tx_2rx.mdl
字号:
Name "Out1" Position [285, 98, 315, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Gaussian Noise\nGenerator" SrcPort 1 Points [15, 0; 0, 25] DstBlock "Real-Imag to\nComplex" DstPort 1 } Line { SrcBlock "Gaussian Noise\nGenerator1" SrcPort 1 Points [15, 0; 0, -30] DstBlock "Real-Imag to\nComplex" DstPort 2 } Line { SrcBlock "Real-Imag to\nComplex" SrcPort 1 Points [25, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 75] DstBlock "Goto" DstPort 1 } } } } Block { BlockType SubSystem Name "Subsystem3" Ports [0, 1] Position [560, 379, 650, 411] ShowName off MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off MaskDisplay "disp('Rayleigh Channel\\n22')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Subsystem3" Location [433, 403, 931, 703] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Reference Name "Gaussian Noise\nGenerator" Ports [0, 1] Position [60, 48, 140, 92] ShowName off SourceBlock "commnoisgen2/Gaussian Noise\nGenerator" SourceType "Gaussian Noise Generator" ShowPortLabels "on" SystemSampleTime "-1" FunctionWithSeparateData "off" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" m "0" d "1/2" s "236" Ts "1e-4/1024" frameBased "on" sampPerFrame "1024" orient "off" outDataType "double" } Block { BlockType Reference Name "Gaussian Noise\nGenerator1" Ports [0, 1] Position [60, 118, 140, 162] ShowName off SourceBlock "commnoisgen2/Gaussian Noise\nGenerator" SourceType "Gaussian Noise Generator" ShowPortLabels "on" SystemSampleTime "-1" FunctionWithSeparateData "off" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" m "0" d "1/2" s "9925" Ts "1e-4/1024" frameBased "on" sampPerFrame "1024" orient "off" outDataType "double" } Block { BlockType Goto Name "Goto" Position [280, 165, 320, 195] ShowName off GotoTag "H_22" TagVisibility "global" } Block { BlockType RealImagToComplex Name "Real-Imag to\nComplex" Ports [2, 1] Position [190, 88, 220, 117] ShowName off } Block { BlockType Outport Name "Out1" Position [285, 98, 315, 112] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Real-Imag to\nComplex" SrcPort 1 Points [25, 0] Branch { Points [0, 75] DstBlock "Goto" DstPort 1 } Branch { DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gaussian Noise\nGenerator1" SrcPort 1 Points [15, 0; 0, -30] DstBlock "Real-Imag to\nComplex" DstPort 2 } Line { SrcBlock "Gaussian Noise\nGenerator" SrcPort 1 Points [15, 0; 0, 25] DstBlock "Real-Imag to\nComplex" DstPort 1 } } } Block { BlockType MATLABFcn Name "V-BLAST Decoder\nLinear ZF" Position [460, 545, 520, 575] Orientation "left" MATLABFcn "VBLAST_decoder_linear_ZF" OutputDimensions "[1024*2, 1]" Output1D off } Block { BlockType MATLABFcn Name "V-BLAST Encoder" Position [375, 275, 435, 305] MATLABFcn "VBLAST_encoder" OutputDimensions "[1024, 2]" Output1D off } Line { SrcBlock "Bernoulli Binary\nGenerator" SrcPort 1 Points [20, 0] Branch { DstBlock "QPSK\nModulator\nBaseband" DstPort 1 } Branch { Points [0, 170] DstBlock "Error Rate\nCalculation" DstPort 1 } } Line { SrcBlock "V-BLAST Encoder" SrcPort 1 Points [0, 0; 20, 0] Branch { Points [0, -120] DstBlock "Submatrix" DstPort 1 } Branch { Points [0, 140] DstBlock "Submatrix1" DstPort 1 } } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Subsystem2" SrcPort 1 DstBlock "Product1" DstPort 2 } Line { SrcBlock "Subsystem1" SrcPort 1 DstBlock "Product2" DstPort 2 } Line { SrcBlock "Subsystem3" SrcPort 1 DstBlock "Product3" DstPort 2 } Line { SrcBlock "Submatrix" SrcPort 1 Points [0, 0; 5, 0] Branch { Points [160, 0] Branch { DstBlock "Product" DstPort 1 } Branch { Points [0, 65] DstBlock "Product1" DstPort 1 } } Branch { Points [0, -120] DstBlock "Math\nFunction" DstPort 1 } } Line { SrcBlock "Submatrix1" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [150, 0; 0, -60] Branch { Points [0, -65] DstBlock "Product2" DstPort 1 } Branch { DstBlock "Product3" DstPort 1 } } Branch { Points [0, -330] DstBlock "Math\nFunction1" DstPort 1 } } Line { SrcBlock "Product" SrcPort 1 DstBlock "Add4" DstPort 1 } Line { SrcBlock "Product3" SrcPort 1 DstBlock "Add5" DstPort 2 } Line { SrcBlock "Product2" SrcPort 1 Points [50, 0; 0, -90] DstBlock "Add4" DstPort 2 } Line { SrcBlock "Product1" SrcPort 1 Points [30, 0; 0, 90] DstBlock "Add5" DstPort 1 } Line { SrcBlock "Add4" SrcPort 1 Points [50, 0] DstBlock "AWGN\nChannel 1" DstPort 1 } Line { SrcBlock "Add5" SrcPort 1 Points [130, 0] DstBlock "AWGN\nChannel 2" DstPort 1 } Line { SrcBlock "AWGN\nChannel 1" SrcPort 1 Points [0, 175] DstBlock "Matrix\nConcatenation" DstPort 1 } Line { SrcBlock "AWGN\nChannel 2" SrcPort 1 Points [0, 65] DstBlock "Matrix\nConcatenation" DstPort 2 } Line { SrcBlock "Math\nFunction" SrcPort 1 DstBlock "Add6" DstPort 1 } Line { SrcBlock "Math\nFunction1" SrcPort 1 DstBlock "Add6" DstPort 2 } Line { SrcBlock "Add6" SrcPort 1 Points [0, 0] DstBlock "Mean" DstPort 1 } Line { SrcBlock "Mean" SrcPort 1 Points [160, 0] DstBlock "SNR Modifier" DstPort 1 } Line { SrcBlock "SNR Modifier" SrcPort 1 Points [0, 0; 0, 50] Branch { DstBlock "AWGN\nChannel 1" DstPort 2 } Branch { Points [80, 0] DstBlock "AWGN\nChannel 2" DstPort 2 } } Line { SrcBlock "From" SrcPort 1 DstBlock "Matrix\nConcatenation" DstPort 3 } Line { SrcBlock "From1" SrcPort 1 DstBlock "Matrix\nConcatenation" DstPort 4 } Line { SrcBlock "From2" SrcPort 1 DstBlock "Matrix\nConcatenation" DstPort 5 } Line { SrcBlock "From3" SrcPort 1 DstBlock "Matrix\nConcatenation" DstPort 6 } Line { SrcBlock "Matrix\nConcatenation" SrcPort 1 DstBlock "V-BLAST Decoder\nLinear ZF" DstPort 1 } Line { SrcBlock "V-BLAST Decoder\nLinear ZF" SrcPort 1 DstBlock "QPSK\nDemodulator\nBaseband" DstPort 1 } Line { SrcBlock "QPSK\nDemodulator\nBaseband" SrcPort 1 Points [-130, 0; 0, -75] DstBlock "Error Rate\nCalculation" DstPort 2 } Line { SrcBlock "Error Rate\nCalculation" SrcPort 1 DstBlock "Display" DstPort 1 } Line { SrcBlock "QPSK\nModulator\nBaseband" SrcPort 1 Points [5, 0] Branch { Points [0, -25] DstBlock "Submatrix2" DstPort 1 } Branch { Points [0, 25] DstBlock "Submatrix3" DstPort 1 } } Line { SrcBlock "Submatrix2" SrcPort 1 DstBlock "Matrix\nConcatenation1" DstPort 1 } Line { SrcBlock "Submatrix3" SrcPort 1 DstBlock "Matrix\nConcatenation1" DstPort 2 } Line { SrcBlock "Matrix\nConcatenation1" SrcPort 1 DstBlock "V-BLAST Encoder" DstPort 1 } }}MatData { NumRecords 2 DataRecord { Tag DataTag1 Data " %)30 . 8 8 ( 0 % ""\" $ ! 0 . , 8 ( ! % \" $ ""$ 0 0 0 365A;@" } DataRecord { Tag DataTag0 Data " %)30 . > 8 ( 0 % ""\" $ ! 0 . 2 8 ( ! % \" $ ""2 0 0 $@ $)E<FYO=6QL:4)I;F%R>4=E;@ " }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -