Costruzione dell’automazione
Da R2022b
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
Argomenti
- Overview of MATLAB Build Tool
Use the 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. (Da 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. (Da R2024b)
- Create Custom Reusable Tasks
Implement a custom task class that you can use in multiple build files. (Da R2025a)
- Improve Performance with Incremental Builds
Run builds more efficiently by specifying task inputs and outputs. (Da R2023a)
- Run Build from Toolstrip
Run a build interactively from the MATLAB® Toolstrip. (Da R2025a)