Create sorted copy of MDF-file
creates a copy of an MDF-file with its data sorted according to ASAM standards for fast
reading. If you get an error when trying to read an unsorted file, create a sorted file and
read from that instead. The optional output argument,
sortedPath = mdfSort(
indicates the full path to the sorted file, including the file name.
This function is supported only on 64-bit Windows® operating systems.
Create a sorted MDF-file and read its data.
sortedPath = mdfSort('UnsortedMDFFile.mf4','SortedMDFFile.mf4'); M = mdf('SortedMDFFile.mf4'); MD = read(M);
UnsortedMDFFile— Original MDF-file without sorted data
Original MDF-file without sorted data, specified as a string or character vector. Full and relative path names are allowed.
SortedMDFFile— New copy of MDF-file with sorted data
New copy of MDF-file with sorted data, specified as a string or character vector. Full and relative path names are allowed.
sortedPath— Path to new file
Full path to new file, returned as a character vector. The path includes the file name.