add
Syntax
Description
adds the component or pipeline newPipeline = add(pipeline,pipe)pipe to the pipeline
pipeline, and returns the added element in the pipeline
newPipeline. If pipe has the same name as an
existing component or pipeline in pipeline, the function adds a numeric
suffix to the name of pipe to make it unique.
adds the components or pipelines newPipeline = add(pipeline,pipe1,...,pipeN)pipe1 through pipeN
to pipeline, and returns the added elements in
newPipeline.
[
also returns newPipeline,newNames] = add(___)newNames, which contains the names of all added elements
in the same order as the components and pipelines passed to add, using
any of the input argument combinations in the previous syntaxes.
Examples
Input Arguments
Output Arguments
Tips
To add ports to a pipeline
p, add names to the pipeline propertiesp.Inputsorp.Outputs.
Version History
Introduced in R2026a

