Solution I got from mathworks technical support -
Get rid of these errors by removing the included header file in the Configuration Parameters. Perform forllowing Steps -
Open Configuration Parameters:
Open Code Generation tab -> Custom Code -> Insert custom C code in generated -> Header File:
There is an entry for #"include F2837xD_IPC_drivers.h" which you can delete.
This should get rid of the build error!