function varargout = binornd(varargin)
% BINORND Codistributed random arrays from the binomial distribution.
%
%   R = BINORND(N,P)
%   R = BINORND(N,P,MM,NN,...) or R = BINORND(N,P,[MM,NN,...]) 
%
%   See also BINORND, RANDOM.

% Copyright 2019 The MathWorks, Inc.

% Use a separate helper so that indexing works as normal. This can be
% removed once (co)distributed supports COLON.
[varargout{1:max(nargout, 1)}] = stats.internal.distributedhelpers.binornd(varargin{:});

