Run matlab in server background

来源:互联网 发布:ecowater 净水器 知乎 编辑:程序博客网 时间:2024/06/05 22:32

1. Run matlab in terminal

matlab -nojvm -nodisplay -nodesktop -nosplash -r "run('/home/duino/anaconda2/lib/python2.7/site-packages/selective_search_ijcv_with_python/pedestrian_2016.m');"

Replace m file to your own, and use absolute path.

2. Run in background

  1. Save the upper into run.sh file, and chmod +x run.sh
nohup ./rum.sh &

The output will be saved in nohup.out

Done.

0 0
原创粉丝点击