Approssimazione di funzioni con le tabelle di ricerca
Creare e ottimizzare le tabelle di ricerca delle funzioni in Simulink®
Utilizzando Lookup Table Optimizer, è possibile generare tabelle di ricerca efficienti dal punto di vista della memoria che approssimano funzioni, sottosistemi e blocchi. È inoltre possibile utilizzarlo per ottimizzare un blocco Lookup Table esistente.
App
Lookup Table Optimizer | Optimize existing lookup table or approximate function with lookup table |
Classi
FunctionApproximation.Problem | Object defining the function to approximate, or the lookup table to optimize |
FunctionApproximation.Options | Specify additional options to use with
FunctionApproximation.Problem object |
FunctionApproximation.LUTSolution | Optimized lookup table data or lookup table data approximating a math function |
FunctionApproximation.LUTMemoryUsageCalculator | Calculate memory used by lookup table blocks in a system |
FunctionApproximation.TransformFunction | Object defining transform function to approximate (Da R2023a) |
Oggetti
LUTCompressionResult | Optimized lookup table data for all Lookup Table blocks in a system |
Funzioni
FunctionApproximation.compressLookupTables | Compress all Lookup Table blocks in a system |
coder.approximation | Create function replacement configuration object |
DataTypeWorkflow.findDecoupledSubsystems | Get a list of subsystems to replace with an approximation |
Argomenti
- Optimize Lookup Tables for Memory-Efficiency
Optimize Lookup Tables using the Lookup Table Optimizer.
- Optimize Lookup Tables for Memory-Efficiency Programmatically
Optimize an existing lookup table, generate a lookup table from a Math Function block or function handle.
- Generate an Optimized Lookup Table as a MATLAB Function
Use the Lookup Table Optimizer to generate a lookup table as a MATLAB® function.
- Generate an Optimized Lookup Table as a MATLAB Function Programmatically
Programmatically generate an optimized lookup table as a MATLAB function.
- Approximate Functions with a Direct Lookup Table
Generate direct lookup table approximations of functions or blocks.
- Convert Floating-Point Model to Fixed Point
Use the Fixed-Point Tool to convert a floating-point model to fixed point.