Can I compile on a 64-bit platform using a 32-bit version of MATLAB Compiler 4.2 (R14SP2) running in emulation mode?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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.
Risposta accettata
MathWorks Support Team
il 31 Ott 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su MATLAB Compiler in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!