Can I compile on a 64-bit platform using a 32-bit version of MATLAB Compiler 4.2 (R14SP2) running in emulation mode?
3 views (last 30 days)
Show older comments
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.
Accepted Answer
MathWorks Support Team
on 31 Oct 2011
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 Comments
More Answers (0)
See Also
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!