I would like to run a long simulation (24 hours) in MATLAB installed on a remote linux machine, using xterm.
I have no problems connecting to the remote machine from my Macbook, and launching MATLAB using xterm.
The problem I have is that my Macbook needs to be physically on, in order for MATLAB to stay open in xterm and continue the simulation. However, I would like to go to sleep whilst the simulation executes, and turn off the laptop.
In the past, I have used screen with success, to detach and then later return to command-line programs running long simulations. However, I cannot see how to use this with xterm.