MATLAB: How to convert a .m file to an .exe

convertexeexecutablem-fileMATLAB Compiler

Hello,
I would like to ask something. How could I convert a matlab code (.m file) to an executable file (I mean to an .exe file)?
Could anyone help me?

Best Answer

Actually, I have tried these code and it works:
clc
clear
mcc -m file.m