matlab.buildtool.Plan Class
Namespace: matlab.buildtool
Description
The matlab.buildtool.Plan
class is the fundamental interface used to group
a set of tasks and define a build.
A Plan
object behaves like a dictionary of tasks, where keys are task names
and values are Task
objects. To add
a task to the plan, modify a task in the plan, or return a copy of a specific task in the
plan, index into the Plan
object by using the task name.
To add a
Task
objectt
, use theplan("
syntax.taskName
") = t"
must be a valid MATLAB® identifier and must not be used by any of the existing tasks in the plan.taskName
"To modify a
Task
object, use theplan("
syntax.taskName
").TaskProp
= value
can be any publicly writable property of aTaskProp
Task
object.To return a copy of a
Task
object, use thet = plan("
syntax. Modifying the returned task does not affect the original task in the plan.taskName
")
Creation
To create a Plan
object, use the buildplan
function.