Should Toolboxes be Packages?

4 views (last 30 days)
Simon
Simon on 13 Dec 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?

Accepted Answer

Daniel Shub
Daniel Shub on 13 Dec 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.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!