Dependency management & package manager like pip in ML
Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
3 votos
Comparte un enlace a esta pregunta
- ML projects
- ML toolboxes
- several mpm versions
This command is not supported when the packages feature is not enabled. Start MATLAB with the -packages command line switch.

1 comentario
Comparte un enlace a este comentario
Respuesta aceptada
5 votos
Comparte un enlace a esta respuesta
15 comentarios
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
- It’s pretty simple to put an mltbx in a NuGet package, I don’t know of anyone making an mltbx be a NuGet package.
- NuGet packages can have dependencies and pull them in automatically.
- There is no requirement in .NET for one version of any given library, so it makes no effort to resolve dependency ranges.
- NuGet will allow you to search packages and pull the mltbx files, plus dependencies, into a folder, but can’t install them.
- You need to write a bunch of MATLAB code to take the folder of mltbxs and install them (and with dependencies, work out which ones to install)
- And more code to avoid downloading everything every time.
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
- Having the packages zipped and a kind of index file would already improve the file system based repository.
- Being able to locate and access the repository on an web-based server is the main missing feature for us to use the MPM on our company network.
- Having the installed packages show up in the Add-on of similar list
- Having apps in the package being installed, like when they are packaged in a Toolbox
Comparte un enlace a este comentario
- Could you elaborate on why packages being zipped would be an improvement? And what benefits you'd expect from an index file?
- Can you say any more about what your web-based repository might look like? e.g. are you using something like sharepoint or s3 to host web-accessible files, or something like Artifactory for managing artifacts accessible via a URL endpoint?
- Installed packages will be integrated with the list of add-ons starting in R2025a
- Installing apps, like we do with toolbox: Good suggestion. I'll pass this along to the team.
Comparte un enlace a este comentario
- Semantically: a package ("an object or group of objects wrapped in paper or plastic, or packed in a box") is typically something wrapped in an enclosure, to protect it during transport.
- Practically: the package content in the repository is both transmitted over time (the storage function of the repository) and transmitted over space (to client machines); in both cases a zipped container has the obvious benefits of size reduction and integrity control.
- Scalability: imagine a repository with 1000 packages with each e.g. 100 versions. Without an index of some kind, worst case mpmsearch or mpminstall have to read 100000 files to find the single package you are looking for. And then again for the dependencies.
- As mentioned earlier, we have a Sonatype Nexus repository for storing our binary packages and as gateway for onlie repositories. It is similar to Artifactory. It supports a large number of package formats and companion transfer protocols, among which NuGet (for .NET and Powershell) , PyPi (for Python), and so on.
- It also supports "raw" files, meaning that you download the files simply via their "folder" URL on the server. That method can be used for MATLAB Toolboxes: dependent toolboxes can be automatically installed via a web URL.
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Más respuestas (0)
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
