Projects

Organize large projects by managing and sharing files and settings, finding required files, and interacting with source control

Projects can help you organize your work and collaborate. Use projects to find files required to run your code, manage and share files and settings, and interact with source control. For more information about projects, see Create Projects.

Functions

expand all

currentProjectGet current project
openProjectLoad an existing project
isLoadedDetermine if project is loaded
reloadReload project
closeClose project
exportExport project to archive
matlab.project.createProjectCreate blank project
matlab.project.loadProjectLoad project
matlab.project.rootProjectGet root project
addFileAdd file or folder to project
addFolderIncludingChildFilesAdd folder and child files to project
removeFileRemove file from project
addPathAdd folder to project path
removePathRemove folder from project path
addReferenceAdd referenced project to project
removeReferenceRemove project reference
addStartupFileAdd startup file to project
addShutdownFileAdd shutdown file to project
removeStartupFileRemove startup file from project startup list
removeShutdownFileRemove shutdown file from project shutdown list
addShortcutAdd shortcut to project
removeShortcutRemove shortcut from project
addLabelAttach label to project file
createLabelCreate project label
removeLabelRemove label from project
findLabelGet project file label
createCategoryCreate category of project labels
findCategoryFind project category of labels
removeCategoryRemove project category of labels
findFileFind project file by name
listModifiedFilesList modified files in project
listRequiredFilesGet project file dependencies
refreshSourceControlUpdate source control status of project files
updateDependenciesUpdate project dependencies

Objects

expand all

Topics

Create Projects

Create projects in MATLAB® to organize and share your work with others.

Manage Project Files

Add, move, rename, and open project files and folders.

Componentize Large Projects

Organize large projects using referenced projects

Share Projects

Package and share projects as zip files, by email, as a toolbox, or by making it publicly available on a connected source control tool.

Upgrade Projects

Upgrade all the files in your project using the Upgrade Project tool.

Analyze Project Dependencies

Find required files for a whole project or for specified files, resolve problems, and control options for external toolboxes and incremental analysis

Use Source Control with Projects

Update, commit, merge changes, and view revision history directly from the project environment.

Related Information

Featured Examples