Main Content

combine

Combine data from multiple datastores

Since R2025a

Description

dsnew = combine(ds1,ds2,...,dsN) combines multiple datastores to create a CombinedDatastore object using the data returned by the read function on the input datastores.

dsnew = combine(ds1,ds2,...,dsN,ReadOrder=order) combines multiple datastores based on the specified read order. The read order determines the creation of either a CombinedDatastore or SequentialDatastore object.

Input Arguments

collapse all

Input datastores, specified as simulink.multisim.MultisimDatastore objects.

Order in which data is read, specified as "associated" or "sequential".

  • "associated" creates a CombinedDatastore object that is the horizontally concatenated result of the read operation from each of the underlying datastores.

  • "sequential" creates a SequentialDatastore object that sequentially reads from the underlying datastores without concatenation.

Version History

Introduced in R2025a