create an .exe file of a code in MATLAB

Discussion in 'Programmer's Corner' started by kahafeez, Jan 13, 2009.

  1. kahafeez

    Thread Starter Active Member

    Dec 2, 2008
    150
    0
    Hi all, i need to make an .exe of my code in Matlab 7.0 bt i cant find the option.... plz help
     
  2. Dave

    Retired Moderator

    Nov 17, 2003
    6,960
    144
    You won't be able to do it with M-code because it requires the Matlab interpreter (a core-component of the Matlab application) to interpret and run the code.

    Dave
     
  3. yslassi

    New Member

    Dec 21, 2008
    1
    0
    You can create your .exe from your .m code, just use mcc commande or Deploytool
    Youssef
     
  4. Dave

    Retired Moderator

    Nov 17, 2003
    6,960
    144
    Interesting. Doesn't MCC require the Visual Studio compiler to enable the application to function without the Matlab interpreter as a standard executable file? I know nothing about DEPLOYTOOL, but a brief musing at Mathworks flags this http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/

    Dave
     
Loading...