Can I compile on a 64-bit platform using a 32-bit version of MATLAB Compiler 4.2 (R14SP2) running in emulation mode?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
MathWorks Support Team
am 31 Okt. 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!