When I work on a large project, I usually have files scattered across multiple directories with many files open at once in the Editor. Being able to quickly navigate through the files and directories becomes really important from an efficiency point of view.
EasyBrowser is a group of functions to browse faster through the MATLAB file tree and to jump between files. It is incredibly useful to improve your productivity when you have to work on more projects (i.e more folders) or more files located in different positions.
The most useful function in this package is nav.
You can use the nav function to bookmark a set of files and folders using the add commands.
Then you can show the list of links of the bookmarked files/folder using the command nav without arguments.
This list of favorites is persistent across MATLAB sections.
Since often we are forced to work on more projects at the same time, it is natural to think to groups of favorites. Every group is meant to be a group of links related to a work project. Every group of link is independent from the others.
One another nice feature of the nav function is that it allows creating static bookmarks that point to specific locations INSIDE a file.
It has some advantages over the MATLAB built-in bookmarks (ctrl + F2 in Windows):
1) persistency: it keeps your bookmarks even if you close your file, or you turn your pc off. This is useful to jump immediately to the point where you were working on your previous work session.
2) view from above: it allows visualizing all the bookmarks of your files at the same time
To see all the functions in easyBrowser type "help easyBrowser" in the command window
Michele Scalseggi (2023). easyBrowser (https://www.mathworks.com/matlabcentral/fileexchange/62683-easybrowser), 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!
Forgot to add some files
added genOpen and improved nav in several ways. Now nav supports the static bookmarks and the groups of favorites
Small change in the nav example
nav displays links in columns. The internals are no more exposed
Corrected a bug in nav, modified the nav example
Added the functions: nav, up, cdaf, od, oaf