フィルターのクリア

Explore an hdf5 file

3 ビュー (過去 30 日間)
maxroucool
maxroucool 2012 年 5 月 4 日
Hi all,
I would like to post treat information from a software called PAM-RTM which simulate injection of resin. Output files are erfh5 that is a kind of hdf5.
So I am discovering this file format and especially the structure of these output files. When I used to program in PHP, there was a function called print_r() enabling to explore the structure of an array to know what are the information that it contains. http://php.net/manual/fr/function.print-r.php
I would like to know if there is an equivalent of this function to explore hdf5 files in matlab.
BR,
Max

採用された回答

John
John 2012 年 5 月 4 日
Go to MATLAB Central and search for HDF5TOOLS. It has a function called H5DUMP that should work on 2009a.
  1 件のコメント
maxroucool
maxroucool 2012 年 5 月 5 日
Exactly what I was expecting!
Thank you very much!
Max

サインインしてコメントする。

その他の回答 (3 件)

per isakson
per isakson 2012 年 5 月 4 日
Did you search the Matlab documentation? Yes there is! Try
info = h5info( filespec );
See help on h5info. I have the impression that Matlab supports HDF5 well.

maxroucool
maxroucool 2012 年 5 月 4 日
Hi per isakson,
Thanks for the answer.
I already saw these 3 functions h5info/read/write. But with my previous question I was expecting a recursive function that explores the whole structure of the file.
Of course I could do it by myself, but since I don't really understand the structure of these files, it is not obvious to do it.
BR,

maxroucool
maxroucool 2012 年 5 月 4 日
OK, in fact you were right!
The h5disp() function seems to do what I want, but does not seems to be available on Matlab 2009... http://www.mathworks.fr/help/techdoc/import_export/f5-86568.html#bsxixpv-1

カテゴリ

Help Center および File ExchangeHDF5 についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by