Problem using H5S.select_hyperslab in MATLAB R2018b and beyond

When using the H5S.select_hyperslab with one of my .hdf5 files in MATLAB R2018b and beyond, I get the following error message:
Error using hdf5lib2
The rank of the dataspace does not correspond to the length of the BLOCK argument.
Error in H5S.select_hyperslab (line 43)
H5ML.hdf5lib2('H5Sselect_hyperslab',space_id,op,h5_start,h5_stride,h5_count,h5_block);
However, I do not get any such error using the same function in MATLAB R2018a and the operation goes through smoothly.
Does anyone know why this is the case, and what I can do to not get this error in newer MATLAB versions?
Thanks!

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 19 Sep 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!