1. A system comprising: a memory to store data defining a graphical block diagram model including an executable graphical block, the graphical block including one or more inputs for receiving input data, the executable graphical block defining a lookup table adaptation algorithm, the executable graphical block generating an adaptive lookup table for simulating a plant, the lookup table adaptation algorithm adapting the adaptive lookup table when the plant is simulated, and where the input data received at the one or more inputs includes: first data that is input to the plant, and second data that is output from the plant; and one or more processors to: receive breakpoint data; partition the adaptive lookup table into cells based on the breakpoint data; initialize the adaptive lookup table with initial table data; generate code to simulate the graphical block diagram model, the generated code including code to simulate the adaptive lookup table; execute the generated code; and update data stored in the adaptive lookup table based on the input data received at the one or more inputs during execution of the generated code, the update resulting in adaption of the adaptive lookup table.