coder.approximation
R2026bCreate function replacement configuration object
Syntax
Description
creates a function replacement configuration object for use during code generation
or fixed-point conversion. The configuration object specifies how to create a lookup
table approximation for the MATLAB® function specified by q = coder.approximation(function_name)function_name. To associate
this approximation with a coder.FixptConfig object for use with
the codegen function, use the
coder.FixptConfig configuration object
addApproximation method.
Use this syntax only for the functions that coder.approximation can replace
automatically. These functions are listed in the function_name
argument description.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2014b