- 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.
Creating a Linux application by the MATLAB compiler
조회 수: 45 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
Walter Roberson
2020년 8월 30일
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
Stephen Wong
2022년 4월 1일
편집: Stephen Wong
2022년 4월 1일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!