Is it possible to compile MatLab GUI to mac from windows?

조회 수: 5 (최근 30일)
A
A 2015년 6월 3일
댓글: Walter Roberson 2019년 11월 1일
Hi,
I have a matlab GUI interface which I could like to compile so that it is executable on a mac machine (I'm using matlab on a windows machine).
Is this possible?
Thanks

채택된 답변

Walter Roberson
Walter Roberson 2015년 6월 3일
To use MATLAB Compiler to build an executable that will run under OS-X, you must do the compiling under OS-X.
To use MATLAB Compiler to build an executable that will run under MS Windows 64 bit in 64 bit mode, you must do the compiling under MS Windows 64 bit mode.
To use MATLAB Compiler to build an executable that will run under MS Windows 32 bit version, or under MS Windows 64 bit version but the program operating in 32 bit mode, you can compile on either MS Windows 32 or MS Windows 64 bit.
For Linux, I do not know about the 32 bit vs 64 bit restrictions. But either way you will need to run MATLAB Compiler on some Linux. I think it likely you would need to be on 64 bit version of Linux to compile for use on 64 bit Linux.
MATLAB Compiler can only be used to compile for the same "family", never for use on OS-X if you are running on MS Windows.
  댓글 수: 2
Artemio Soto Breceda
Artemio Soto Breceda 2019년 11월 1일
That's definitely quite a shitty performance, if you ask me. Does anyone know if this is still the case?
Walter Roberson
Walter Roberson 2019년 11월 1일
This is still the case.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by