Problem reading h5 file
5 次查看(过去 30 天)
显示 更早的评论
Luis Eduardo Cofré Lizama
2020-2-3
回答: Luis Eduardo Cofré Lizama
2020-2-4
Hi All, I have a h5 file (r1s1.h5) for which the original name was manually changed (was 20190809-143113_Walk.h5). Therefore when using hdf5info(r1s1.h5), I get the following werror "Error using hdf5info (line 69)
Could not open file 'Desktop/Data/r1s1.h5'. If I rename teh file to the old name, I can use hd5info whithout probs, but cannot do that for the enormous amount of files I have. Any suggestions about how to read the files when Filename given in hinfo doesnt match the actual file name?
cheers
eduardo
1 个评论
Walter Roberson
2020-2-3
That particular error message would indicate a permission problem accessing the file, or a dead symbolic link (Yes, NTFS does have symbolic links even if they are obscure).
Unless, that is, you misrepresented the hdfinfo call you used and in your real call you passed in the relative path to the expectedly location of the file, where your example code passes in a file name without any directory information.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Special Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!