Should Toolboxes be Packages?

3 visualizzazioni (ultimi 30 giorni)
Simon
Simon il 13 Dic 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?

Risposta accettata

Daniel Shub
Daniel Shub il 13 Dic 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.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by