title: How to create an executable .exe file from a .m file
body: <p>I was wondering if there is a way to create a '.exe' file from  ' .m' file in MATLAB, such that it can be run in machine which does not have MATLAB (like it can be done in C, C++).</p>
  
  <p>I know writing a MATLAB function is one way, but I am not sure if it can run in machine without MATLAB. </p>
  
  <p>Also I would like to hide my code and just create a script which can be run by a user using his own data files.</p>