i was trying to compile an .m file into C code using Matlab mcc. It worked fine but when i compile the C code into executable i first got the errors ;
testmcc.c: 10: Can't find include file mex.h
testmcc.c: 11: Can't find include file mcc.h
(although my paths were set up correctly)
I then edited the C code to directly look for these two header files explictly using ;
This then didn't throw up the previous errors but instead a few dozen originating from the mcc.h file, for example ;
"/produit/matlab/extern/include/mcc.h", line 173: syntax error at or near type word "char"
I am using a UNIX system with Matlab 4.2c and cc. Can anyone help?