Reading and writing HDF5 data fields of type H5T_REFERENCE
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
The higher level HDF5 MATLAB read function hdf5read explicitly returns the error:
??? Error using ==> hdf5readc H5T_REFERENCE types cannot be read using hdf5read.
Error in ==> hdf5read at 92 [data, attributes] = hdf5readc(settings.filename, ...
Is there any way to use the lower level functions H5D.read and H5D.write to read and write HDF5 data fields of type H5T_REFERENCE? If so, what is the correct syntax to use? If not, are there any plans to support this capability in the future? I am currently using MATLAB version 7.11.0.584 on a Linux platform.
0 commentaires
Réponses (1)
John
le 7 Avr 2011
Hi Sid, it is possible to read and write data fields of type H5T_REFERENCE with H5D.read and H5D.write. Check http://www.hdfgroup.org/ftp/HDF5/examples/examples-by-api/api18-m.html for example codes on how to do this.
0 commentaires
Voir également
Catégories
En savoir plus sur HDF5 dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!