addFolderIncludingChildFiles
R2026bAdd folders and child files to project
Syntax
Description
Note
Starting in R2026b, you can create or convert a project to use the single
TOML project definition file (matlab.toml). In TOML‑based projects, the project definition
does not manage file membership, so you do not need
addFolderIncludingChildFiles to add folders and
child files to the project. However,
addFolderIncludingChildFiles still adds folders and
child files to source control.
addFolderIncludingChildFiles(
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 proj,folders)addFile instead.