Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

32/64 bit C MEX

Asked by Daniel on 23 Nov 2012

Hello,

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

0 Comments

Daniel

Tags

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson on 23 Nov 2012
Accepted answer

Install the 32 bit version of MATLAB as well, and use it. Remember to use mex -setup from within the 32 bit version.

0 Comments

Walter Roberson

Contact us