%% Get PSDU Length for HE Configuration Objects
% Get the PSDU length of single user and multiuser HE configuration objects.
%% Get Single User PSDU Length
% Create a single user HE configuration object. Get and display the PSDU length for the configured object.

hesu = wlanHESUConfig;
psduLength = getPSDULength(hesu)

%% Get Multiuser PSDU Lengths
% Create a multiuser HE configuration object with the allocation index set to 5, which configures the object with seven users. Get and displaythe PSDU lengths for the configured object.

hemu = wlanHEMUConfig(5);
psduLength = getPSDULength(hemu)

% Copyright 2018 The MathWorks, Inc.