Main Content

Approximate Functions with Lookup Tables

Create and optimize function lookup tables in Simulink®

Using the Lookup Table Optimizer, you can generate memory-efficient lookup tables that approximate functions, subsystems, and blocks. You can also use it to optimize an existing Lookup Table block.

Apps

Lookup Table OptimizerOptimize existing lookup table or approximate function with lookup table

Classes

FunctionApproximation.ProblemObject defining the function to approximate, or the lookup table to optimize
FunctionApproximation.Options Specify additional options to use with FunctionApproximation.Problem object
FunctionApproximation.LUTSolutionOptimized lookup table data or lookup table data approximating a math function
FunctionApproximation.LUTMemoryUsageCalculatorCalculate memory used by lookup table blocks in a system
FunctionApproximation.TransformFunctionObject defining transform function to approximate (Since R2023a)

Objects

LUTCompressionResultOptimized lookup table data for all Lookup Table blocks in a system (Since R2020a)

Functions

FunctionApproximation.compressLookupTablesCompress all Lookup Table blocks in a system (Since R2020a)
coder.approximationCreate function replacement configuration object
DataTypeWorkflow.findDecoupledSubsystemsGet a list of subsystems to replace with an approximation

Topics

Featured Examples