Main Content
addFile
Add file or folder to project
Description
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.
Examples
Input Arguments
Version History
Introduced in R2019a