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 天)

采纳的回答

MathWorks Support Team
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 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

产品


版本

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by