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 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.