Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

2 Ansichten (letzte 30 Tage)
Nick Bell
Nick Bell am 24 Okt. 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 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

Antworten (1)

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

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by