%% Obtain ULSCH Info for Transport Blocks in Structure Array
% Obtain information for UL-SCH coding of two transport blocks (codewords) with UCI (3 bit RI, 2 bit HARQ-ACK). Each element in the output array corresponds to a codeword.
% Create a PUSCH configuration structure and an empty UE structure.

pusch.Modulation = {'QPSK' '16QAM'};
pusch.NLayers = 3;
pusch.PRBSet = [0:74].';
ue = struct();

%
% Specify the number of CQI, RI, and HARQ-ACK bits

OCQI = 0;
ORI = 3;
OACK = 2;
blkLen = [6712 6712];

%
% View the UL-SCH information

info = lteULSCHInfo(ue,pusch,blkLen ,OCQI,ORI,OACK)

% Copyright 2012 The MathWorks, Inc.