Contenido principal

Automatización de compilación

Cree y ejecute tareas de compilación, como identificar problemas de código, ejecutar pruebas y empaquetar toolboxes
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.

Funciones

buildtoolInvoke build tool
buildplanCreate build plan

Clases

expandir todo

matlab.buildtool.PlanFundamental interface for defining a build
matlab.buildtool.TaskSingle unit of work in a build
matlab.buildtool.TaskGroupGroup of similar 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.PcodeTaskTask for creating P-code files (Desde R2024a)
matlab.buildtool.tasks.TestTaskTask for running tests (Desde R2023b)

Temas