MATLAB: Compiling Windows Exe from a Mac

compilationruntime

I am trying to invoke the Matlab compiler (mcc) to compile stand-alone application for both Windows and Mac OS. I only have the Matlab compiler on a computer running Mac OS. How can I compile to Windows executable?

Best Answer

Cross compiling is not possible. You will need to install the MATLAB Compiler on the Windows machine to create an executable.
This related answer should further clarify.