Should Toolboxes be Packages?

3 visualizaciones (últimos 30 días)
Simon
Simon el 13 de Dic. de 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?

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by