The emacs_add_ons directory contains add ons for emacs to enhance the editing and debugging capabilities for the Matlab product family. matlab.el - This is 'matlab-mode' giving you syntax highlighting and automatic indentation for M-files. tlc.el - This is 'tlc-mode' giving you syntax highlighting and automatic indentation for TLC-files used with the Real-Time Workshop and the Target Language Compiler. matlabshell - This directory contains information on running Matlab in a Shell in Windows Emacs. To install matlab.el and tlc.el, 1) copy matlab.el /site-lisp/ copy tlc.el /site-lisp/ 2) Invoke emacs and open matlab.el and compile it into matlab.elc for faster loading: ^X^F /site-lisp/matlab.el M-x byte-compile-file matlab.el Do the same for tlc.el ^X^F /site-lisp/tlc.el M-x byte-compile-file tlc.el Each time you upgrade the version of emacs, you need to re-compile the .el files to .elc files. Add the following lines to your .emacs file: ;--------------------- ; Enable MATLAB mode | ; -------------------- (autoload 'matlab-mode "matlab" "Matlab Editing Mode" t) (add-to-list 'auto-mode-alist '("\\.m$" . matlab-mode)) (setq matlab-indent-function t) ;------------------ ; Enable TLC mode | ; ----------------- (require 'tlc) (autoload 'tlc-mode "tlc" "tlc Editing Mode" t) (add-to-list 'auto-mode-alist '("\\.tlc$" . tlc-mode)) (setq tlc-indent-function t) See http://www.gnu.org or ftp.gnu.org to get emacs for your system.