MATLAB Answers

How to generate a standalone application for Linux?

2 views (last 30 days)
Benson Gou
Benson Gou on 1 Aug 2020
Commented: Mil Shastri on 11 Aug 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.

  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:
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:

Sign in to comment.

Answers (0)


Community Treasure Hunt

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

Start Hunting!