%% Obtain ULSCH Info for Transport Blocks in Scalar Structure
% Obtain information in a single scalar structure for the UL-SCH coding of two transport blocks with UCI, specifying 3-bit RI and 2-bit HARQ-ACK.
% 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. Most fields in the structure contain two elements corresponding to each codeword.

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

% Copyright 2012 The MathWorks, Inc.