removeDesignRangeSpecification
クラス: coder.FixPtConfig
名前空間: coder
パラメーターからの設計範囲指定の削除
構文
removeDesignRangeSpecification(fcnName,paramName)
説明
removeDesignRangeSpecification(
は関数 fcnName
,paramName
)fcnName
のパラメーター paramName
に対して指定されている設計範囲情報を削除します。
入力引数
例
設計範囲指定の削除
% 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')