Can I compile on a 64-bit platform using a 32-bit version of MATLAB Compiler 4.2 (R14SP2) running in emulation mode?
4 次查看(过去 30 天)
显示 更早的评论
I am using the 32-bit version of MATLAB in emulation mode on a 64-bit Linux system. I would like to use the MATLAB Compiler.
采纳的回答
MathWorks Support Team
2011-10-31
The ability to use MATLAB Compiler 4.2 (R14SP2) and later versions in 32-bit emulation mode on a 64-bit machine is not available for Linux platforms. For earlier versions of MATLAB Compiler see the related solution below.
To work around this issue, you have two options.
1. If you want to compile a 32-bit shared library or executable, install MATLAB, MATLAB Compiler, and all required toolboxes on a 32-bit platform. Compile your application on this machine. You will be able to distribute the application on the same platform you compiled it on. You may be able to execute your application in emulation on 64-bit versions of your platform by installing the 32-bit version of the MCR on those computers. However this functionality has not been fully tested by MathWorks.
2. If you want to compile a 64-bit shared library or executable, install the 64-bit version of MATLAB, MATLAB Compiler, and all required toolboxes on your 64-bit machine. Compile your application on this machine. You will be able to distribute the application on the same platform you compiled it on. You will not be able to execute this application on a 32-bit machine.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!