Creating a Linux application by the MATLAB compiler

44 Ansichten (letzte 30 Tage)
Motti Mushkin
Motti Mushkin am 30 Aug. 2020
Kommentiert: Walter Roberson am 1 Apr. 2022
I am using MATLAB on a Windows 64 machine, and producing a Windows application by the MATLAB application compiler.
I need to run the application on a Linux machine. How can I do it?

Antworten (1)

Walter Roberson
Walter Roberson am 30 Aug. 2020
  • I have seen a small number of people post indicating that if you use the Windows 10 Linux layer and you hack at it long enough, you can get the Linux version of MATLAB installed under Windows 10. This leads to the possibility that with enough hacking you could get use that Linux version running inside Windows to generate a Linux executable; OR
  • Dual-boot your machine. Your license is valid no matter which OS you are using, so go ahead and install Linux as well on your machine, and use your existing license to generate a Linux executable; OR
  • The compilation tool-chain system in MATLAB is in theory flexible enough that you should (in theory) be able to install compilers such as gcc and cross-compile for Linux; OR
  • Install Vine (or similar) on the Linux machine and run the Windows executable under emulation.
If you need advanced features such as the Parallel Computing toolbox, whether for parallel or for GPU, then I would expect that you would have a lot of trouble, except under the dual-boot possibility.
  2 Kommentare
Stephen Wong
Stephen Wong am 1 Apr. 2022
Bearbeitet: Stephen Wong am 1 Apr. 2022
Regarding bullet point 3, the Matlab compilation tool-chain system actually isn't able to compile any Linux because it calls Make which Matlab cannot point or set a path to even if you somehow installed it on Windows.
Dual booting and using WSL on Windows 10/11 defeats the purpose of having one instance of Matlab installed as the the primary working computer.
Matlab really needs to fix this. It's 2022.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by