I have a data set consisting of large number of .mat
files. Each .mat
file is of considerable size i.e. loading them is time-consuming. Unfortunately, some of them are corrupt and load('<name>')
returns error on those files. I have implemented a try-catch routine to determine which files are corrupt. However, given the situation that only handful of them are corrupt, loading each file and checking if it is corrupt is time taking. Is there any way I can check the health of a .mat
file without using load('<name>')
?
I have been unsuccessful in finding such solution anywhere.