Can I Compile a 32-bit Executable for distribution on 32-bit Windows systems using a Matlab R2014a 64-bit on a 64-bit Windows 7 Professional OS?

조회 수: 1 (최근 30일)
Compile Computer O/S: Windows 7 Professional, 64 bit Distribution Computer O/S: Windows based, various OS versions, 32 bit. Matlab version: R2014a Compiler: mcc to generate executable
Can I Compile a 32-bit Executable for distribution on 32-bit Windows systems using a Matlab R2014a 64-bit on a 64-bit Windows 7 Professional OS?

답변 (1개)

Aurelien Queffurust
Aurelien Queffurust 2014년 3월 21일
Yes you can . Please note that the mcc documentation is wrong for this subject (already informed technical support for this subject).
I am exactly in the same configuration as you . On my Windows 7 64-bits , I have installed both MATLAB 32-bit and MATLAB 64-bit in different folders. Then within your MATLAB 32-bit you just compile as usual , no need to use the -win32 switch. This will create a standalone for Windows 32-bits. Note that you will be also be able to run this standalone under your Windows 64-bits if you have of course the MCR 32-bits installed on your machine.
  댓글 수: 1
Friedrich
Friedrich 2014년 3월 21일
편집: Friedrich 2014년 3월 21일
What is wrong in the documentation? The doc for MCC is 100% correct.
In addition your answer does not adress the actual question. You provide a way of compiling a 32bit application on a 64bit OS.
However the question was if one can compile a 32bit application out of a 64bit MATLAB which is NOT possible.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Standalone Applications에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by