how to compile for mac from windows

17 visualizaciones (últimos 30 días)
Kartavya
Kartavya el 6 de Mayo de 2014
Comentada: Harsheel el 6 de Mayo de 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?

Respuestas (1)

Harsheel
Harsheel el 6 de Mayo de 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 comentarios
Kartavya
Kartavya el 6 de Mayo de 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 el 6 de Mayo de 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:

Iniciar sesión para comentar.

Categorías

Más información sobre Downloads en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by