Save current editor files, can be used to easily reopen all files from a previous project/session.
Updated 25 Apr 2014

View License

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)

Cite As

Robert Cumming (2024). SaveCurrentEditorFiles (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Software Development Tools in Help Center and MATLAB Answers

Inspired: Editor Session Manager

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Update to work on R2013b (assumtion made on other versions R2012b onwards)

Addition of R2012a and R2012b (assumption that interface doesn't change from 2011a/b)