function opts = disableDedChecks(opts)
% Disable all DED checks for the provided sldvoptions.

 % Copyright 2019-2020 The MathWorks, Inc.

    opts.DetectDeadLogic = 'off';
    opts.DetectActiveLogic = 'off';
    opts.DetectOutOfBounds ='off';
    opts.DetectDivisionByZero = 'off';
    opts.DetectIntegerOverflow = 'off';
    opts.DetectInfNaN = 'off';
    opts.DetectSubnormal = 'off';
    opts.DesignMinMaxCheck ='off';
    opts.DetectDSMAccessViolations = 'off';
    opts.DetectHISMViolationsHisl_0002 = 'off';
    opts.DetectHISMViolationsHisl_0003 = 'off';
    opts.DetectHISMViolationsHisl_0004 = 'off';
    opts.DetectHISMViolationsHisl_0028 = 'off';
    opts.DetectBlockConditions = '';               % Yes, ''. Not 'off'
    opts.DetectBlockInputRangeViolations = 'off';
end
