clearDesignRangeSpecifications
Class: coder.FixPtConfig
Namespace: coder
Clear all design range specifications
Syntax
clearDesignRangeSpecifications()
Description
clearDesignRangeSpecifications()
clears
all design range specifications.
Examples
Clear a Design Range Specification
% 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')