MATLAB: Running a .m file in a computer which doesn’t have Matlab installed!!!

computerm-fileMATLAB

Hey everybody,
I was just wondering if there is any way to run a .m file in a computer in which there is no MATLAB software installed already.
Thanks so much for your hint,
Mehdi

Best Answer

No. You can't. .m and .p files require MATLAB to run.
If you have the MATLAB Compiler Toolbox, you could compile a .m file in one computer with the MATLAB software into an .exe file and then it can be run on other computers.