Main Content

readall

Class:matlab.io.datastore.SimulationDatastore
Package:matlab.io.datastore

Read all data in datastore

Syntax

data = readall(dst)

Description

data= readall(dst)returns all the data in the datastore (matlab.io.datastore.SimulationDatastoreobject) specified bydst.

If all the data in the datastore does not fit in memory,readallreturns an error. To determine how many samples (time steps) a datastore holds, inspect theNumSamplesproperty of theSimulationDatastoreobject.

Input Arguments

expand all

Input datastore, specified as amatlab.io.datastore.SimulationDatastoreobject. To create aSimulationDatastoreobject, seematlab.io.datastore.SimulationDatastore.

Output Arguments

expand all

All data in the datastore, returned as atimetableobject. For information abouttimetable, seeTimetables.

Version History

Introduced in R2017a