编译自动化
自 R2022b 起
使用编译工具创建和运行编译任务,例如识别代码问题、运行测试和打包为工具箱。
您可以在单个编译文件中创建包含任务和任务依赖关系的计划,然后调用编译工具来运行该计划。要快速入门,请参阅Overview of MATLAB Build Tool。
类
主题
- 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, 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. (自 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. (自 R2024b 起)
- Create Custom Reusable Tasks
Implement a custom task class that you can use in multiple build files. (自 R2025a 起)
- Improve Performance with Incremental Builds
Run builds more efficiently by specifying task inputs and outputs. (自 R2023a 起)
- Run Build from Toolstrip
Run a build interactively from the MATLAB® Toolstrip. (自 R2025a 起)