%% Get Information Related to SRS
% Adjust the length of the PUCCH to allow for SRS transmission using the shortened field.
% The setup in this example is consistent with Simultaneous-ACK/NACK-and-SRS set to 'True' as described in TS 36.213, Section 8.2. Generate pucchSymbols, using ue.Shortened=1.

ue = lteRMCUL('A1-1');
srs.SubframeConfig = 0;
srsInfo = lteSRSInfo(ue,srs);
ue.Shortened = srsInfo.IsSRSSubframe;
harqValues = [];

%

pucchSymbols = ltePUCCH1(ue,ue.PUSCH,harqValues);

% For the default case, Simultaneous-ACK/NACK-and-SRS is 'False', and the PUCCH is transmitted with ue.Shortened=0.
% Copyright 2012 The MathWorks, Inc.