Filter löschen
Filter löschen

how to append data in hdf5 file.

12 Ansichten (letzte 30 Tage)
MakM
MakM am 11 Aug. 2022
Beantwortet: Walter Roberson am 11 Aug. 2022
hdf5write('check_v1.h5','/g1/coordinates',all_data);
hdf5write('check_v1.h5','/g2/coordinates_vel',all_data1);
How do i append the above two datasets?
h5disp('check_v1.h5') %shows the last dataset i write
HDF5 check_v1.h5
Group '/'
Group '/g2'
Dataset 'coordinates_vel'
Size: 11272228
MaxSize: 11272228
Datatype: H5T_COMPOUND
Member 'VelocityX': H5T_IEEE_F64LE (double)
Member 'VelocityY': H5T_IEEE_F64LE (double)
Member 'TargetXCoord': H5T_IEEE_F64LE (double)
Member 'TargetYCoord': H5T_IEEE_F64LE (double)
ChunkSize: []
Filters: none
FillValue: H5T_COMPOUND

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 11 Aug. 2022
hdf5write('check_v1.h5','/g1/coordinates',all_data);
hdf5write('check_v1.h5','/g2/coordinates_vel',all_data1, 'WriteMode', 'append');

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by