MATLAB project manager

Version 1.1.0.0 (2.97 KB) by Vladimir
Missing command-line project manager for MATLAB.
672 Downloads
Updated 31 May 2013

View License

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

Examples:
projects list
projects save myProject
projects close
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.

Git-repository: https://github.com/vfilimonov/matlab-projects

Cite As

Vladimir (2024). MATLAB project manager (https://www.mathworks.com/matlabcentral/fileexchange/41585-matlab-project-manager), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Search Path in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Small bugfix: if userpath is empty - the script will reset it to the default value

1.0.0.0