%% Create Non-HT Configuration Object
% This example shows how to create non-HT configuration objects. It also shows how to change the default property settings by using dot notation or by overriding the default settings by using Name,Value pairs when creating the object.
%% Create Object and Then Modify Properties
% Create a non-HT configuration object and view the default settings.

nonHT = wlanNonHTConfig

%
% Modify the defaults to specify four transmit antennas and to set the MCS to 3.

nonHT.NumTransmitAntennas = 4;
nonHT.MCS = 3

%
%% Create Object and Override Default Property Values
% Create a non-HT configuration object. Use a Name,Value pair change the modulation scheme to DSSS.

nonHT2 = wlanNonHTConfig('Modulation','DSSS')

% For the DSSS modulation scheme, a different set of properties apply and are shown for the non-HT configuration object.
% Copyright 2012 The MathWorks, Inc.