hdf5 file read problem.
显示 更早的评论
Hi, I have a series of cgns files which I want to process in Matlab. I use a command of cgnstools in linux named adf2hdf and also cgnsconvert to convert the cgns files into hdf5 files. I can get the structures with h5info and h5disp, but when I want to use h5read it complains with following error:
Error using h5readc
The HDF5 library encountered an error and produced the following stack trace information:
H5Dopen2 not a dataset
Error in h5read (line 59)
[data,var_class] = h5readc(Filename,Dataset,start,count,stride);
A sample file has been attached. I had to change the extension to png so I can upload it. After download you can change it back to hdf5 but it doesn't really matter for Matlab.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 HDF5 Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
