MATLAB: Is it possible to populate a lookup table in Simulink 7.0 (R2007b) using multiple breakpoint vectors as the inputs and a vector as the table data

simulink

I would like to populate a Lookup Table (n-D) block with non-equally-spaced table data represented by three input vectors and one output vector. However, when I enter my breakpoints and table data in the Lookup Table (n-D) block, Simulink prompts me to specify a 3-D array for the output values.

Best Answer

The ability to populate a lookup table with non-equidistant table data represented by multiple input vectors and one output vector is not available in Simulink 7.0 (R2007b).
To work around this issue, transform the output array into an appropriately sized matrix using the GRIDDATA or GRIDDATA3 functions.