MATLAB project manager

Missing command-line project manager for MATLAB.

您现在正在关注此提交

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 (2026). MATLAB project manager (https://ww2.mathworks.cn/matlabcentral/fileexchange/41585-matlab-project-manager), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Search Path 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.1.0.0

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

1.0.0.0