Costruzione dell’automazione
Usare lo strumento di costruzione per creare ed eseguire attività di costruzione, come l'identificazione di problemi del codice, l'esecuzione di test e il confezionamento di una toolbox.
È possibile creare un piano con le attività e le dipendenze delle attività in un unico file di costruzione, quindi invocare lo strumento di costruzione per eseguire il piano stesso. Per iniziare, vedere Overview of MATLAB Build Tool.
Classi
matlab.buildtool.Plan | Fundamental interface for defining a build (Da R2022b) |
matlab.buildtool.Task | Single unit of work in a build (Da R2022b) |
matlab.buildtool.TaskAction | Action performed when task runs (Da R2022b) |
matlab.buildtool.TaskContext | Context provided when task runs (Da R2022b) |
matlab.buildtool.TaskResult | Result of running a task (Da R2022b) |
matlab.buildtool.BuildResult | Result of running a build (Da R2022b) |
matlab.buildtool.io.FileCollection | Collection of files and folders (Da R2023a) |
Argomenti
- Overview of MATLAB Build Tool
Use the build tool to define and run a build. (Da 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. (Da 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. (Da R2023a)
- Improve Performance with Incremental Builds
Run builds more efficiently by specifying task inputs and outputs. (Da R2023a)