Is there any possibility to split H5(Hdf5) File. I am using 3 gb of H5 file and I want to read it on Matlab. I have tried it once but after an Hour also It didn't loaded. Anybody has an idea about it. I would be so thankful.

4 views (last 30 days)
function [data] = read_hdf5(file,M)
%This function reads the content of hdf5-file.
%M: Number of samples in each data set
hinfo=hdf5info(file);
datasets=hinfo.GroupHierarchy.Datasets;
N=length(datasets);
data=zeros(M,N);
for i=1:N
data(:,i)=hdf5read(datasets(i));
end
end
  7 Comments
manizheh pourrahmati
manizheh pourrahmati on 14 Oct 2022
I have a h5 file of about 56 GB, and I want to split it to 14 files susing Python. i have never worked with h5 file before and I am a beginner in Python. Could you please provide an step by step instruction?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!