progress
Class:matlab.io.Datastore
Package: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 thep
= progress(ds
)matlab.io.Datastore
object specified byds
. Thep
output is a number between0
and1
. A return value of0.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, seeMethod Attributes.
Tips
You must implement the
progress
method by deriving a subclass from thematlab.io.Datastore
class. For more information, seeDevelop Custom Datastore.
Version History
Introduced in R2017b