Manages current working directory and files that are opened in MATLAB editor (but not the workspace) for different projects.
Usage: PROJECTS(cmd, projectName)
PROJECTS('list') shows all stored projects. Arrow marks active project.
PROJECTS('active') returns the name of the active project
PROJECTS('show') shows information about the current project
PROJECTS('show', project_name) shows information about the project
PROJECTS('close') closes all opened files
PROJECTS('save') saves current working directory and editor state under the active project
PROJECTS('save', projectName) saves current working directory and editor state under the specified project name
PROJECTS('load') restores the project "default"
PROJECTS('load', projectName) restores the project with specified name
PROJECTS('open') is synonym for PROJECTS('load')
PROJECTS('rename', newName) renames the active project
PROJECTS('rename', projectName, newName) renames the project
PROJECTS('delete') deletes the active project
PROJECTS('delete', projectName) deletes the project with specified name
projects save myProject
projects load default
projects rename myProject myLibrary
All projects are stored in the %userpath%/projects.mat. This file with the empty "default" project is created at the first run of the script.
First project always has name "default".
MATLAB versions older than R2011a (7.12) are not supported.
Vladimir (2021). MATLAB project manager (https://www.mathworks.com/matlabcentral/fileexchange/41585-matlab-project-manager), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!