Lookup-Tabellen
R2026bBlöcke, die Nichtlinearität modellieren, indem sie Eingangswerte auf Ausgangswerte abbilden, z. B. n-D Lookup Table und 1-D Lookup Table
Verwenden Sie Blöcke aus der Bibliothek „Lookup Tables“, um nichtlineares Verhalten zu modellieren. Lookup-Tabellen-Blöcke benutzen Datenfelder, um Eingabewerte Ausgabewerten zuzuordnen und so mathematische Funktionen zu approximieren. Um eine Funktion in N Variablen zu approximieren, verwenden Sie den n-D Lookup Table-Block.
Näheres zum Hinzufügen von Blöcken aus dieser Bibliothek zu Ihrem Modell finden Sie unter Add Blocks to Models.
Um die Lookup-Tabellen in Ihrer Umgebung zu verwalten, können Sie den Lookup Table Editor verwenden. Sehen Sie dazu das Video Verwendung des Lookup Table Editors (5 Min. 9 Sek.).
Blöcke
| 1-D Lookup Table | Approximate one-dimensional function | |
| 2-D Lookup Table | Approximate two-dimensional function | |
| Direct Lookup Table (n-D) | Index into n-dimensional table to retrieve element, vector, or 2-D matrix | |
| Interpolation Using Prelookup | Use precalculated index and fraction values to accelerate approximation of N-dimensional function | |
| Lookup Table Dynamic | (Not recommended) Approximate a one-dimensional function using dynamic table | |
| Prelookup | Compute index and fraction for Interpolation Using Prelookup block | |
| Sine | Implement fixed-point sine or cosine wave using lookup table approach that exploits quarter wave symmetry | |
| n-D Lookup Table | Approximate n-dimensional function |
Tools
| Lookup Table Editor | Create, edit, and manage lookup tables in models (Seit R2022a) |
| Library Browser | Find and add blocks to model |
Themen
Verstehen von Lookup-Tabellen
- Lookup Table Overview
Learn about the anatomy and characteristics of Lookup Table blocks, objects, and tools. - Configure Lookup Table Block for Logarithmic Operation
Configure an n-D Lookup Table block for logarithmic operation with the common logarithmic base (base 10). - Add Blocks to Models
Use the Library Browser and quick insert menu to insert blocks.
Implementieren von Lookup-Tabellen zum Approximieren nichtlinearer Systeme
- Choose Lookup Table Blocks Based on Input, Breakpoint and Output Data
Select the Lookup Table block best suited for your application. - Enter Breakpoints and Table Data
Specify breakpoint vectors and table data for a lookup table. - Specify Breakpoint and Table Data with Variable Size and Symbolic Dimensions
Specify breakpoint and table data that changes size during model simulation or represented by symbolic dimensions. - Import Data to Lookup Table
Import table and breakpoint data from MATLAB® workspace and Excel® spreadsheets. - Choose Numerical Methods to Approximate Function Values
Set the method by which Lookup Table blocks approximate function values. - Optimize Lookup Tables for Memory-Efficiency (Fixed-Point Designer)
Optimize Lookup Tables using the Lookup Table Optimizer. - Use Row-Major Algorithms for Lookup Table Blocks
Use row-major algorithms for C/C++ code generation from models containing Lookup Table blocks. - Optimize Generated Code for Lookup Table Blocks
Optimize code for Lookup Table blocks.
Bearbeiten und Visualisieren von Lookup-Tabellen
- Edit and Visualize Lookup Table Data
View, add, delete, or update lookup table data.
Aktualisierung von Lookup-Tabellen aus älteren Versionen
- Update Lookup Table Blocks to New Versions
Update existing models to use current versions of lookup table blocks.







