- 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 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Raghav
el 4 de Ag. de 2023
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 comentarios
Walter Roberson
el 1 de Sept. de 2024
There is no provision for reinstalling just the HDF5 libraries. You will need to reinstall MATLAB (itself, the toolboxes can be left alone.)
Ver también
Categorías
Más información sobre HDF5 en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!