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
引用格式
Vladimir (2024). MATLAB project manager (https://www.mathworks.com/matlabcentral/fileexchange/41585-matlab-project-manager), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!