Building a 64 bit mex file from a 32 bit machine

1 visualización (últimos 30 días)
Dan
Dan el 26 de Mayo de 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.

Respuestas (2)

Arnaud Miege
Arnaud Miege el 26 de Mayo de 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 comentario
Jan
Jan el 27 de Mayo de 2011
+1: You cannot compile 64 bit Mex functions on a 32 bit (Windows-) machine.

Iniciar sesión para comentar.


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

Categorías

Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by