removeDesignRangeSpecification
Class: coder.FixPtConfig
Namespace: coder
Remove design range specification from parameter
Syntax
removeDesignRangeSpecification(fcnName,paramName)
Description
removeDesignRangeSpecification(
removes the design range information specified for parameter,
fcnName
,paramName
)paramName
, in function, fcnName
.
Input Arguments
Examples
Remove Design Range Specifications
% 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 clear the design ranges and verify that % hasDesignRangeSpecification returns false cfg.removeDesignRangeSpecification('dti', 'u_in') hasDesignRanges = cfg.hasDesignRangeSpecification('dti','u_in')