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
If your code is more of a data analysis routine (vs. visualization / GUI), try GNU Octave. It's free and many of its functions are compatible with MATLAB. (Not 100% but maybe 99.5%.)