Main Content

mdfInfo

Information about MDF-file

Description

example

fileInfo = mdfInfo(mdfFileName) returns a metadata structure that contains information about the specified MDF-file, including name, location, version, size, and initial timestamp of the data.

fileInfo = mdfInfo without an input argument returns a file metadata structure that you can customize and use with mdfCreate.

Examples

collapse all

Get the MDF-file information, and programmatically read its version.

fileInfo = mdfInfo('MDFFile.mdf');
fileInfo.Version
ans =

    '3.20'

Input Arguments

collapse all

MDF-file name, specified as a character vector or string, including the necessary full or relative path.

Example: 'MDFFile.mf4'

Data Types: char | string

Output Arguments

collapse all

MDF-file metadata information, returned as a structure.

Version History

Introduced in R2019b

See Also

Functions