Mac matlab installation, mcr installer for linux?
Mostra commenti meno recenti
Hi all,
I installed Matlab Compiler on my mac and I would like to run my code on a Linux CentOS machine. To do that, I need the proper MCR bin to install the runtime library while in the indicated folder I can just find the MCR dmg image for Mac. Any suggestion?
Thanks, Iros
Risposta accettata
Più risposte (1)
Iros Barozzi
il 16 Mag 2011
0 voti
1 Commento
Walter Roberson
il 16 Mag 2011
MATLAB does not need to be installed on the target machine but the MCR version corresponding to the MATLAB version does.
However, the executable that gets built by mcc or deploytool is specific to the operating system that it was built on. The limit of cross-compilation is that 2011b added the ability to build Windows 32 versions when running Windows 64. Other than that, cross-compilation is not supported.
I am not clear on what the executable _does_, but at the very least it is responsible for unpacking the CTF bundle, and is responsible for some decryption (the compiled files get AES encrypted). It either launches an Threaded Interpreted routine built in to MCR or else itself has the Threaded Interpreted routine and merely makes library calls to MCR. I am not certain whether MCR itself is platform independent or platform specific; I suspect it must be platform specific.
Categorie
Scopri di più su Introduction to Installation and Licensing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!