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.
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 dep is a string array,
then each element must contain a package specifier in the format
"Name", "Name@VersionRange", or
"Name@VersionRange@ID". If you specify a package specifier, then
addDependency finds the corresponding package among already
installed packages. MATLAB throws an error if the package corresponding to the package
specifier is not installed.
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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.