Building a 64 bit mex file from a 32 bit machine

1 vue (au cours des 30 derniers jours)
Dan
Dan le 26 Mai 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.

Réponses (2)

Arnaud Miege
Arnaud Miege le 26 Mai 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.
HTH,
Arnaud
  1 commentaire
Jan
Jan le 27 Mai 2011
+1: You cannot compile 64 bit Mex functions on a 32 bit (Windows-) machine.

Connectez-vous pour commenter.


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

Catégories

En savoir plus sur Write C Functions Callable from MATLAB (MEX Files) dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by