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
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 Tasks That Accept Arguments
Create build tasks that accept arguments for customizing their actions. Then, run the tasks with the build tool. (Since R2023a)
- Create Groups of Similar Tasks
Create and run a group of related tasks that act as a single unit of work in the build tool. (Since R2024b)
- Improve Performance with Incremental Builds
Run builds more efficiently by specifying task inputs and outputs. (Since R2023a)