function A = subsasgnDot(A, aidx, B) %#ok<INUSD>
% Dot assignment for general distributed arraus (not currently supported)

% Copyright 2018-2019 The MathWorks, Inc.

% Dot assignment on numericish data is not allowed. For structs it isn't supported yet.
if isstruct(A)
    % Field assignment for structs is not yet supported.
    error(message('parallel:distributed:SubsasgnBadIndexType'));
else
    % Throw same error as MATLAB.
    error(message("MATLAB:structAssToNonStruct"));
end
end
