Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 5 (최근 30일)
Nick Bell
Nick Bell 2012년 10월 24일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (1개)

Andreas Goser
Andreas Goser 2012년 10월 24일
You really need to create the EXE from another installation with a 32 bit MATLAB on a 32 bit OS.
  댓글 수: 2
Nick Bell
Nick Bell 2012년 10월 24일
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 2012년 10월 24일
편집: Kaustubha Govind 2012년 10월 24일
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.

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by