I used Real time workshop to generate c code from a simulink model. When I tried to compile the resultant C code, I get the above error. When I check in the MODEL.c file, the function rt_lookup is called, but not defined.
After some research in google, I found that lookup tables are used if your model has subsystems.(Yes my model has some subsystems) but no information on this error.
I believe this function is defined in some library file. Any inputs regarding this is really helpful. Thanks in advance.