Main Content

Projects

组织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, seeCreate Projectsand watch通过项目合作、跟踪和Ch合并anges and Perform Code Reviews (4 min, 50 sec).

Not all Projects functionalities are available inMATLAB®Online™.

Fonctions

développer tout

currentProject Get current project
openProject Load an existing project
isLoaded Determine if project is loaded
reload Reload project
close Close project
export Export project to archive
matlab.project.extractProject Extract project from archive
matlab.project.createProject Create blank project
matlab.project.convertDefinitionFiles Change definition file type of project
matlab.project.deleteProject Stop folder management and delete project definition files
matlab.project.loadProject Load project
matlab.project.rootProject Get root project
addFile Add file or folder to project
addFolderIncludingChildFiles Add folder and child files to project
removeFile Remove file or folder from project
addPath Add folder to project path
removePath Remove folder from project path
addReference Add referenced project to project
listAllProjectReferences List all projects in reference hierarchy of current project
removeReference Remove project reference
addStartupFile Add startup file to project
addShutdownFile Add shutdown file to project
removeStartupFile Remove startup file from project startup list
removeShutdownFile Remove shutdown file from project shutdown list
addShortcut Add shortcut to project
removeShortcut Remove shortcut from project
addLabel Attach label to project file
createLabel Create project label
removeLabel Remove label from project
findLabel Get project file label
createCategory Create category of project labels
findCategory Find project category of labels
removeCategory Remove project category of labels
findFile Find project file by name
listModifiedFiles List modified files in project
listRequiredFiles Get files required by specified project files
listImpactedFiles Get files impacted by changes to specified project files
listAllProjectReferences List all projects in reference hierarchy of current project
refreshSourceControl Update source control status of project files
runChecks Run all project checks
updateDependencies Update project dependencies
matlab.project.isUnderProjectRoot Determine whether file or folder is under project root folder

Outils

Dependency Analyzer Visualize dependencies, find required files, and assess the impact of changes

Objets

développer tout

matlab.project.Project Project object

Rubriques