Main Content

progress

Class:matlab.io.Datastore
Package:matlab.io

Determine how much data has been read

Syntax

p = progress(ds)

Description

p= progress(ds)returns the percentage of the data that you have read from thematlab.io.Datastoreobject specified byds. Thepoutput is a number between0and1. A return value of0.55means you have read 55% of the data.

Input Arguments

expand all

Input datastore, specified as amatlab.io.Datastoreobject. To create aDatastoreobject, seematlab.io.Datastore.

Output Arguments

expand all

Percentage of data that you have read from the datastore, returned as a scalar double.

Data Types:double

Attributes

Abstract true
Access public
Hidden false
Sealed false
Static false

To learn about attributes of methods, seeMethod Attributes.

Tips

Version History

Introduced in R2017b