how to compile for mac from windows

16 views (last 30 days)
Kartavya
Kartavya on 6 May 2014
Commented: Harsheel on 6 May 2014
Hi, I have my files complied and they're in the form of .exe I'm not very familiar with mac but I'm aware that it can't run .exe file. Is there option in matlab compiler to set output for mac files?

Answers (1)

Harsheel
Harsheel on 6 May 2014
This is currently not possible with MATLAB Compiler. You'd need access to a MAC machine where you can install MATLAB and MATLAB Compiler. Recompile your application (the .m files) and you will get a .app file that can then be used by your MAC users.
Depending upon your License, you may/may not have to pay for installing those products on the MAC machine. So you may want to check this.
  2 Comments
Kartavya
Kartavya on 6 May 2014
if i manage to do all that, will the end user also have to pay for mac version of MCR? how will that work?
Harsheel
Harsheel on 6 May 2014
MCR is free. He will have to download and install the MAC version of MCR. If you have MATLAB prior to R2012a then you can bundle the MCR along with your .app file and give it him/her. If you're on newer version, you do not need to bundle the MCR. He/she can simply download it from here:

Sign in to comment.

Categories

Find more on Downloads 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!