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

% Copyright 2018-2019 The MathWorks, Inc.

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