Warning: Error reading character from command line
and
Bad file descriptor
This has nothing to do with your code, just that you will have to add "</dev/null" before the "&" symbol which is causing the error. For example, you can run a function like this:
nohup matlab -nodisplay -r "myfunc_in_current_dir('params')" > ./mylog.txt </dev/null &Also, people suggested using the "-nojvm" option. If you are plotting in your script then this option should be avoided.
No comments:
Post a Comment