Main Content

removeDesignRangeSpecification

クラス: coder.FixPtConfig
名前空間: coder

パラメーターからの設計範囲指定の削除

構文

removeDesignRangeSpecification(fcnName,paramName)

説明

removeDesignRangeSpecification(fcnName,paramName) は関数 fcnName のパラメーター paramName に対して指定されている設計範囲情報を削除します。

入力引数

すべて展開する

関数名。文字列で指定します。

データ型: char

パラメーター名は文字列として指定されます。

データ型: char

設計範囲指定の削除

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