Class: coder.FixptConfig
Package: coder
Replace floating-point function with fixed-point function during fixed-point conversion
addFunctionReplacement(floatFn,fixedFn)
addFunctionReplacement(
specifies
a function replacement in a floatFn
,fixedFn
)coder.FixptConfig
object.
During floating-point to fixed-point conversion in the HDL code generation workflow,
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.
You can specify function replacements in the HDL Workflow Advisor. See Function Replacements.