matlab.io.datastore.sdidatastore class
Package: matlab.io.datastore
Datastore for Simulation Data Inspector signals
Description
A matlab.io.datastore.sdidatastore
object provides access to
signals logged to the Simulation Data Inspector that are too large to fit into memory.
An sdidatastore
object references the data for a single signal. The
read
method loads the signal data referenced by an
sdidatastore
object in a chunk-wise manner such that each chunk
always fits into memory. You can use an sdidatastore
object to create
a tall timetable for your signal data. For more information about working with tall
arrays, see Tall Arrays.
Note
matlab.io.datastore.sdidatastore
does not support parallel
computations. If you have a Parallel Computing Toolbox™ license, use mapreducer(0)
to set the execution
environment to the local MATLAB® client before creating a tall timetable from the
matlab.io.datastore.sdidatastore
.
Construction
creates the ds
= dsrObj.getAsDatastore(arg
)sdidatastore
, ds
, for the signal in
the Simulink.sdi.DatasetRef
object selected by the search criterion
arg
. You can specify arg
as an integer
representing the index of the desired signal within the
Simulink.sdi.DatasetRef
object, or as a character vector
containing the name of the signal.
creates the ds
= matlab.io.datastore.sdidatastore(signalID
)sdidatastore
, ds
, for the signal
corresponding to the specified signalID
.
Input Arguments
Properties
Methods
hasdata | Determine if data is available to read |
preview | Return preview of data in sdidatstore |
read | Read a chunk of data from an sdidatastore |
readall | Read all data from an sdidatastore |
reset | Reset the read position |
Copy Semantics
Handle. To learn how handle classes affect copy operations, see Copying Objects.
Examples
Version History
Introduced in R2017b