You can package MATLAB® files to create a toolbox to share
with others. These files can include MATLAB code, data, apps,
examples, and documentation. When you create a toolbox, MATLAB generates
a single installation file (
.mltbx) that enables
you or others to install your toolbox.
||Package toolbox project|
||Query or modify version of toolbox|
||Install toolbox file|
||Return information about installed toolboxes|
You can package MATLAB files to create a single installation file to share with others. These files can include MATLAB code, data, apps, examples, and documentation.
Add or instruct users to add files to the Java® class path when they install a toolbox.
Help text appears in the Command Window when you use
help function. Create help text for your program
by inserting comments at the beginning.
When you use the
doc command to
display help for a class, MATLAB automatically displays information
that it derives from the class definition.
To determine which of your programs files have help text, you can generate a Help Report.
Contents.m file contains comment
lines that summarize the programs in a particular folder. The
ver functions use this file to display information
If you create a toolbox that works with MathWorks® products, you can include custom documentation that is viewable in the MATLAB Help browser. Custom documentation can include figures, diagrams, screen captures, equations, and formatting to make your toolbox help more usable.
Display examples such as videos, published program scripts, or other files that illustrate the use of your programs in the MATLAB help browser.