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 (최근 30일)
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
manizheh pourrahmati
manizheh pourrahmati 2022년 10월 14일
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?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by