addDependency(pkg,dep)
adds the packages in dep as dependencies to the package
pkg and updates the Dependencies property of the
package object. The package pkg must be in editable mode.
dep — Package dependencies to add string array of package specifiers | matlab.mpm.PackageSpecifier array | matlab.mpm.Package array | matlab.mpm.Dependency array
Package dependencies to add, specified as a string array of package specifiers, a
matlab.mpm.PackageSpecifier array, a matlab.mpm.Package array, or a matlab.mpm.Dependency array. If you specify a package specifier, then
addDependency finds the corresponding package among already
installed packages.
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.