image thumbnail


version (159 KB) by Lorenzo C.
A session manager (also with User Interface) saving working directory, path and editor files.


Updated 18 May 2018

View License

A simple collection of functions useful to manager multiple projects. You can save, load your projects and switch between them. Every time you load a project, it reopens all your files into the editor and set current search path, granting you to start to code without reset all your environment stuff.
* Save and Load sessions, system wide or locally
* Switch session via command line
* User-friendly dialogs
* Name collision warnings
* A complete user interface to manage all sessions

Each session is saved in a .mat file with .msession extension in your %userpath% folder on you local machine. This guarantees a safe place for sessions regardless of your current working path. Each session file contains:
* Files opened in matlab editor
* Current directory path
* Current working path


type 'SessionManager' in console to open the user interface.
See html help for more details about access session manager function programmatically.

Cite As

Lorenzo C. (2021). SessionManager (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!