From: Yuval A. <yu...@gm...> - 2015-09-16 04:45:16
|
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! |