Error when using h5info

19 visualizaciones (últimos 30 días)
Mahmoud Elzouka
Mahmoud Elzouka el 20 de Jun. de 2023
Comentada: Walter Roberson el 20 de Jun. de 2023
Hello,
when I call h5info, I see this error. How can I resolve this?
>> h5info(h5_filepath)
Invalid MEX-file 'C:\Program Files\MATLAB\R2022b\toolbox\matlab\imagesci\private\h5infoc.mexw64': The specified procedure could not be found.
Error in h5info (line 125)
hinfo = h5infoc(filename,location, useUtf8);

Respuestas (1)

Animesh
Animesh el 20 de Jun. de 2023
It looks like there is a problem with the h5infoc function, which is called by h5info, as it can't find the specified procedure. Some possible solutions are:
  • Make sure that the HDF5 library is installed on your computer and that MATLAB can find it. You can download the latest version of the library from the HDF Group website and follow the installation instructions. After that, you can try restarting MATLAB to see if it can find the library and load the h5infoc function.
  • Check if there are any conflicts between the HDF5 library used by MATLAB and other HDF5 libraries installed on your computer. If you have multiple versions of the library, they may cause conflicts that prevent MATLAB from loading the correct one. You can try removing the other versions or modifying your system PATH environment variable to prioritize the one used by MATLAB.
  • Try reinstalling MATLAB or updating it to a newer version. If the problem persists after trying the above solutions, it's possible that there is a bug or issue with MATLAB or the HDF5 library that requires a software update or reinstallation.
  1 comentario
Walter Roberson
Walter Roberson el 20 de Jun. de 2023
You should not need to download the HDF5 library. The h5infoc.mexw64 is installed with MATLAB
The error message is (in a very clumsy way) telling you that C:\Program Files\MATLAB\R2022b\toolbox\matlab\imagesci\private\h5infoc.mexw64 exists but it needs a DLL that the operating system cannot find. Finding out which DLL is needed can be a bit of a nuisance but https://www.dependencywalker.com/ can help.
Probably you need to reinstall that portion of MATLAB . But first check your anti-virus logs: your anti-virus might be blocking some DLL.

Iniciar sesión para comentar.

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by