필터 지우기
필터 지우기

How can I make a standalone of a matlabfile on a mac computer and use the standalone on a linux computer?

조회 수: 5 (최근 30일)
I have to make a standalone of some matlabfiles on a mac computer. This standalones must run on a linux computer. I use the matlab compiler, but this give me .app files? How do I get the right files for a linux computer? (I know that I have to install Matlab Runtime on the linux computer)

채택된 답변

Walter Roberson
Walter Roberson 2015년 8월 25일
You dual-boot the Mac into Linux and compile there.
It is not possible at this time to compile for a different operating system, with the exception that on 64 bit MS Windows systems if you use the 32 bit MATLAB then it can compile for 32 bit MS Windows (those are considered different operating systems families as the binaries are not compatible.)
  댓글 수: 7
Walter Roberson
Walter Roberson 2015년 8월 26일
If you were to use MATLAB Compiler SDK to build a java or .NET tool, then you would still need MCR.
If you were to use MATLAB Coder then if your code fits within the restrictions you could produce C or C++ code that could be compiled on any system.
Diede
Diede 2015년 8월 26일
Ok, thank you. Thus the best for me is maybe to convert my matlab code into C or C++?
(I also try something with converting my matlab code to python and that python code into an exe)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB Compiler SDK에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by