function freblkCallbackOutputConfig(blk)
%   Utility function of FRE block

%   Author: R. Chen
%   Copyright 2018 The MathWorks, Inc.

IsOutputCD = strcmpi(get_param(blk,'OutputMode'),slsvInternal('slsvGetEnStringFromCatalog','Slcontrol:onlinefre:rbtnElementCplusD'));
maskObj = Simulink.Mask.get(blk);
obj = maskObj.getDialogControl('DiagramImage');
if IsOutputCD
    obj.FilePath = 'freblkDiagram.png';
else
    obj.FilePath = 'freblkDiagramOnlyD.png';
end
