Main Content

readall

Read all data in datastore

Since R2025a

Description

data = readall(mds) returns all the simulation output data in the datastore mds. Use the readall function only when the signal referenced by the datastore fits into memory.

data = readall(mds,UseParallel=tf) reads the data in parallel if tf is true (requires Parallel Computing Toolbox™.

Input Arguments

collapse all

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

Read in parallel, specified as true or false. If you specify true, readall reads all data from the datastore in parallel (requires Parallel Computing Toolbox). Parallel reading may result in improved performance when reading data, especially with remote data.

  • Datastore processing can be improved with the UseParallel property and the Parallel Computing Toolbox. readall reads supported datastores faster on the local machine by using low overhead computing environments such as thread-based parallel pools.

  • As a result of MATLAB®'s built-in multithreading, certain datastores perform faster on the local machine when not using parallelism based on MATLAB workers.

Output Arguments

collapse all

All data in datastore, returned as an array of Simulink.SimulationOutput objects.

Version History

Introduced in R2025a