insert
Syntax
Description
inserts the component or pipeline newPipeline = insert(pipeline,sources,pipe)pipe in the pipeline
pipeline between the components or ports specified by
sources and the components directly connected to any output of
sources. The function uses tags to connect ports. For more
information, see Port Tags for Automatic Connection.
inserts the component or pipeline newPipeline = insert(pipeline,pipe,destinations)pipe in the pipeline
pipeline between the components or ports specified by
destinations and the components directly connected to any input of
destinations.
inserts newPipeline = insert(pipeline,sources,pipe,destinations)pipe in pipeline between
sources and destinations. Edges, or connections,
that start at a source component and end at a destination component are cut and rerouted
through pipe. Ports of pipe with tags that are not
present in the source components or destination components are connected to the nearest
reachable tag-compatible port.
specifies options using one or more name-value arguments in addition to any of the input
argument combinations in previous syntaxes. For example, you can specify whether to preserve
existing pipeline connections or update ports.newPipeline = insert(___,Name=Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2026a
