Is it possible to compile MatLab GUI to mac from windows?
3 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Walter Roberson
on 3 Jun 2015
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 Comments
Artemio Soto Breceda
on 1 Nov 2019
That's definitely quite a shitty performance, if you ask me. Does anyone know if this is still the case?
More Answers (0)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!