I am trying to compile a MEX-function in MATLAB 7.6 (R2008a) using the following command:
mex 'EKF.c' -I'.' -g
If I select LCC-win32 as my compiler, I do not see any errors. If I select either Microsoft Visual C++ 2005 or Microsoft Visual Studio 2008 as the compiler, and then try to compile the MEX-function using the same command shown above, I receive multiple errors of the following form:
error...C:\Documents and Settings\bmartos\Desktop\IMU+GPS\SfunctionsPaulBizard\EKF.c(997) : error C2371: 'kalmanUpdate' : redefinition; different basic types
Best Answer