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.

readall (MDFDatastore)

Read all data in MDF datastore


data = readall(mdfds)



data = readall(mdfds) reads all the data in the datastore specified by mdfds and returns it to timetable data.

After the readall function returns all the data, it resets mdfds to point to the beginning of the datastore.

If all the data in the datastore does not fit in memory, then readall returns an error.


collapse all

Read all the data from a multiple file MDF datastore into a timetable.

mdfds = mdfDatastore({'CANape1.MF4','CANape2.MF4','CANape3.MF4'});
data = readall(mdfds); 

Input Arguments

collapse all

MDF datastore, specified as an MDF datastore object.

Example: mdfds = mdfDatastore('CANape.MF4')

Output Arguments

collapse all

Output data, returned as a timetable of MDF records.

Introduced in R2017b