Updated 25 Apr 2014
Working on multiple projects?
This function allows you to save the current editor files for easy access in the future by addition of a shortcut toolbar, multiple sessions can be saved for returning to at any point in the future.
Notes: Tested on 2006a to 20011b and R2013b (assumptions made on other versions).
On post R2012b - if you change the icon its not remembered when you add new sessions.
Tested on both Windows and LINUX (not on MAC)
SaveCurrentEditorFiles ( 'project A' ); % This will store all the open files associated with "project A" for future access.
Other projects can be added.
To retrieve, click on the "Saved Editor Sessions" on the shortcuts tool bar and enter the integer associated with the project (integer and project description written to the command window)
Robert Cumming (2023). SaveCurrentEditorFiles (https://www.mathworks.com/matlabcentral/fileexchange/34577-savecurrenteditorfiles), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Editor Session Manager
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.