Esta página aún no se ha traducido para esta versión. Puede ver la versión más reciente de esta página en inglés.

Distribución de toolboxes

Crear y compartir toolboxes; agregar documentación

Puede empaquetar archivos de MATLAB® para crear una toolbox y compartirla con otras personas. Estos archivos pueden incluir código, datos, apps, ejemplos y documentación de MATLAB. Cuando se crea una toolbox, MATLAB genera un archivo de instalación único (.mltbx) que permite que cualquier usuario instale esa toolbox.

Funciones

expandir todo

matlab.addons.toolbox.packageToolboxPackage toolbox project
matlab.addons.toolbox.toolboxVersionQuery or modify version of toolbox
matlab.addons.toolbox.installToolboxInstall toolbox file
matlab.addons.toolbox.uninstallToolboxUninstall toolbox
matlab.addons.toolbox.installedToolboxesReturn information about installed toolboxes
builddocsearchdbBuild searchable documentation database
validateFunctionSignaturesJSONValidate functionSignatures.json files
matlab.codetools.requiredFilesAndProductsList dependencies of MATLAB program files
matlab.settings.FactoryGroup.createToolboxGroupCreate FactoryGroup root object for toolbox
addGroupAdd new factory settings group
addSettingAdd new factory setting
matlab.settings.mustBeLogicalScalarValidate that setting value is logical array with one element
matlab.settings.mustBeNumericScalarValidate that setting value is numeric array with one element
matlab.settings.mustBeStringScalarValidate that setting value is string array with one element
matlab.settings.mustBeIntegerScalarValidate that setting value is integer array with one element
SettingsFileUpgraderSettings file upgrader object
moveRecord move or rename of factory setting or group
removeRecord removal of factory setting or group
matlab.settings.reloadFactoryFileLoad or reload factory settings
matlab.settings.loadSettingsCompatibilityResultsGet results of upgrading personal settings of toolbox for specific version
FactoryGroupGroup of factory settings and factory subgroup objects
FactorySettingFactory settings object
ReleaseCompatibilityResultsRelease compatibility results object
ReleaseCompatibilityExceptionRelease compatibility exception object
VersionResultsVersion results object
OperationResultOperation result object

Temas

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.

Añadir ayuda para el programa

El texto de ayuda aparece en la ventana de comandos cuando se utiliza la función help. Cree texto de ayuda para el programa insertando comentarios al principio.

Check Which Programs Have Help

To determine which of your programs files have help text, you can generate a Help Report.

Customize Code Suggestions and Completions

To customize code suggestions and completions for your functions, provide MATLAB with information about your function signatures.

Display Custom Documentation

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 Custom Examples

Display examples such as videos, published program scripts, or other files that illustrate the use of your programs in the MATLAB help browser.

Identify Program Dependencies

Determine which functions and scripts your program is dependent upon.

Create Factory Settings for Toolboxes

Create factory settings that can be used to customize the appearance and behavior of the toolbox after installation.