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 vues (au cours des 30 derniers jours)
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 commentaires
manizheh pourrahmati
manizheh pourrahmati le 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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Call Python from MATLAB 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!

Translated by