Is there a MATLAB package manager?

84 views (last 30 days)
James Bland
James Bland on 25 May 2021
Commented: Stephen on 19 Jan 2022
I cannot find any MathWorks endorsed package managers. The user-built solutions I have found do not seem to be popular (PackMan, DepMat, mpm) or regularly maintained. What do people recommend? Is there a reason for the lack of package manager in comparison to pip (python), npm (JavaScript)? How does MathWorks recommend I organise seperate but interdependent code?
Munin on 26 Aug 2021
I am stabilising MPM in you may just use that

Sign in to comment.

Accepted Answer

Sean de Wolski
Sean de Wolski on 10 Jun 2021
Right now there is no package manager like the ones you listed in that everything in MATLAB is tied to the path. Using MATLAB Add-ons with the File Exchange and MATLAB Projects with reference projects are the two best current solutions. You can minimize namespace collisions with namespace packages in MATLAB (note the terminology here does not imply package like in other languages).
Stephen on 19 Jan 2022
@James Bland there is no such thing. Hope this helps

Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!