Build-Automatisierung
Seit R2022b
Nutzen Sie das Build-Tool zur Erstellung und Ausführung von Build-Aufgaben wie der Ermittlung von Codeproblemen, der Durchführung von Tests und der Einbindung der Toolbox in ein Paket.
Sie können einen Plan mit Ihren Tasks und Task-Abhängigkeiten in einer einzelnen Build-Datei erstellen und anschließend den Plan ausführen, indem Sie das Build-Tool aufrufen. Informationen zum Einstieg finden Sie unter Overview of MATLAB Build Tool.
Klassen
Themen
- 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. (Seit 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. (Seit R2024b)
- Create Custom Reusable Tasks
Implement a custom task class that you can use in multiple build files. (Seit R2025a)
- Improve Performance with Incremental Builds
Run builds more efficiently by specifying task inputs and outputs. (Seit R2023a)
- Run Build from Toolstrip
Run a build interactively from the MATLAB® Toolstrip. (Seit R2025a)