MATLAB: Compile a file in windows to run on MAC os or UBUNTO

MATLAB Compileroperation system

I am using MATLAB Compiler to create a program in my PC (win 8). It create a .exe file that i can run on another windows PC.
Can I create a file that i can run on MAC os and Ubunto? and if Yes, How?

Best Answer

Yes, but a compiled application must be compiled on the same platform, so you need to install MATLAB compiler on Mac and compile your MATLAB script and run it on Mac, or install MATLAB compiler on Linux and compile your script then run it on Linux.