MATLAB: How to create Linux MEX File in Windows 7 x64

linux

Hello everyone, I'd like to create linux mex (or dll) file using Windows 7 (x64) Matlab. Could you please tell me how to do it? Is it possible or I need to create mex file on linux directly?
The second question is how to create mex file for 32bit windows from 64bit windows?
I'd be grateful for any help.
Marcin

Best Answer

For compiling 32-bit MEX files on 64-bit Windows, see my answer on http://www.mathworks.com/matlabcentral/answers/4649-deploy-for-windows-32-bit-from-a-64-bit-computer
Related Question