addFunctionReplacement
Class: coder.FixPtConfig
Namespace: coder
Replace floating-point function with fixed-point function during fixed-point conversion
Syntax
addFunctionReplacement(floatFn,fixedFn)
Description
addFunctionReplacement(
specifies a function replacement in a floatFn
,fixedFn
)coder.FixPtConfig
object. During floating-point to fixed-point
conversion, the conversion process replaces the specified floating-point
function with the specified fixed-point function. The fixed-point function must be in
the same folder as the floating-point function or on the MATLAB® path.