run
Class: matlab.buildtool.Plan
Namespace: matlab.buildtool
Syntax
Description
result = run(
runs tasks in the plan
using a build runner that is configured for text output. It runs the default tasks in the
plan as well as all the tasks on which they depend. The text output includes build progress
as well as diagnostics in the event of build failures. The method returns the result of the
build as a plan
)matlab.buildtool.BuildResult
object.
result = run(___,
specifies options using one or more name-value arguments in addition to any of the input
argument combinations in previous syntaxes. For example, Name=Value
)result =
run(plan,ContinueOnFailure=true)
continues running the build upon a
failure.
Input Arguments
Examples
Tips
To maintain valid relative paths in tasks at run time, the build tool changes the current folder to the plan root folder before running the build and restores the current folder to its original state after running the build. To prevent a task from affecting subsequent tasks by changing the current folder, the build tool also restores the current folder after running each task.