Building a 64 bit mex file from a 32 bit machine

2 views (last 30 days)
Dan on 26 May 2011
Can I build a 64 bit mex file from a 32 bit machine?
Background: We're introducing 64 bit machines into our test environment and our mex files are built as part of the software release process each week. I would be a pain for the builder to have to make a special trip to a 64 bit machine just to build the 64 bit mex files.

Answers (2)

Arnaud Miege
Arnaud Miege on 26 May 2011
I don't believe so. The other way round is possible because you can install a 32-bit MATLAB on a 64-bit O/S. You can't however, install 64-bit MATLAB on a 32-bit O/S, it's a fundamental limitation of the O/S.
  1 Comment
Jan on 27 May 2011
+1: You cannot compile 64 bit Mex functions on a 32 bit (Windows-) machine.

Sign in to comment.

Jan on 27 May 2011
It would be a real pain, if you build the 64-bit mex files without testing them exhaustively on a 64 bit machine.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by