Result of running a build
matlab.buildtool.BuildResult class provides the result of running a
build. The result includes information about whether the build failed as well as the duration
of the build. It also includes detailed information about each task that was expected to
The build runner instantiates this class. You do not need to create an object of the class directly.
Failed — Whether build failed
Whether the build failed, returned as a logical
false). If the
true, then the build failed. Otherwise, it ran without any
failures. The build fails if the build runner encounters an uncaught error while running
Duration — Time spent running build
Time spent running the build, returned as a duration scalar. The total run time for a build exceeds the sum of the times spent running individual tasks because it also accounts for overhead associated with the build runner.
TaskResults — Results of tasks
row vector of
Results of the tasks, returned as a row vector of
matlab.buildtool.TaskResult objects. Each
includes detailed information about a task that was expected to run.
Introduced in R2022b