Build-Automatisierung
R2026bSeit 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.
Zusätzliche Informationen zur Verwendung des MATLAB-Build-Tools im Rahmen der Software-Entwicklung finden Sie unter Develop and Share Software in MATLAB.
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 Tasks
Create and run a group of tasks that act as a single unit of work in a build. (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)
- Cache Task Outputs
Speed up MATLAB builds with task output caching. (Seit R2026b)
- Run Build from Toolstrip
Run a build interactively from the MATLAB Toolstrip. (Seit R2025a)
- Emit MATLAB Build Telemetry Data with OpenTelemetry Integration
Instrument your builds with OpenTelemetry™ to emit traces and metrics to observability backends. (Seit R2026a)