Main Content

Automatisation de la compilation

Créer et exécuter des tâches de compilation à l’aide d’une interface de programmation standard
Depuis R2022b

Utilisez MATLAB Build Tool pour créer et exécuter des tâches de compilation comme l’identification des problèmes de code, l’exécution de tests et le packaging d’une toolbox.

Vous pouvez créer un plan avec vos tâches et dépendances de tâche dans un même fichier de compilation puis invoquer l'outil de compilation pour exécuter ce plan. Pour en savoir plus, consultez Overview of MATLAB Build Tool.

Fonctions

buildtoolInvoke build tool
buildplanCreate build plan

Classes

développer tout

matlab.buildtool.PlanFundamental interface for defining a build
matlab.buildtool.TaskSingle unit of work in a build
matlab.buildtool.TaskActionAction performed when task runs
matlab.buildtool.TaskContextContext provided when task runs
matlab.buildtool.TaskResultResult of running a task
matlab.buildtool.BuildResultResult of running a build
matlab.buildtool.TaskInputsContainer for task inputs (depuis R2023b)
matlab.buildtool.TaskOutputsContainer for task outputs (depuis R2023b)
matlab.buildtool.io.FileCollectionCollection of files and folders (depuis R2023a)
matlab.buildtool.io.FileSingle file or folder (depuis R2023b)
matlab.buildtool.io.GlobFile collection that matches pattern (depuis R2023b)

Namespaces

matlab.buildtool.tasksSummary of built-in task classes (depuis R2023b)

Rubriques