What alternatives are there in the MATLAB editor?

Some things that I personally consider to be flaws in the MATLAB editor:

  • no virtual code completion
  • does not start the OS on its own (on MacOS), but in the X-environment (shortcuts, problems with copying and pasting, key mapping, unintuitive window management)
  • almost no refactoring tools

Are there alternative editors with these features?

+42
editor matlab
Sep 17 '08 at 13:29
source share
8 answers

You can use any editor you like in MATLAB by selecting

File -> Preferences -> Editor / Debugger

and then change the "MATLAB Editor" switch to "Text Editor" and the command for your choice. I use this to run gedit in my Linux box.

On the Mac-Specific side - it seems that there is a MATLAB set for TextMate

http://kjosmoen.org/2007/6/15/bugfixes-in-the-textmate-matlab-bundle

+18
Sep 17 '08 at 13:33
source share

We are developing an open source Matlab plugin for Eclipse, which can be found at http://code.google.com/a/eclipselabs.org/p/matclipse/

It has been used for some time and has been refined to publish it to the public.

+11
Aug 14 '11 at 9:26 a.m.
source share

There is also TextMate for MATLAB in the official repository. I hold it with a fork in [GitHub] [1] too.

By the way, I recently became an attendant, so I really want to get help and feedback from those who use it. I also tried to contact the author of another package so that its changes were returned to the trunk.

The easiest way to get MATLAB / Octave support in TextMate is to use GetBundles . This is still in the "overview", so you will need to get it manually, but as soon as you do this, it will be easy to look for the official SVN and GitHub repository.

+10
Sep 17 '08 at 14:30
source share

I use emacs for MATLAB material, but then I use it for almost everyone.

There is MATLAB mode for emacs at http://www.andrew.cmu.edu/course/16-720/extras/matlab_in_emacs/index.html , but I never tried. I don’t think he has refactoring support.

+4
Sep 17 '08 at 13:31
source share

I might be biased, but I use emacs for almost everything. MATLAB Central has a really nice emacs mode,

http://www.mathworks.com/matlabcentral/fileexchange/104

I don’t know if emacs meets all your requirements, but it is a pretty powerful and customizable editor.

I have never used this, but there is an Eclipse plugin here that seems to be able to highlight some MATLAB,

http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-136.html

+4
Feb 04 '09 at 2:04
source share

Eclipse with the Colorer plugin has decent syntax highlighting.

This does not solve the problem of code completion, but if you are used to Eclipse, you don’t waste time trying to work with a few awkward keyboard shortcuts of your own editor.

(And I strongly believe in the Pragmatic Programmer's “Use a single editor” recommendation)

+2
Oct 10 '08 at 1:21
source share

Finding Changes MATLAB StackOverflow links give some results.

I know VS and Eclipse well, and the IMO MATLAB IDE does its job very well. He is the only one:

  • it is wise to automatically terminate , because it knows what functions are in the MATLAB path.
  • debugger and window .
  • easy input → simple output , like a scientific pocket calculator running on a PC

With MATLAB (or, say, Python), the coding approach is different from VS or Eclipse for C ++ or Java. For example, using the command window in the MATLAB IDE, you can evaluate almost everything. Together with the debugger, you can write new pieces of code and evaluate them sequentially as you explore .

Being a dynamic language, you also cannot expect mach refactoring. Therefore, from a practical point of view, it makes sense that the MATLAB IDE is. In addition, the problems solved with MATLAB differ from them: Java is used.

+2
Jun 23 2018-11-11T00:
source share

I just wanted to add that r2011b adds the ability to rename variables - a very small but often useful function.

+1
Jan 28 '12 at 9:00
source share



All Articles