M-shell exeted abnormally with code 1 when using matlab-emacs with screen after disconnect and reconnect

1 view (last 30 days)
I am set up to use matlab in matlab-emacs on a subnode of a cluster computer. I run emacs normally with
ssh host1
ssh node005
emacs
and then in emacs I run matlab-shell and things generally work. I would like, however, to be able to disconnect my laptop that I use to run matlab and leave a job running. My non successful attempt has so far been to
1) run screen on node005
2) in screen run
emacs --daemon
and then connect to it with
emacsclient -nc
I can run matlab within the emacs client. However when I disconnect from the screen session and then reconnect, I get the message
M-Shell exited abnormally with code 1
Why does matlab crash when I detach this screen session? How does it even know I have detached? I hope someone has suggestions, I'd really like to get this or a similar set up working.

Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!