You are not logged in.

#1 2014-05-15 11:46:14

Registered: 2014-03-13
Posts: 11

Editor for Matlab, Python (and fortran)


I am doing a fair share of Matlab and Python programming. But I am not really satisfied with my Editor choices. I tryed to get everything working in eMacs, to have like one big Editor where I also do my LaTeX stuff. Only one program running, one set of commands, short-cuts and so on.
But while I think eMacs is really great for LaTeX, it just sucks for Matlab. It is quite a pain to set it up, there is no auto-complete feature in the editor mode and the matlab-shell is quite buggy as well.
Setting up Python in eMacs is anoying as well, but at least I get most of the features like I want them to have. Perhaps I am also just to stupid for eMacs. Might be.

Now I am reconsidering having one big editor for everything but get at least one editor for the programming stuff. Which is Matlab, Python and in a couple of months probably some Fortran.
I don't expect that much of an editor, but syntax highlighting, code completion (hints on the functions. e.g if I type func and hit TAB, it should complete to function, or give a choice of function1 function2 etc.), and code refracturing should be possible. And auto indention especially for Python should be possible.

Do you have any suggestions on a rather lightweight editor which can fulfil those requests?

Thanks for any hints!


#2 2014-05-15 12:20:00

From: Paris
Registered: 2010-02-01
Posts: 57

Re: Editor for Matlab, Python (and fortran)

You could take a look at Spyder for a python IDE: - see AUR for installs, right now there are two versions for Python 2 and 3:

aur/spyder-hg r3626.5c0af92927a3-3 (10)
    Scientific PYthon Development EnviRonment providing MATLAB-like features (Python 3 version)
aur/spyder2-hg r3626.5c0af92927a3-2 (0)
    Scientific PYthon Development EnviRonment providing MATLAB-like features (Python 2 version)

You might also have some fun using f2py:

For background reading it's well worth googling 'spyder matlab' as you'll come across stuff like this:



#3 2014-05-15 12:29:52

Registered: 2011-01-02
Posts: 125

Re: Editor for Matlab, Python (and fortran)

I use Vim for LaTeX and python, with python-mode and latexbox. Matlab I hardly use nowadays and I don't know how well it works with Vim.


#4 2016-05-28 03:42:46

Registered: 2016-04-29
Posts: 44

Re: Editor for Matlab, Python (and fortran)

Out of curiosity, by saying eMacs but you actually are talking about Emacs right?

To say the "lightweight", do you prefer to use some easy-to-use IDE to just get the job done or you actually want to hack all the way until finished?

option 1: Sublime Text, or Atom.
Reason: really easy to use, lot of plugins available and no need to hack at all.

option 2: Self-built, customized Emacs(Or Vim, they are a lot alike so just choose one you feel comfortable)
Reason: You can do anything with it and you will never run out of options. I recommend purcell's emacs.d repo and Spacemacs.

Hope it is helpful.


#5 2016-05-28 03:49:25

From: United States
Registered: 2015-07-25
Posts: 353

Re: Editor for Matlab, Python (and fortran)

Vim with vim-jedi works great for python. It works well for MATLAB too though I still think the best MATLAB editor is the one that comes with the program.

If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr


#6 2016-05-28 11:31:12

Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 7,913

Re: Editor for Matlab, Python (and fortran)

jethronsun7, this is the third post of yours I have come across where you have necrobumped. I'm not sure if you're deliberately seeking out ancient threads, but please stop posting in them. This topic's creator, donvitocorleone, hasn't been on the forums in two years, it is highly unlikely that they are still seeking a solution to their problem.


Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.


Board footer

Powered by FluxBB