parallel
Syntax
Description
creates a pipeline (pipeline = parallel(pipe1,...,pipeN)pipeline) by connecting components or pipelines
pipe1 through pipeN in parallel. Use
parallel to model conceptually simultaneous, order-independent
processes or workflows.
parallel creates a pipeline with input and output ports determined
by the unique tags in the inputs and outputs of pipe1,...,pipeN. Each
unique tag creates a unique port. The function then connects the inputs and outputs of
pipe1,...,pipeN to the pipeline inputs and outputs with matching tags.
During pipeline execution, data from each pipeline input is copied to each connected
component input. Data from component outputs are joined together at the pipeline outputs to
which they connect. The join operation defaults to horizontal concatenation.
pipe1 through pipeN must have unique names.
parallel renames any component that has the same name as another
component already in the pipeline. New names consist of the original name with a numeric
suffix.
creates a pipeline where the pipeline elements of pipeline = parallel(pipe1,...,pipeN,ExpandSubpipelines=expandflag)pipe1,...,pipeN are
either expanded or collapsed, based on the value of expandflag.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2026a