Alex Nichols
Alex Nichols

Reputation: 896

Compile standalone Windows .exe using MATLAB on a mac

I am currently using this code to compile a standalone .app file of a MATLAB GUI on my mac:

mcc -m eotvos.m -a ./*

This works perfectly and I have a fully-functional mac executable. Is there a way to create a windows executable on my mac? I know that code works within MATLAB on windows. Is there a way to create a .exe file on my mac?

Upvotes: 2

Views: 1886

Answers (1)

dgorissen
dgorissen

Reputation: 6305

As far as I am aware this is not possible. It is possible to cross compile between 32bit/64bit on the same OS but not between OS's. Though I cant find it explicitly in the docs at the moment. Will update if I do.

Upvotes: 1

Related Questions