Main Content

MDF Files

Read and write data in ASAM measurement data format (MDF) files; sort and finalize files; manage attachments

The toolbox provides read and write access to MDF files. You can sort and finalize MDF files, and add, save, or remove attachments.

Use mdfDatastore to access a datastore comprised of large or multiple MDF files.

Functions

expand all

Reading

mdfInfoAccess or create MDF file metadata
mdfChannelGroupInfoGet channel group metadata from MDF file (Since R2023a)
mdfChannelInfoGet channel metadata from MDF file (Since R2023a)
mdfReadRead channel data from MDF file (Since R2023a)
mdfVisualizeView channel data from MDF file

Writing

mdfCreateCreate MDF file with metadata (Since R2022a)
mdfWriteWrite timetable data to MDF file (Since R2022a)
mdfAddChannelGroupMetadataAdd channel group and channel metadata to timetable (Since R2022a)

File Operations

mdfSortSort MDF file by ASAM standards
mdfFinalizeFinalize MDF file by ASAM standards (Since R2021b)
mdfSaveAttachmentSave embedded attachment files from MDF file (Since R2023a)
mdfAddAttachmentAttach file to MDF file (Since R2022a)
mdfRemoveAttachmentRemove attachment from MDF file (Since R2022a)
mdfDatastoreDatastore for collection of MDF files
readRead data in MDF datastore
readallRead all data in MDF datastore
previewSubset of data from MDF datastore
resetReset MDF datastore to initial state
hasdataDetermine if data is available to read from MDF datastore
partitionPartition MDF datastore
numpartitionsNumber of partitions for MDF datastore

Topics

Featured Examples