MATLAB Answers

Best Matlab Editor replacement?

92 views (last 30 days)
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!!
  1 Comment
William Thielicke
William Thielicke on 1 May 2021
E.g. the app editor in Matlab seems to be way more advanced... Why isn't it available for coding?

Sign in to comment.

Accepted Answer

per isakson
per isakson on 2 May 2021
Edited: per isakson on 2 May 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.

More Answers (3)

Star Strider
Star Strider on 1 May 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.)

Image Analyst
Image Analyst on 2 May 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.

Steven Lord
Steven Lord on 2 May 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 Comment
William Thielicke
William Thielicke on 2 May 2021
Hi Steven, I think Mathworks could just have a look at:
https://www.mathworks.com/matlabcentral/fileexchange/58497-gavriyashar-matlab-editor-plugin
, 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...

Sign in to comment.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by