Main Content
progress
Class: matlab.io.Datastore
Namespace: matlab.io
Determine how much data has been read
Syntax
p = progress(ds)
Description
returns the percentage of the data that you have read from the p
= progress(ds
)matlab.io.Datastore
object specified by ds
. The
p
output is a number between 0
and
1
. A return value of 0.55
means you have read
55% of the data.
Input Arguments
Output Arguments
Attributes
Abstract | true |
Access | public |
Hidden | false |
Sealed | false |
Static | false |
To learn about attributes of methods, see Method Attributes.
Tips
You must implement the
progress
method by deriving a subclass from thematlab.io.Datastore
class. For more information, see Develop Custom Datastore.
Version History
Introduced in R2017b