- Verify that you have the HDF5 library installed correctly. Make sure you have the latest version of the library installed and that all the necessary dependencies are satisfied.
- Check if the plugin directory /usr/local/hdf5/lib/plugin exists on your system. If it doesn't exist, you may need to reinstall the HDF5 library or ensure that the library is installed in the correct location.
- If the plugin directory exists, check if there are any files in it. If the directory is empty, it's possible that the plugin file(s) are missing or have been corrupted. In this case, you may need to reinstall the HDF5 library or obtain the missing plugin file(s) separately.
h5info error
27 次查看(过去 30 天)
显示 更早的评论
i am trying to get information about a hdf5 file using the following line:
networkDataInfo = h5info(pathFileNetwork);
where pathFileNetwork is the file path. I keep getting an error of
Error using h5readc
The HDF5 library encountered an error and produced the following stack trace
information:
H5PL__find_plugin_in_path can't open directory: /usr/local/hdf5/lib/plugin
I tried using h5disp(pathFileNetwork) to see if I need to download any filters/plugins. I saw there was an unrecognized filter so I'm not sure if that has anything to do with the inital error about using h5info. Any help would be much appreciated as this is my first time using this app.
0 个评论
回答(1 个)
Raghav
2023-8-4
Hi Tiffany,
The error message you received indicates that there is an issue with the HDF5 library and it is unable to find a plugin in the specified directory /usr/local/hdf5/lib/plugin. This error could be caused by a few different factors, such as a missing or corrupted plugin file.
To troubleshoot this issue, you can try the following steps:
Regarding the unrecognized filter you mentioned when using h5disp(pathFileNetwork), it could be related to the plugin issue. The HDF5 library uses filters to perform various operations on datasets, and if a required filter is missing or not recognized, it can lead to errors. Resolving the plugin issue may help resolve this problem as well.
Hope it helps,
Best Regards,
Raghav Bansal
MathWorks Technical Support
2 个评论
Walter Roberson
2024-9-1
There is no provision for reinstalling just the HDF5 libraries. You will need to reinstall MATLAB (itself, the toolboxes can be left alone.)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDF5 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!