Build Automation
Create and run build tasks using a standard programming interface
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.
Classes
matlab.buildtool.Plan | Fundamental interface for defining a build |
matlab.buildtool.Task | Single unit of work in a build |
matlab.buildtool.TaskAction | Action performed when task runs |
matlab.buildtool.TaskContext | Context provided when task runs |
matlab.buildtool.TaskResult | Result of running a task |
matlab.buildtool.BuildResult | Result of running a build |
matlab.buildtool.io.FileCollection | Collection of files and folders |
Rubriques
- Overview of MATLAB Build Tool
Use the build tool to define and run a build.
- Create and Run Tasks Using Build Tool
Create a plan using a main function and local task functions in a build file. Then, plot dependencies and run the tasks with the build tool.
- Create and Run Tasks That Accept Arguments
Create build tasks that accept arguments for customizing their actions. Then, run the tasks with the build tool.
- Improve Performance with Incremental Builds
Run builds more efficiently by specifying task inputs and outputs.