www.gusucode.com > wlan工具箱matlab源码程序 > wlan/wlan/wlanConfigBase.m

    classdef wlanConfigBase < wlanConfigCommon & matlab.mixin.CustomDisplay 
%wlanConfigBase Base object for configuration object simulation

% Copyright 2015 The MathWorks, Inc.

%#codegen
%#ok<*AGROW>

methods
  function obj = wlanConfigBase(varargin)
    coder.internal.errorIf((mod(nargin,2) ~= 0), ...
        'wlan:wlanConfigBase:InvalidPVPairs');

    for i = 1:2:nargin
        obj.(varargin{i}) = varargin{i+1};
    end
  end
end  

methods (Access = protected)
  function groups = getPropertyGroups(obj)
    propList  = properties(obj);
    activeIdx = true(size(propList));

    for n = 1:numel(propList)
        if isInactiveProperty(obj,propList{n})
            activeIdx(n) = false;
        end
    end

    groups = matlab.mixin.util.PropertyGroup(propList(activeIdx));
  end
end

methods(Access = private, Static)
  function name = matlabCodegenRedirect(~)
    name = 'wlanConfigCodegenBase';
  end
end

end

% [EOF]