Example of using MPM with namespace

4 visualizaciones (últimos 30 días)
scivision
scivision el 7 de Nov. de 2025 a las 19:51
I have a collection of functions in a Matlab namespace +stdlib. I would like to distribute these to R2024b+ Matlab users via mpminstall.
I use Matlab namespaces with a +stdlib/ folder to allow using functions in numerous 3rd party programs while avoiding function namespace collisions. Currently I distribute the code via Git. I would like to try the MPM packaging if it's feasible.
However, it seems that packaging namespaces is not supported; on using mpmcreate() I get errors like
File mpackage.json, Line: 17, Column: 10 Special folder '+stdlib' is not supported as a package root or member folder.

Respuestas (0)

Categorías

Más información sobre Source Control en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by