This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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 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

Introduced in R2017b