User login

Navigation

You are here

Running a Matlab job in batch mode on a research server

Nan Hu's picture

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 

Comments

Mohammad Refatul Islam's picture

You can do it easily using scripting. See the link below for details-

 http://www.mathworks.com/matlabcentral/answers/102082-how-do-i-call-matl...

Nan Hu's picture

Problem Solved! Thanks!

Subscribe to Comments for "Running a Matlab job in batch mode on a research server"

Recent comments

More comments

Syndicate

Subscribe to Syndicate