from Run m-script from outside a Matlab window by Lars Christiansen
Calls a m-script from a "dos box" without starting the Matlab GUI. Use Matlab's C-compiler.

All files for Run m-script from outside a Matlab window
/runMscript.c

Contact us at files@mathworks.com