function hdlblkmask_multiplyadd()
%

%   Copyright 2015-2023 The MathWorks, Inc.

mablk=gcb;
sumblk=[mablk '/Sum'];
rndMode = get_param(mablk, 'RndMeth');
sat = get_param(mablk, 'DoSatur');
func = get_param(mablk, 'Function');
if(strcmp(func,'c-(a.*b)') == 1)
    sign = '+-';
elseif(strcmp(func,'c+(a.*b)') == 1)
    sign = '++';
else
    sign = '-+';
end

set_param(sumblk, 'RndMeth', rndMode, 'SaturateOnIntegerOverflow', sat, 'ListOfSigns', sign);
end
