Skip to main content

Running a Matlab job in batch mode on a research server

Submitted by Nan Hu on

Hi, all,

I  was trying to run a Matlab m file to do some post precessing in my optimization loops. I need to run it as a batch mode without opening either Matlat interface or command window. I was trying multiple ways and it doesn't work. Any experience on this, PLEASE let me know! 

So, my question simply as "I need to run obj.m and get design.txt". I've already used fopen and fprintf to write output txt file. I need to know how to run this obj.m file! Thanks.

Best Regards,

Aaron