Contenido principal

Automatización de compilación

R2026b
Cree y ejecute tareas de compilación, como identificar problemas de código, ejecutar pruebas y crear paquetes
Desde R2022b

Utilice la herramienta de compilación de MATLAB® para estandarizar el proceso de compilación y prueba para el proyecto. Con la herramienta de compilación de MATLAB, puede:

  • Definir, ver y ejecutar tareas mediante una interfaz estandarizada.

  • Especificar las dependencias para que las tareas se ejecuten en el orden previsto.

  • Evitar el trabajo redundante volviendo a compilar solo lo que ha cambiado.

Para comenzar, consulte Overview of MATLAB Build Tool.

Para obtener información adicional acerca del uso de la herramienta de compilación de MATLAB como parte del desarrollo de software, consulte Develop and Share Software in MATLAB.

Funciones

buildtoolInvoke build tool
buildplanCreate build plan

Clases

expandir todo

matlab.buildtool.PlanFundamental interface for defining a build
matlab.buildtool.PlanElementBase class for build plan elements (Desde R2026b)
matlab.buildtool.TaskSingle unit of work in a build
matlab.buildtool.TaskGroupGroup of tasks (Desde R2024b)
matlab.buildtool.TaskActionAction performed when task runs
matlab.buildtool.TaskContextContext provided when task runs
matlab.buildtool.BuildResultResult of running a build
matlab.buildtool.TaskResultResult of running a task
matlab.buildtool.diagnostics.TaskSkipReasonReason for skipping a task (Desde R2026a)
matlab.buildtool.TaskInputsContainer for task inputs (Desde R2023b)
matlab.buildtool.TaskOutputsContainer for task outputs (Desde R2023b)
matlab.buildtool.io.FileCollectionCollection of files and folders (Desde R2023a)
matlab.buildtool.io.FileSingle file or folder (Desde R2023b)
matlab.buildtool.io.GlobFile collection that matches pattern (Desde R2023b)
matlab.buildtool.tasks.CleanTaskTask for deleting outputs and traces (Desde R2023b)
matlab.buildtool.tasks.CodeIssuesTaskTask for identifying code issues (Desde R2023b)
matlab.buildtool.tasks.MexTaskTask for building MEX file (Desde R2024a)
matlab.buildtool.tasks.PackageTaskTask for building package from TOML project (Desde R2026b)
matlab.buildtool.tasks.PcodeTaskTask for creating P-code files (Desde R2024a)
matlab.buildtool.tasks.TestTaskTask for running tests (Desde R2023b)

Temas