Remove file or folder from project
Remove File from Project
Open the Times Table App project. Use
to create a project object from the currently loaded project.
matlab.project.example.timesTable proj = currentProject;
Remove a file.
Add the file back to the project.
proj — Project
Project, specified as a
currentProject to create a project object from the currently
fileOrfolder — File or folder to remove
character vector | string scalar |
File or folder to remove, specified as a character vector, string scalar,
ProjectFile object. If you specify
fileOrfolder as a character vector or string scalar,
it must contain the path of the file to remove relative to the project root
folder, including the file extension. The file or folder must be in the