clearDesignRangeSpecifications
모든 설계 범위 사양 지우기
구문
clearDesignRangeSpecifications()
설명
clearDesignRangeSpecifications()
는 모든 설계 범위 사양을 지웁니다.
예제
설계 범위 사양 지우기
% Set up the fixed-point configuration object cfg = coder.config('fixpt'); cfg.TestBenchName = 'dti_test'; cfg.addDesignRangeSpecification('dti', 'u_in', -1.0, 1.0) cfg.ComputeDerivedRanges = true; % Verify that the 'dti' function parameter 'u_in' has design range hasDesignRanges = cfg.hasDesignRangeSpecification('dti','u_in') % Now remove the design range cfg.clearDesignRangeSpecifications() hasDesignRanges = cfg.hasDesignRangeSpecification('dti','u_in')