addFolder(pkg,folders)
adds the specified folders as member folders to the package and updates the
Folders property of the package object. The package
pkg must be in editable mode.
Member folders to add, specified as a string array where each element is the path to
a folder, or a matlab.mpm.PackageFolder array. All elements of folders must represent
folders that exist.
Folder Language, specified as a string array with values of
"matlab" or "java". A folder can be designated
as one or more languages. Folders designated as matlab are
automatically added to the MATLAB search path when the package is installed. Folders
designated as java are added to the Java class path, allowing Java
resources to be accessible within MATLAB. If a package folder is not designated as
matlab, MATLAB files in that folder are ignored. If a package
folder is not designated as java, JAR files in that folder are
ignored.
This argument sets the Languages property of the folder.
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.