I'd like to know how to setup my c-mex compiler to compile my function as a 32-bit function instead of 64. My matlab is win64 version and my compiler is Microsoft Visual C++ 2010.
Regards,
Daniel
Best Answer
Install the 32 bit version of MATLAB as well, and use it. Remember to use mex -setup from within the 32 bit version.
After speaking with support multiple times it appears that this is currently not possible. The accessing of a 32 bit Office application data via 64 bit Matlab would require Microsoft to create an ODBC driver to do so. Currently there is nothing like this available.
Best Answer