Should Toolboxes be Packages?

3 次查看(过去 30 天)
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?

采纳的回答

Daniel Shub
Daniel Shub 2012-12-13
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by