how to compile for mac from windows

16 次查看(过去 30 天)
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?

回答(1 个)

Harsheel
Harsheel 2014-5-6
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 个评论
Kartavya
Kartavya 2014-5-6
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 2014-5-6
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:

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Downloads 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by