Build-Automatisierung
Seit R2022b
Verwenden Sie das MATLAB®-Build-Tool, um den Build- und Testprozess für Ihr Projekt zu standardisieren. Mit dem MATLAB-Build-Tool können Sie:
Aufgaben mit einer standardisierten Schnittstelle festlegen, anzeigen und ausführen.
Abhängigkeiten festlegen, um Aufgaben in der beabsichtigten Reihenfolge auszuführen.
Redundante Aufgaben vermeiden, indem Sie nur die geänderten Elemente neu erstellen.
Informationen zum Einstieg finden Sie unter Overview of MATLAB Build Tool.
Klassen
Themen
- 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. (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)