No description
Find a file
Uwe Brauer 3b3c48ac0c * tlc.el: Add space to
;;;###autoload(add-to-list 'auto-mode-alist '("\\.tlc$" .tlc-mode))
                                                                 ^^^
thanks to John Ciolfi
2016-09-02 11:59:06 +00:00
templates (empty): Insert file if FILE_FUNCTION is open, or a classdef if FILE_CLASS is 2014-12-27 12:36:13 +00:00
toolbox 2016-03-17 Uwe Brauer <oub@mat.ucm.es> 2016-03-17 08:16:35 +00:00
.cvsignore First checkin. 2014-09-24 19:31:41 +00:00
cedet-matlab.el (matlab-cedet-setup): Update srecode require to work w/ CEDET 2013-04-02 00:47:42 +00:00
ChangeLog * matlab-pkg.el ("matlab-mode"): New file for the MELPA repo: 2016-04-15 20:09:24 +00:00
ChangeLog.old1 *** empty log message *** 2005-12-01 18:37:46 +00:00
ChangeLog.old2 *** empty log message *** 2005-12-01 18:37:46 +00:00
company-matlab-shell.el (company): Allow build when this require doesn't exist. 2009-07-06 20:36:56 +00:00
dl_emacs_support.m * dl_emacs_support.m (getfiles): update the url and README-->README.org 2016-03-16 14:04:58 +00:00
INSTALL (tlc.el): Fix typo. 2014-11-05 18:29:50 +00:00
linemark.el Add linemark to matlab-emacs dist so that mlint will work 2013-04-02 00:50:16 +00:00
Makefile (cedet_LISP): Add srecode-matlab.el 2014-12-27 12:41:28 +00:00
matlab-load.el Regenerate to include srecode-matlab.el 2014-12-27 12:44:52 +00:00
matlab-mode-pkg.el Rename matlab-pkg.el matlab-mode-pkg.el for MELPA 2016-04-16 07:34:29 +00:00
matlab-publish.el *** empty log message *** 2016-02-10 10:27:23 +00:00
matlab.el Patch for improved indent behaviour, using calls to 'current-column'. 2016-08-15 07:50:23 +00:00
mlint.el (mlint-minor-mode): Remove make-local-hook for Emacs 24. 2014-03-07 23:22:24 +00:00
Project.ede (cedet): Add srecode-matlab.el 2014-12-27 12:41:48 +00:00
README.org added codeblocks 2016-03-19 00:24:09 +01:00
semantic-matlab.el (semantic/dep): New dependency (Emacs 24) 2013-08-29 01:42:12 +00:00
semanticdb-matlab.el (misc require statements): Updated to work w/ CEDET integrated w/ Emacs. 2013-04-02 00:46:03 +00:00
srecode-matlab.el New file to handle srecode :matlab argument. 2014-12-27 12:23:35 +00:00
tlc.el * tlc.el: Add space to 2016-09-02 11:59:06 +00:00

Matlab-emacs Project:

MATLAB and Emacs integration

INSTALL

Add the following to your .emacs file:

;; Replace path below to be where your matlab.el file is.
(add-to-list 'load-path "~/path/to/matlab-emacs")
(load-library "matlab-load")

;; Enable CEDET feature support for MATLAB code. (Optional)
;; (matlab-cedet-setup)

MELPA

GNU emacs (sorry Xemacs folks) users (version >=24) can use the package as provided by MELPA. Set

(add-to-list 'package-archives
          '("melpa" . "http://melpa.org/packages/") t)

And then run M-x package-list-packages

Releases

The most recent version of matlab.el is always in GIT.

You can get an old downloader for matlab-emacs from MATLAB File Exchange.

Category: http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do?objectId=19&objectType=Category This File http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=104&objectType=file

Older versions of matlab.el can be found as matlab.el.1.10.1 for emacsen that do not have the latest additional utilities such as tempo and derived.

matlab.el and mlint.el has shipped on MATLAB CDs starting with 6.5 (R13). Updates after a release of MATLAB will be made to MATLAB Central and announced on the mailing list.

matlab.el and mlint.el will no longer ship on MATLAB CDs starting with MATLAB release R2008b. If you are using a version of MATLAB from before R2008a, you will want to use the version of mlint from that CD.

GIT

matlab-emacs is now available via GIT from SourceForge. The CVS repository is still at SourceForge but it is no longer updated.

Homepage: http://matlab-emacs.sf.net

Project Page: http://sourceforge.net/projects/matlab-emacs

GIT Repository:

https://sourceforge.net/p/matlab-emacs/src/ci/master/tree/

You need a git client on your machine. Then just run

git clone git://git.code.sf.net/p/matlab-emacs/src matlab-emacs-src

If you do not have a GIT client on your machine, you can use the MATLAB script dl_emacs_support.m to download a fresh copy of the matlab.el sources. https://sourceforge.net/p/matlab-emacs/src/ci/master/tree/dl_emacs_support.m

Dependencies

MATLAB-Emacs can use the CEDET suite for the following items:

  • Modifying the build system (Makefiles, etc)
  • mlint (uses EIEIO object system)
  • parsing/completion (uses semantic parsing system)

    • some template insertion features

    As of Emacs 23.2, CEDET is included in Emacs, and nothing extra is needed to satisfy that dependency.

    For older versions of Emacs:

    See http://cedet.sf.net for downloading CEDET.

    If you only want to use matlab.el for editing code or running the MATLAB shell, you DO NOT need to install CEDET.

    If you do want to use CEDET, add the following to your .emacs file:

    (matlab-cedet-setup)

New Mailing List

A new matlab-emacs-discuss mailing lisit has been created at SourceForge. Use this list to get updates on new releases and discuss topics relivant to the matlab-emacs project.

http://lists.sourceforge.net/mailman/listinfo/matlab-emacs-discuss

Old Mailing List

The original mailing list where beta versions of matlab.el were posted, and where comments, questions, bug reports, and answers to questions could be sent. If you were subscribed to this list, please unsubscribe, and subscribe to the new list above.

to unsubscribe, send email with the body of: "unsubscribe matlab-emacs"

Known problems

Unable to open .m files in matlab with Emacs

From: Xu He <xuhe01@gmail.com> wrote:

Dear all,

Following the install guide, I setup the matlab-emacs on my ubuntu 12.04 system, and I can edit and run the m file with emacs.

But I can not open nor edit m file with matlab. When I open the file in the matlab window, nothing happens.

I tried to eliminate the lines about matlab-emacs in ~/.emacs file, but the problem can not be solved.

I need to edit and run the file in matlab. Thanks for any help.

Best regards, Xu He

Solution

From: Hunter McClelland [mailto:hunter.mcclelland@gmail.com] Till we discovered that Matlab-emacs changes the "Editor" matlab uses. Go to Preferences->Editor/debugger and change the Editor back to "MATLAB Editor".