Main Content


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 and watch Using Projects to Collaborate, Track, and Merge Changes and Perform Code Reviews (4 min, 50 sec).

Not all Projects functionalities are available in MATLAB® Online™.


développer tout

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.convertDefinitionFilesChange definition file type of project
matlab.project.deleteProjectStop folder management and delete project definition files
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
listAllProjectReferencesList all projects in reference hierarchy of current 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 files required by specified project files
listImpactedFilesGet files impacted by changes to specified project files
listAllProjectReferencesList all projects in reference hierarchy of current project
refreshSourceControlUpdate source control status of project files
runChecksRun all project checks
updateDependenciesUpdate project dependencies


développer tout


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 add-ons and incremental analysis.

Use Source Control with Projects

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

Exemples présentés