Main Content

Build Automation

Create and run build tasks using a standard programming interface
Since R2022b

Use the build tool to create and run build tasks, such as identifying code issues, running tests, and packaging a toolbox.

You can create a plan with your tasks and task dependencies in a single build file, and then invoke the build tool to run the plan. To get started, see Overview of MATLAB Build Tool.

Functions

buildtoolInvoke build tool
buildplanCreate build plan

Classes

expand all

matlab.buildtool.PlanFundamental interface for defining a build
matlab.buildtool.TaskSingle unit of work in a build
matlab.buildtool.TaskActionAction performed when task runs
matlab.buildtool.TaskContextContext provided when task runs
matlab.buildtool.TaskResultResult of running a task
matlab.buildtool.BuildResultResult of running a build
matlab.buildtool.TaskInputsContainer for task inputs (Since R2023b)
matlab.buildtool.TaskOutputsContainer for task outputs (Since R2023b)
matlab.buildtool.io.FileCollectionCollection of files and folders (Since R2023a)
matlab.buildtool.io.FileSingle file or folder (Since R2023b)
matlab.buildtool.io.GlobFile collection that matches pattern (Since R2023b)

Packages

matlab.buildtool.tasksSummary of built-in task classes (Since R2023b)

Topics