matlab在后台nohup运行时,循环输出Bad file descriptor和 Warning: “Error reading character from command line“问题解决
1、问题:
最近需要在远程跑Matlab代码,找来了一段后台运行命令:
nohup matlab -nodisplay -nosplash -r matlab_command > outfile.txt &
运行命令 matlab_command 后,将结果输出到 outfile.txt 中。但后来发现,当程序运行因错误中止时,之后的输出结果总会循环输出Bad file descriptor和 Warning: "Error reading character from command
原创
2020-08-02 09:26:13 ·
2446 阅读 ·
2 评论