function ret = CMPSSEnable(hObj, CMPSSModule, Module)
%CMPSSENABLE CMPSS COMP configuration update select.

% Copyright 2019 The MathWorks, Inc.

ret = 0;

if codertarget.target.isCoderTarget(hObj.getConfigSet())
    CMPSSdata = codertarget.data.getParameterValue(hObj, CMPSSModule);
    % Enable COMP Configuration depending upon the CMPSS Module enable or disabled..
        ret = CMPSSdata.(Module);
end