Should Toolboxes be Packages?

3 vues (au cours des 30 derniers jours)
Simon
Simon le 13 Déc 2012
I'm writing a toolbox which I hope to publish on the File Exchange once it's done. I've adopted the package structure recommended by Mathworks here: http://www.mathworks.com.au/help/matlab/matlab_oop/scoping-classes-with-packages.html
I'm currently documenting the toolbox following the advice provided here: http://www.mathworks.com.au/help/matlab/matlab_prog/display-custom-documentation.html#bsflmds and I'm looking at the official MATLAB toolboxes to see how they've laid out the .html files.
However, I've noticed that the official MATLAB toolboxes don't seem to use the package structure (e.g. folder names beginning with "+" etc.).
Could someone explain to me why this is? Should toolboxes be packages?

Réponse acceptée

Daniel Shub
Daniel Shub le 13 Déc 2012
Could someone explain to me why this is?
Many of the toolboxes where created before the ability to create packages existed.
Should toolboxes be packages?
Yes, however, you will need to provide instructions to people on how to use a package.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by