[Matlab-emacs-discuss] matlab-shell-mode for existing matlab process

2013-12-02 Thread Tristan Nakagawa
Hi, great tool! I was wondering if it's possible to connect to a running matlab session and designate it as the current *matlab* M-shell? I am running a remote (ssh) matlab, which works by editing the matlab.el matlab-shell command to an ssh script. However, it would be most amazing if I could c

Re: [Matlab-emacs-discuss] matlab-shell-mode for existing matlab process

2013-12-02 Thread L. Larrabee Strow
Hi, On your remote system, start emacs in daemon mode. Then start matlab shell. Then, you can connect to you emacs and thus your matlab-shell via the emacsclient command any time. Emacs stays up, matlab stays up. Plus you can move from machine to machine and always connect to your original

Re: [Matlab-emacs-discuss] matlab-shell-mode for existing matlab process

2013-12-02 Thread Stefan Harmeling
Hi there, On 02.12.2013, at 15:45, Tristan Nakagawa wrote: > Hi, great tool! > > I was wondering if it's possible to connect to a running matlab session > and designate it as the current *matlab* M-shell? > > I am running a remote (ssh) matlab, which works by editing the matlab.el > matlab-she

Re: [Matlab-emacs-discuss] matlab-shell-mode for existing matlab process

2013-12-02 Thread L. Larrabee Strow
All, I just tried renaming a *shell* buffer running Matlab to *MATLAB*. It kinda works, but not completely. "Run Region" for example, works, but inserts an extra ">" prompt that must be removed by hand, unlike a buffer actually created by "matlab-shell". Am I missing something? Thanks, Larr

Re: [Matlab-emacs-discuss] matlab-shell-mode for existing matlab process

2013-12-02 Thread Tristan Nakagawa
Hi, thanks for the answers, @Larrabee: the first one really isn't what I want since I want to use my local emacs with local scripting files, being the newest version with org-babel integration etc, to interact with the remote, detachable matlab. This would be much easier than to potentially perio