%% Inactivate RU for Second User in Multiuser HE
% Create a two user HE configuration object. Make the RU for the second user inactive by setting the station identity to 2046.
% Create a multiuser HE configuration object with the allocation index set to 96, which configures an object for two users. The resource information shows that RUs are active for two users.

hemu = wlanHEMUConfig(96);
ruInfo(hemu)

% Set the station identity to 2046 for the second user. The RU allocation information now shows that RUs are active only for RU index 1.

hemu.User{2}.STAID = 2046;
ruInfo(hemu)

% Copyright 2018 The MathWorks, Inc.