Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

3 visualizzazioni (ultimi 30 giorni)
Nick Bell
Nick Bell il 24 Ott 2012
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (1)

Andreas Goser
Andreas Goser il 24 Ott 2012
You really need to create the EXE from another installation with a 32 bit MATLAB on a 32 bit OS.
  2 Commenti
Nick Bell
Nick Bell il 24 Ott 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 il 24 Ott 2012
Modificato: Kaustubha Govind il 24 Ott 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.

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by