MATLAB: Is it possible to compile MatLab GUI to mac from windows
matlab compiler mac
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
Best Answer
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 bitin 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 onsome 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.
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.)
Best Answer