I am new to Matlab and want to use lookup tables. Using the Matlab help on lookup tables I found the following code to import a lookup table form excel -
data = xlsread('MySpreadsheet','Sheet1');
breakpoints1 = data(2:end,1)';
breakpoints2 = data(1,2:end);
table_data = data(2:end,2:end);
I have copied the excel file in the Matlab folder too. Now how do I actually lookup values from the table? What is the command/function? Will I have to necessarily use Simulink?