function ret = SDCardLoggingEnable(hObj)
%SDCARDLOGGINGENABLE  Set the state of the auto-detect

% Copyright 2019 The MathWorks, Inc.

ret = 0;
if codertarget.target.isCoderTarget(hObj.getConfigSet())
    data = codertarget.data.getParameterValue(hObj, 'SDCard');
    ret = data.Enable;
end
end