padv.buildtool.tasks.RunProcessTask Class
R2026bNamespace: padv.buildtool.tasks
Superclasses: matlab.buildtool.Task
Task for running Process Advisor process
Description
Add-On Required: This feature requires the CI/CD Automation for Simulink Check add-on.
The padv.buildtool.tasks.RunProcessTask class provides a MATLAB® build task for running a Process Advisor
process.
Tasks that you create with the RunProcessTask class use Process
Advisor to manage incremental builds. When you rerun a build containing a
RunProcessTask instance, the MATLAB build tool invokes the runprocess
function, which then decides whether to rerun or skip tasks in the process. For more
information, see IncrementalBuild.
Creation
Description
task = padv.buildtool.tasks.RunProcessTask creates a task for
running the default process in the process model. The task fails if the process run errors
or fails.
task = padv.buildtool.tasks.RunProcessTask(
creates a task for running the specified process in the process model.process)
task = padv.buildtool.tasks.RunProcessTask(___,
sets writable properties using
one or more name-value arguments in addition to
any of the input argument combinations in
previous syntaxes. You can also set the Name=Value)Description and
Dependencies properties, which the class inherits from the Task class,
using name-value arguments. For example, task =
padv.buildtool.tasks.RunProcessTask(GenerateReport=true) creates a task that
generates a Process Advisor report.