Creating a Linux application by the MATLAB compiler

44 visualizaciones (últimos 30 días)
Motti Mushkin
Motti Mushkin el 30 de Ag. de 2020
Comentada: Walter Roberson el 1 de Abr. de 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?

Respuestas (1)

Walter Roberson
Walter Roberson el 30 de Ag. de 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 comentarios
Stephen Wong
Stephen Wong el 1 de Abr. de 2022
Editada: Stephen Wong el 1 de Abr. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by