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')