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
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 Center 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!