%% Create wlanVHTConfig Object for Two Users
% Create a VHT configuration object for a 20 MHz two-user transmission with one antenna per user.
% Create a wlanVHTConfig object using a combination of name-value pairs and inline initialization to change default settings. Vector-valued properties apply user-specific settings.

cfgMU = wlanVHTConfig('ChannelBandwidth','CBW20','NumUsers',2, ...
    'GroupID',2,'NumTransmitAntennas',2);
cfgMU.NumSpaceTimeStreams = [1 1];
cfgMU.MCS = [4 8];
cfgMU.APEPLength = [1024 2048];
cfgMU.ChannelCoding = {'BCC' 'LDPC'}

% The configuration object settings reflect the updates specified. Properties that aren't modified take their default values.
% Copyright 2012 The MathWorks, Inc.