编译自动化
使用标准编程接口创建和运行编译任务
自 R2022b 起
自 R2022b 起
使用编译工具创建和运行编译任务,例如识别代码问题、运行测试和打包为工具箱。
您可以在单个编译文件中创建包含任务和任务依存关系的计划,然后调用编译工具来运行该计划。要快速入门,请参阅Overview of MATLAB Build Tool。
类
命名空间
matlab.buildtool.tasks | Summary of built-in task classes (自 R2023b 起) |
主题
- 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. (自 R2023a 起)
- Improve Performance with Incremental Builds
Run builds more efficiently by specifying task inputs and outputs. (自 R2023a 起)