function b = removecats(a, varargin)
%REMOVECATS Remove categories from a categorical array.
%   
%   B = REMOVECATS(A,OLDCATEGORIES)
%    
%   See also CATEGORICAL/REMOVECATS, distributed.
%   


%   Copyright 2016-2019 The MathWorks, Inc.

narginchk(1,2);
if nargout == 0
    error(message('MATLAB:categorical:NoLHS',upper(mfilename),',OLD'));
end

b = distributedutil.distributedSpmdWrapper( @removecats, a, varargin{:} );
