Skip to content Accesskey=4Skip to sub-navigation Accesskey=3View our Accessibility Options MIT Information Systems Home About IS&T Contact IS&T Site Map Search Advanced Search
Getting StartedGetting Services by Topic or Alphabetically Getting Help

On This Page

[Help]

  

Quick Links

Top Level

Related Links

Ask OLC a question

Athena Consulting Homepage

Helpdesk Stock Answers (for Mac/PC questions)


Is there a GNU 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)


MIT Home | Getting Started | Getting Services | Getting Help | About IS&T | Accessibility
Ask a technology question or send a comment about this web page.