This is the blog site of Shaka, who comes from China. Being passionate and creative, he loves peace, freedom and life. He has a variety of interests, and is also an open-source software amateur. He loves Unix/Linux, \LaTeX{}, MetaPost, Emacs, Vim, etc.
分类: Delphi
2010-07-06 22:14:33
If Matlab is installed on a secure shell (SSH) server, which is avaiable for access, we can run Matlab remotely through SSH. In this way, Matlab is running in symbol environment without X display, and the results can be saved in a file for further post-processing. What’s important, Matlab keeps running after logout (SSH) until the Matlab script ends or error happens.
Running Matlab remotely can be realized by the command “nohup matlab -nodisplay < JOBSCRIPT.m 1> JOB.LOG 2> JOB.ERR &”, where “JOBSCRIPT.m” is the Matlab script to be run. The screen output and error information are redirected to log file “JOB.LOG” and “JOB.ERR”, respectively.