Build Automation
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.
Classes
Packages
matlab.buildtool.tasks | Summary of built-in task classes (Since R2023b) |
Topics
- 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 a local task function 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. (Since R2023a)
- Improve Performance with Incremental Builds
Run builds more efficiently by specifying task inputs and outputs. (Since R2023a)