title: Matlab: Running an m-file from command-line
body: <p>Suppose that;</p>
  
  <p>I have an m-file at location:<br>
  <code>C:\M1\M2\M3\mfile.m</code></p>
  
  <p>And exe file of the matlab is at this location:<br>
  <code>C:\E1\E2\E3\matlab.exe</code></p>
  
  <p>I want to run this m-file with Matlab, from command-line, for example inside a .bat file. How can I do this, is there a way to do it?</p>