I'm not entirely sure what happens to the MATLAB string when it gets set as the Editor preference. I didn't think you needed to use "" in that string.
I think you should try it as:
emacsinit('<path to emacs>\emacsclient -n --server-file=<path to emacs server file>');
and then use the:
command, which will disconnect from Emacs, but then you can open up preferences for the editor, and look for the external editor option, and see what it got set to. If you use the preferences to get files to open in your Emacs, then you can use the string you discover there in your emacsinit command for nexttime you start MATLAB in Emacs.
All other doc srcs are on the matlab-emacs.sf.net web page. There isn't much there.
From: Daniels, Troy (US SSA) [mailto:troy.daniels@...]
Sent: Tuesday, April 30, 2013 3:31 PM
Subject: [Matlab-emacs-discuss] Matlab and emacsclient
I found this discussion of using emacs with matlab, some of which is several years old.
I am trying to get this to work on windows with R2011b. I tried editing edit.m as suggested there to work on Windows, but it appears that my edits are ignored. Is there something special about the files in the matlab toolbox?
Since I could not get rid of the quotes on the system command, I added extra ones to my emacsinit call:
emacsinit('"<path to emacs>\emacsclient -n --server-file=<path to emacs server file>"');
This works, but edit opens a command prompt. Is there a way to get rid of that window?
Are there other pages with more advice about integrating emacs and matlab on windows?
Get latest updates about Open Source Projects, Conferences and News.