I am running matlab on 48 virtual machines and would like to automate it. I ssh into the machines then use matlab -r matlab_command > outfile.txt & to get t
matlab -r matlab_command > outfile.txt &
I am using this workaround, which provides a dummy standard in:
matlab -r matlab_command > outfile.txt < /dev/null &