Access Keys:
Skip to content (Access Key - 0)

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)

IS&T Contributions

Documentation and information provided by IS&T staff members

Last Modified:

February 18, 2009

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
olc-matlab olc-matlab Delete
matlab matlab Delete
emacs emacs Delete
mode mode Delete
matlab-review matlab-review Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
This product/service is:
Easy to use
Difficult to use

This article is:
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki