Optimized lookup table data for all Lookup Table blocks in a system
A LUTCompressionResult
object contains the optimized lookup table
data for all Lookup Table blocks in a system. To create a
LUTCompressionResult
object, use the FunctionApproximation.compressLookupTables
function. To replace the lookup
tables in your system with the optimized version, use the replace
function.
compresses all n-D Lookup Table blocks in the specified
system. The compressed Lookup Table blocks output the same numerical
results as the original Lookup Table blocks within the bounds of the
breakpoints.CompressionResult
= compressLookupTables(system
)
You can achieve additional memory savings by compressing each Lookup Table block in the model individually and specifying tolerances for the compressed lookup table.
CompressionResult = compressLookupTables(
compresses all n-D Lookup Table blocks in the specified
system with additional properties specified by name and value pair arguments.system
, Name,Value
)