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 (
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|
Documentation and Code Completions
|Add new factory settings group|
|Add new factory setting|
|Validate that setting value is a logical scalar|
|Validate that setting value is a numeric scalar|
|Validate that setting value is a string scalar|
|Validate that setting value is an integer scalar|
|Version-specific changes in factory settings tree of toolbox|
|Record move or rename of factory setting or group|
|Record removal of factory setting or group|
|Load or reload factory settings|
|Results of upgrading personal settings of toolbox for specific version|
|Group of factory settings and factory subgroup objects|
|Factory settings object|
|Results of upgrading toolbox with specific version number|
|Exception that occurs when upgrading toolbox|
|Results of upgrade operations|
|Status of individual operation when upgrading toolbox|
- Create and Share 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.
- Identify Program Dependencies
Determine which functions and scripts your program is dependent upon.
- Security Considerations to Protect Your Source Code
When you share your MATLAB code, the contents are easily accessed, revealing design and implementation details. You can obfuscate or compile your source files.
- Add Help for Your Program
Help text appears in the Command Window when you use the
helpfunction. Create help text for your program by inserting comments at the beginning.
- Customize Code Suggestions and Completions
To customize code suggestions and completions for your functions, provide MATLAB with information about your function signatures.
- Create Factory Settings for Toolboxes
Create factory settings that can be used to customize the appearance and behavior of the toolbox after installation.