run
Description
runs a block object outStruct
= run(blockObj
,inStruct
)blockObj
using an input structure
inStruct
and returns the block outputs in an output structure
outStruct
.
Tip
For most cases, use the run
method of a block instead of
eval
because the run
method performs
additional error checks and ensures that the block inputs and outputs are satisfied and
the eval
method accepts and returns a scalar structure, which is a requirement to run the block
as part of a pipeline. In addition, when you run a pipeline, it calls the
run
method of each block.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2023a
See Also
run
| eval
| compile
| bioinfo.pipeline.Block
| bioinfo.pipeline.Pipeline