I lost a matlab session through ssh, but it's still running. How can I pull data out?
2 次查看(过去 30 天)
显示 更早的评论
I have been using matlab on a remote node through the terminal only. I didn't have any screens open (matlab -nosplash -nodisplay).
I sent an m-file to chug away for a couple hours, and when I came back to check on it, my ssh session had been interrupted. The problem was likely due to an internet hiccup on my end, and when I ssh back to the node, I can see matlab is still running under my username. How can I access that session?
What I really need is the contents of a few of the variables generated by that m-file. Can I access those data? Please help!
0 个评论
回答(1 个)
Daniel Shub
2013-1-14
It really depends on what the process is doing. Usually the process should get killed when your ssh session end. You might be able to reconnect, but it is more likely that it is a zombie process. If the future you might want to use screen:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!