Do you have
(add-to-list
'auto-mode-alist
'("\\.m$" . matlab-mode))
in your init.el?
Best,
Dennis
Yuval A. <[email protected]> writes:
> 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!
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140_______________________________________________
> Matlab-emacs-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Matlab-emacs-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss