Sometimes it's faster to edit MATLAB code in external editors. For example for multiline selection or regular search/replace, there's still no such functions in MATLAB editor (only something in live editor at the moment).
You can assign this function to some keyboard shortcut and call it from any line of the code in editor - the file would be opened in notepad++ (npp) at the same line.
You can change npp to any other editor in the same way.
Ivan (2021). edit_in_npp (https://www.mathworks.com/matlabcentral/fileexchange/82049-edit_in_npp), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!