From: Yuval A. <yuv...@gm...> - 2015-09-16 05:28:04
|
Hi Again, I think I understand the cause of my issue. I try to run it from emacs in terminal (emacs -nw). Is this mode is supported by matlab-emacs? Since my internet connection to the linux machine is slow, using the X version of emacs wouldn't be useful. Thanks again. On Wed, Sep 16, 2015 at 7:48 AM, Yuval A. <yuv...@gm...> wrote: > I downloaded and installed the matlab-emacs project from > http://matlab-emacs.sourceforge.net/ using the dl_emacs_support.m script > and edited my .emacs file according to the instructions. > > When I run > > M-x matlab-shell > > The matlab shell runs successfully, and the following line is shown: > > >> > addpath('/home/lab/yuvval/externals/matlab-emacs/toolbox','-begin'); > rehash; emacsinit('emacsclient -n'); > > > However when I try to edit a file ( edit tmp.m), nothing happens. Even no > error messages.. > > > I have access to a linux machine in a different university. When I tried > the same there I got the following error message: > > Error: Environment variable EDITOR is not set. > Error using edit (line 61) > "Unknown service" > > > > Does anyone know how to solve it? I would love to be able to edit and > debug matlab code from emacs. > > Thanks! > |