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)