The Lookup Table Editor

You can use the lookup table editor to modify and plot various types of lookup table blocks, including source blocks like the Repeating Sequence. Starting in Simulink 6.0, the editor supports adding and deleting rows and columns of the active 2-D slice of the table. Data can be placed in the block diagram (64k text per data item is a Simulink limit) or workspace varibles can be created and modified. Data types are supported.

You can register your own lookup table blocks with the editor so if you have custom lookup table blocks, you can edit those as well (some limitations exist to this facility, see the help for details).

One item to note is that the editor does not contain duplicates of block properties, so to change properties of the data or of the lookup block's algorithm or other options, open and use the block's parameter dialog.

1) Open the sample model (do this first)
2) Open the Lookup Table Editor (or use the Tools menu)

For full details on the look-up table editor, see the Simulink help by navigating through:

Using Simulink: Working with Blocks: Look-Up Table Editor


Open the fuelsys model and try the lookup table editor on it



The fuelsys model (below) contains several lookup tables. Whatever table is selected in the table editor gets highlighted, along with all parent subsystems, as seen here:


Here you can see that the table block currently selected is

fuelsys/fuel rate controller/Sensor correction and Fault Redundancy/
Throttle Estimate/Thrott Estimation Table (2-D)

Visualize tables with line plots or mesh plots

The editor has two plotting commands, one for line plots and one for mesh plots. The table editor's plots include breakpoint annotation for the columns and support MATLAB's datatip plot mode.