function varargout = subsrefBraces(varargin) %#ok<STOUT>
% Brace indexing for general distributed arrays (not currently supported)

% Copyright 2018-2019 The MathWorks, Inc.

% General braces indexing is not yet supported.
if isnumeric(varargin{1}) || islogical(varargin{1}) || ischar(varargin{1})
    % Normal MATLAB limitation
    error(message('MATLAB:cellRefFromNonCell'));
else
    % Distributed-specific limitation
    error(message('parallel:distributed:SubsrefBadIndexType'));
end
end
