Main Content


Wait for parallel-running block to finish and return its results

Since R2023a


blockResults = fetchResults(pipeline,block) returns the results of block in the pipeline. This function is equivalent to the results function with the exception that if you are running the pipeline in parallel, fetchResults waits for the block to complete before returning its results.

Input Arguments

collapse all

Bioinformatics pipeline, specified as a bioinfo.pipeline.Pipeline object.

Block in the pipeline, specified as a scalar bioinfo.pipeline.Block object, character vector, or string scalar as the block name. To get the list of block names, enter pipeline.BlockNames at the command line.

Output Arguments

collapse all

Block results, returned as a structure or bioinfo.pipeline.datatypes.Incomplete object. The Incomplete object is returned if the block results are not yet available because the block has not finished running or will not run due to errors.

If it is a structure, the field names are the output port names of the block, and the field values are the output values.

Data Types: struct

Version History

Introduced in R2023a