How to generate a standalone application for Linux?

36 views (last 30 days)
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 Comment
Mil Shastri
Mil Shastri on 11 Aug 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

Sign in to comment.

Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!