Effacer les filtres
Effacer les filtres

Best Matlab Editor replacement?

198 vues (au cours des 30 derniers jours)
William Thielicke
William Thielicke le 1 Mai 2021
Commenté : Hans Scharler le 15 Déc 2023
Is there a way to replace the MATLAB Editor? I think it is hardly better than windows notepad, which appears a bit ridiculous for such a great tool like Matlab. I am missing tons of features from other programming editors, e.g. a better list of functions that is permanently visible and can be sorted and clicked, bookmarks, etc... And, it is also totally slow and it lags with my large GUI project (even when I disable "advanced" features like line highlighting and so on). Is there any recommendation for a better editor and experience how it affects the workflow? Thank you!!
  2 commentaires
William Thielicke
William Thielicke le 1 Mai 2021
E.g. the app editor in Matlab seems to be way more advanced... Why isn't it available for coding?
Hans Scharler
Hans Scharler le 15 Déc 2023

Connectez-vous pour commenter.

Réponse acceptée

per isakson
per isakson le 2 Mai 2021
Modifié(e) : per isakson le 2 Mai 2021
I have not always been loyal to the Matlab editor (ME)
  • Long time ago I used the full version of the ED editor that comes (or did come) with Lahey FORTRAN.
  • Then during a shorter period I used Notepad++. Pro: Free and Open, FAST, folding and highlighting for Matlab (maybe not perfect), a zillion features and plugins, a supportive community. Con: hard to remeber how to use all smart features.
Now I use ME and occasionally Notepad++ for special tasks that requires regular expressions, column mode, searches, large files, etc. My main reasons to use ME is integration, code analyzer, debugger, ... . I even tried to contribute, A Notepad++ function list for MATLAB.
"list of functions that is permanently visible" See easyBrowser, MCodeNavigator. And search FEX for tag:IDE.

Plus de réponses (3)

Image Analyst
Image Analyst le 2 Mai 2021
I also think the MATLAB editor is somewhat lame. It's nowhere near as powerful as programmers editors like SlickEdit, or my favorite, the defunct Codewright, because I think it tries to be like the common CUA editor that almost all Windows programs use. I think there is the ability to use other programmers editrs but last I looked you had to switch back to the MATLAB editor if youi want to do debugging operations like setting breakpoints, stepping through code, and see variable values. So because of that I just stayed with the built-in MATLAB editor even though it's pretty primitive. The one thing I like though is that if you rename a variable it lets you type shift enter to rename all occurrences. Not even MS Visual Stuido lets you do that.

Star Strider
Star Strider le 1 Mai 2021
I’m not certain what you’re looking for in an Editor application. Several people on Answers like Notepad++. I downloaded it and use it for other applications, although not as the MATLAB Editor. (I use the Editor that’s part of MATLAB for MATLAB.)
  4 commentaires
Laimonas Sileika
Laimonas Sileika le 8 Nov 2022
Ah, unfortunatley that's not quite what I'm referring to.
It's an IDE not too dissimilar from the live editor in MATLAB, just a tad more fluid when working with simulations.
It's not the end of the world though :)
AeroSysEng le 9 Juin 2023
Did you ever get a solution for this? I happen to be diving down this rabbit hole myself.

Connectez-vous pour commenter.

Steven Lord
Steven Lord le 2 Mai 2021
a better list of functions that is permanently visible and can be sorted and clicked, bookmarks, etc...
In the Navigate section of the Editor tab in the Toolstrip there's an option "Go To". Click on that and you get a list of functions (or sections, if your program has them) as well as the option to go to a specific line and the ability to set, clear, and step through bookmarks. [Bookmarks are different than breakpoints; those are controlled using the Breakpoints section on the Editor tab.]
If there are specific features that you feel would strongly improve your experience with the MATLAB Editor, please submit them as enhancement requests via Technical Support.
  1 commentaire
William Thielicke
William Thielicke le 2 Mai 2021
Modifié(e) : William Thielicke le 2 Mai 2021
Hi Steven, I think Mathworks could just have a look at:
, and read the comments. A proper function list in a dockable window isn't that exotic, and it would help to work on complex projects. I have about 100 functions or more in a single m file. Things would become even worse if I would split these functions into multiple m files.
As a first step, it would help to make that 'Go To' pop-up window a dockable window...

Connectez-vous pour commenter.


En savoir plus sur Environment and Settings dans Help Center et File Exchange




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by