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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.