Main Content
addApproximation
Class: coder.FixPtConfig
Namespace: coder
Replace floating-point function with lookup table during fixed-point conversion
Syntax
addApproximation(approximationObject)
Description
addApproximation(
specifies a lookup table replacement in a approximationObject
)coder.FixPtConfig
object. During floating-point
to fixed-point conversion, the conversion process
generates a lookup table approximation for the function specified in
the approximationObject
.