SaveCurrentEditorFi​les

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

You are now following this Submission

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)

Example:
--------
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 (2026). SaveCurrentEditorFiles (https://se.mathworks.com/matlabcentral/fileexchange/34577-savecurrenteditorfiles), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Editor Session Manager

Categories

Find more on Software Development Tools in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

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

1.1.0.0

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

1.0.0.0