编译自动化
自 R2022b 起
使用 MATLAB® 编译工具标准化工程的编译和测试过程。使用 MATLAB 编译工具,您可以:
使用标准化界面定义、查看和运行任务。
指定依赖关系,以便任务按预期顺序运行。
通过仅重新编译已更改的内容来避免冗余工作。
要快速入门,请参阅Overview of MATLAB Build Tool。
类
主题
- Overview of MATLAB Build Tool
Use the MATLAB 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 起)