Main Content

preview

Return subset of data from datastore

Since R2025a

Description

data = preview(mds) returns the first Simulink.SimulationOutput object from the datastore mds without changing the current read position. Use this function to quickly inspect and verify that the data appears as you expect.

Input Arguments

collapse all

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

Output Arguments

collapse all

Chunk of data read from datastore, returned as a Simulink.SimulationOutput object. For information, see Simulink.SimulationOutput.

Version History

Introduced in R2025a