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 of0.55
means you have read 55% of the data. Use theprogress
method and theNumSamples
property to determine the current read position.
You read data from aSimulationDatastore
object by using theread
method.