merge
R2026bDescription
merge(
moves all quantities from targetSet,sourceSets)sourceSets into
targetSet. After merging, each source set and all of its supersets
and subsets are deleted from the model. The subsets of targetSet are
updated to include new subsets for the merged quantities. The resolved quantity of
targetSet remains unchanged. Quantities from the source sets become
members of targetSet. All quantities in the merged set must belong to
different models and have the same type. The function throws an error if the merge would
result in multiple quantities from the same model in one set.
also returns targetSet = merge(targetSet,sourceSets)targetSet after the merge.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2026b