function varargout = deal(varargin)
%MATLAB Code Generation Library Function

%   Copyright 1984-2019 The MathWorks, Inc.
%#codegen

coder.internal.allowHalfInputs;
coder.internal.allowEnumInputs;
if nargin == 1
    % varargout = varargin(ones(1,nargout));
    for k = coder.unroll(1:nargout)
        varargout{k} = varargin{1};
    end
else
    eml_invariant(nargout == nargin, ...
        'MATLAB:deal:narginNargoutMismatch');
    % varargout = varargin;
    for k = coder.unroll(1:nargout)
        varargout{k} = varargin{k};
    end
end
