Borrar filtros
Borrar filtros

Reading and writing HDF5 data fields of type H5T_REFERENCE

2 visualizaciones (últimos 30 días)
Sid Jackson
Sid Jackson el 5 de Abr. de 2011
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.

Respuestas (1)

John
John el 7 de Abr. de 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.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by