- 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.
Error when using h5info
21 ビュー (過去 30 日間)
古いコメントを表示
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);
0 件のコメント
回答 (1 件)
Animesh
2023 年 6 月 20 日
Hey @Mahmoud Elzouka
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:
1 件のコメント
Walter Roberson
2023 年 6 月 20 日
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.
参考
カテゴリ
Help Center および File Exchange で Data Import from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!