Is there a MATLAB package manager?

49 ビュー (過去 30 日間)
James Bland
James Bland 2021 年 5 月 25 日
コメント済み: Rob Campbell 2023 年 6 月 13 日
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?
  5 件のコメント
James Bland
James Bland 2022 年 10 月 25 日
hi Matt,
Thanks for your clear answer, although i still feel that this is code i shouldnt have to reinvent myself



Sean de Wolski
Sean de Wolski 2021 年 6 月 10 日
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).
  2 件のコメント
Stephen 2022 年 1 月 19 日
@James Bland there is no such thing. Hope this helps


その他の回答 (1 件)

Rob Campbell
Rob Campbell 2023 年 5 月 26 日
The fact that this still does not exist is not only real pain but it's arguably holding back the whole MATLAB ecosystem. The lack of a package manager disourages teams of people from building interconnected projects and so makes MATLAB a less attractive platform for serious development.
  3 件のコメント
Rob Campbell
Rob Campbell 2023 年 6 月 13 日
That seems to be for Mathworks' Toolboxes and MATLAB as a whole. I am talking about an ecosystem for users and third party code. Something like pip.



Help Center および File ExchangeEnvironment and Settings についてさらに検索




Community Treasure Hunt

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

Start Hunting!

Translated by