addFolderIncludingChildFiles(proj,folders)
adds folders and all of their subfolders and files to the specified project. To add
only the specified folders without any of their subfolders and files, use addFile instead.
Path of the folders to add to the project, specified as a string array or
a cell array of character vectors. The folders must be under the project
root folder.
If you use the project root folder, the function adds all folders,
subfolders, and files under the project root to the project.
Starting in R2025a, the addFolderIncludingChildFiles function
supports using the project root folder to add all folders, subfolders, and files to
a project in one step. For more information, see Add All Folders and Files to Project.
Starting in R2025a, the addFolderIncludingChildFiles function
supports adding multiple folders and files to a project at the same time.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.