Main Content

progress

Class: matlab.io.Datastore
Namespace: 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 the 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

expand all

Input datastore, specified as a matlab.io.Datastore object. To create a Datastore object, see matlab.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

Abstracttrue
Accesspublic
Hiddenfalse
Sealedfalse
Staticfalse

To learn about attributes of methods, see Method Attributes.

Tips

Version History

Introduced in R2017b