padv.buildtool.tasks.RunProcessTask Class
Namespace: padv.buildtool.tasks
Superclasses: matlab.buildtool.Task
Description
The padv.buildtool.tasks.RunProcessTask
class provides a MATLAB® build task for running a Process Advisor process.
The task requires the CI/CD Automation for Simulink Check support package.
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(___,Name=Value)
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 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.
Input Arguments
Properties
Examples
More About
Version History
Introduced in R2023a