Add file or folder to project
addFile(
adds a file or folder to the project proj,fileOrFolder)proj. When adding a folder
to the project, MATLAB® only adds the specified folder. To add the folder including any all
subfolders and files, use addFolderIncludingChildFiles instead.
newfile = addFile(
returns a proj,fileOrFolder)ProjectFile object for the added file.