progress
Class: matlab.io.datastore.SimulationDatastore
Package: matlab.io.datastore
Return percentage of data that you have read from a datastore
Syntax
p = progress(dst)
Description
returns
the percentage, as a number between 0 and 1, of the data that you
have read from a datastore (p
= progress(dst
)matlab.io.datastore.SimulationDatastore
object).
For example, a return value of 0.55
means you have
read 55% of the data. Use the progress
method
and the NumSamples
property to determine the
current read position.
You read data from a SimulationDatastore
object
by using the read
method.
Input Arguments
Output Arguments
Version History
Introduced in R2017a