📄 vblast_2tx_2rx.mdl
字号:
OutType "Bit" Dec "Binary" Ph "pi/4" outDtype1 "double" outDtype2 "double" } Block { BlockType Reference Name "QPSK\nModulator\nBaseband" Ports [1, 1] Position [165, 266, 240, 314] SourceBlock "commdigbbndpm3/QPSK\nModulator\nBaseband" SourceType "QPSK Modulator Baseband" 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" InType "Bit" Enc "Binary" Ph "pi/4" outDtype "double" outWordLen "16" outUDDataType "sfix(16)" outFracLenMode "Best precision" outFracLen "15" } Block { BlockType Gain Name "SNR Modifier" Position [905, 125, 935, 155] Orientation "down" Gain "1/(10.^3)" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Reference Name "Submatrix" Ports [1, 1] Position [485, 157, 515, 183] ShowName off SourceBlock "dspmtrx3/Submatrix" SourceType "Submatrix" RowSpan "All rows" RowStartMode "First" RowStartIndex "1" RowEndMode "Last" RowEndIndex "1" ColSpan "Range of columns" ColStartMode "Index" ColStartIndex "1" ColEndMode "Index" ColEndIndex "1" } Block { BlockType Reference Name "Submatrix1" Ports [1, 1] Position [485, 417, 515, 443] ShowName off SourceBlock "dspmtrx3/Submatrix" SourceType "Submatrix" RowSpan "All rows" RowStartMode "First" RowStartIndex "1" RowEndMode "Last" RowEndIndex "1" ColSpan "Range of columns" ColStartMode "Index" ColStartIndex "2" ColEndMode "Index" ColEndIndex "2" } Block { BlockType Reference Name "Submatrix2" Ports [1, 1] Position [270, 252, 295, 278] ShowName off SourceBlock "dspmtrx3/Submatrix" SourceType "Submatrix" RowSpan "Range of rows" RowStartMode "Index" RowStartIndex "1" RowEndMode "Index" RowEndIndex "1024" ColSpan "All columns" ColStartMode "First" ColStartIndex "1" ColEndMode "Last" ColEndIndex "1" } Block { BlockType Reference Name "Submatrix3" Ports [1, 1] Position [270, 302, 295, 328] ShowName off SourceBlock "dspmtrx3/Submatrix" SourceType "Submatrix" RowSpan "Range of rows" RowStartMode "Index" RowStartIndex "1024+1" RowEndMode "Index" RowEndIndex "1024*2" ColSpan "All columns" ColStartMode "First" ColStartIndex "1" ColEndMode "Last" ColEndIndex "1" } Block { BlockType SubSystem Name "Subsystem" Ports [0, 1] Position [560, 179, 650, 211] ShowName off MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off MaskDisplay "disp('Rayleigh Channel\\n11')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Subsystem" 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 "41" 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 "413" 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_11" 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 "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 "Subsystem1" Ports [0, 1] Position [560, 314, 650, 346] ShowName off MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off MaskDisplay "disp('Rayleigh Channel\\n21')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Subsystem1" 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 "209" 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 "91" 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_21" 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 SubSystem Name "Subsystem2" Ports [0, 1] Position [560, 244, 650, 276] ShowName off MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off MaskDisplay "disp('Rayleigh Channel\\n12')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Subsystem2" 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 "785" 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 "112" 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_12" TagVisibility "global" } Block { BlockType RealImagToComplex Name "Real-Imag to\nComplex" Ports [2, 1] Position [190, 88, 220, 117] ShowName off } Block { BlockType Outport
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -