SessionManager
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.
MAIN FEATURES
* 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
STORED DATA
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
BASIC USAGE
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. (2024). SessionManager (https://www.mathworks.com/matlabcentral/fileexchange/66784-sessionmanager), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: findjobj - find java handles of Matlab graphic objects
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.
+session/
+session/+dialogs/
+session/+utils/
+session/private/
private/
html/
Version | Published | Release Notes | |
---|---|---|---|
1.10.5.6 | Bugfix: absolute path recovering for linked sessions. |
|
|
1.10.2.1 | Bugfix: naming a session 'LOCAL SESSION' conflicts with local session list display. |
||
1.10.0.0 | Fixed new session button bug. |
||
1.9.0.0 | Minor bugfix - 'more' callback now show information about current local session instead to throw an session not found error. |
||
1.7.0.0 | Added a new complete user interface. Type 'SessionManager' to use it! |
||
1.5.0.0 | Added html online help files i forgot in previews releases |
||
1.4.0.0 | Fixed a collateral bug on search path loading (restoring path ignore changes in global matlab searchpath due new toolbox or delete toolbox or changed directories). Now the path will be loaded incrementally taking account of changes. |
||
1.0.0.0 | Description update. |