Main Content


Perform block-specific additional checks and validations

Since R2023a


compile(blockObj) performs additional checks and validations specific to a block blockObj. The compile method of a block is called when you run the parent pipeline.

You can only create and define a compile method if you have created as a subclass of bioinfo.pipeline.Block. Then you can implement your own block-specific checks, such as validating relationships between block properties within the compile method. You cannot edit or add a compile method for the built-in blocks, which includes the UserFunction block.

Input Arguments

collapse all

Block object, specified as a scalar bioinfo.pipeline.Block object.

Version History

Introduced in R2023a