Publishing multiple files as a toolbox vs just putting the files as a zip on the MATLAB File Exchange

3 Ansichten (letzte 30 Tage)
Hello,
now that this whole thing is almost done and finished, it consists of 13 functions, 3 scripts and one table. If I want to publish this, are there any reasons to package it as a toolbox instead of just putting it on the file exchange as a zip folder? Are there differences in how the functions/scripts inside are called from just typing in the name of the main script, or how one would open/edit such files if you'd want to? Anything else?
Thank you.

Akzeptierte Antwort

Anurag Agrawal
Anurag Agrawal am 30 Mär. 2020
It's better to package it as a toolbox as it's well organised.
MATLAB generates a single installation file (.mltbx) that enables you or others to install your toolbox. You can share this file via email, file exchange or any other preferred mode. You can attach installation guide, documentation and examples in the toolbox. You can also manage the folder to add to the MATLAB path while installing the toolbox.
MATLAB will also generate a project (.prj) which can be used to modify the toolbox.
To know more about Toolbox Distribution, you can refer this:
There is a video which can help you quickly package your files as a toolbox:

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by