Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Running a .exe from compiler with a 32bit operating system

5 visualizaciones (últimos 30 días)
Nick Bell
Nick Bell el 24 de Oct. de 2012
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I have a .exe from compiler that was compiled in 2012a on a 64bit computer. It works fine on 64bit computers/laptops but when I try to run it on a 32bit computer (which has MCR installed) I get a windows error that it is not a valid 32bit executable.
Have I misunderstood the limitations of compiler and a .exe compiled on a 64bit machine cannot be used on a 32bit machine? I thought the MCR would work around this.
Thanks

Respuestas (1)

Andreas Goser
Andreas Goser el 24 de Oct. de 2012
You really need to create the EXE from another installation with a 32 bit MATLAB on a 32 bit OS.
  2 comentarios
Nick Bell
Nick Bell el 24 de Oct. de 2012
That's a pain; I don't think we have any computers running 32bit OS with MATLAB, and we have limited licences for compiler!
I might have to be clever and run the .exe on a different computer (64bit OS) at the same workstation and use a macro to do the necessary housework to get files in the right place for the .exe to work.
Kaustubha Govind
Kaustubha Govind el 24 de Oct. de 2012
Editada: Kaustubha Govind el 24 de Oct. de 2012
Nick: Perhaps you should check with MathWorks Licensing Support about getting a 32-bit MATLAB installation on an existing license? I believe you should be able to install 32-bit MATLAB on a 64-bit machine to compile 32-bit applications. See this previously answered question.

La pregunta está cerrada.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by