How to generate a standalone application for Linux?

31 vues (au cours des 30 derniers jours)
Benson Gou
Benson Gou le 1 Août 2020
Commenté : Mil Shastri le 11 Août 2020
Dear All,
I have a Matlab code. The user does not have Matlab and his platform is Linux not Windows. In order for the user to use my Matlab code, I have to generate a standalone application for Linux. But I do not know how. Does anybody know how to do this?
Thanks in advance.
Benson
  1 commentaire
Mil Shastri
Mil Shastri le 11 Août 2020
Hello Benson,
Here is a discussion that has a relevant topic (Can an application be deployed from one type of platform to another?) that might help: https://www.mathworks.com/matlabcentral/answers/376744-frequently-asked-questions-matlab-compiler
The short answer is, unfortunately, cross-compiling an executable from one platform (Windows) for deployment on another platform (Linux) is not possible. However, if your end-user might be interested in using a platform independent JAVA archive (.jar) file, here's a workflOW to achieve that using the Compiler SDK: https://www.mathworks.com/help/compiler_sdk/java/ensuring-multi-platform-portability.html
Regards,
Mil

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Downloads dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by