Main Content

read

Read chunk of data in simulink.multisim.MultisimDatasore object

Since R2025a

Description

data = read(mds) reads the next simulation output from the datastore mds and updates the read position. Subsequent calls to the read function continue reading from the endpoint of the previous call. Use the read function to incrementally process signals that are too large to fit into memory.

[data,info] = read(mds) returns information about the extracted data in info.

Input Arguments

collapse all

Datastore to read, specified as a simulink.multisim.MultisimDatastore object.

Output Arguments

collapse all

Chunk of simulation results read from datastore, returned as a Simulink.SimulationOutput object.

Information about read data, returned as a structure array. The structure contains the runId

Version History

Introduced in R2025a