Access Keys:
Skip to content (Access Key - 0)
 
More about this article
Created: 11/07/2008 10:33
Modified: 02/18/2009 01:29

Is there an Emacs mode for MATLAB?

Elisp code for a matlab mode for emacs is located in /afs/athena/software/matlab/misc/matlab-mode.el

To use it once, do:
M-x load-file /afs/athena/software/matlab/misc/matlab-mode.el
and then in the buffer you want to use matlab mode in,
M-x matlab-mode

If you want this mode to be available whenever you need it, add the
following lines to your .emacs:

  (autoload 'matlab-mode "/afs/athena/software/matlab/misc/matlab-mode.el" "Enter Matlab mode." t)
  (setq auto-mode-alist (cons '("\\.m\\'" . matlab-mode) auto-mode-alist))
  (autoload 'matlab-shell "/afs/athena/software/matlab/misc/matlab-mode.el" "Interactive Matlab mode." t)
Your Rating: Results: PatheticBadOKGoodOutstanding! 2 rates

Adaptavist Theme Builder Powered by Atlassian Confluence