Build-Automatisierung
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
matlab.buildtool.Plan | Fundamental interface for defining a build (Seit R2022b) |
matlab.buildtool.Task | Single unit of work in a build (Seit R2022b) |
matlab.buildtool.TaskAction | Action performed when task runs (Seit R2022b) |
matlab.buildtool.TaskContext | Context provided when task runs (Seit R2022b) |
matlab.buildtool.TaskResult | Result of running a task (Seit R2022b) |
matlab.buildtool.BuildResult | Result of running a build (Seit R2022b) |
matlab.buildtool.io.FileCollection | Collection of files and folders (Seit R2023a) |
Themen
- Overview of MATLAB Build Tool
Use the build tool to define and run a build. (Seit R2022b)
- 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. (Seit R2022b)
- Create and Run Tasks That Accept Arguments
Create build tasks that accept arguments for customizing their actions. Then, run the tasks with the build tool. (Seit R2023a)
- Improve Performance with Incremental Builds
Run builds more efficiently by specifying task inputs and outputs. (Seit R2023a)