I am trying to analyze a bunch of mat files by loading them in a for loop. I am also saving the output in a structure. The code runs smoothly for a while but after some iterations exits with the following error:
HDF5-DIAG: Error detected in HDF5 (1.8.6) thread 0: #000: H5Dio.c line 174 in H5Dread(): can't read data major: Dataset minor: Read failed #001: H5Dio.c line 448 in H5D_read(): can't read data major: Dataset minor: Read failed #002: H5Dchunk.c line 1720 in H5D_chunk_read(): unable to read raw data chunk major: Low-level I/O minor: Read failed #003: H5Dchunk.c line 2748 in H5D_chunk_lock(): data pipeline read failed major: Data filters minor: Filter operation failed #004: H5Z.c line 1115 in H5Z_pipeline(): filter returned failure during read major: Data filters minor: Read failed #005: H5Zdeflate.c line 125 in H5Z_filter_deflate(): inflate() failed major: Data filters minor: Unable to initialize object Error using load Can't read file /home/tushar/tushar/OXYGEN/part62_oxy_240.mat.
Error in PART_STATS(line 17) Data = load(files(ii).name); %......Data will store the latest file name variable (AS a struct)
When I ran the code on some other files, it ran without a problem. Could someone help me with this error.
No products are associated with this question.