function ret = WDCounterClock(hObj)
%WDCOUNTERCLOCK Set the value of Watchdog counter clock based on clock
%pre-divider and clock prescaler

% Copyright 2017 The MathWorks, Inc.

ret = '';
if codertarget.target.isCoderTarget(hObj.getConfigSet())
    WDdata = codertarget.data.getParameterValue(hObj, 'Watchdog');
    ret = ['OSCCLK/' WDdata.Watchdogclockpredivider '/' WDdata.Watchdogclockprescaler];    
end
end