How to read mutlple .h5 files
1 次查看(过去 30 天)
显示 更早的评论
I need to read data from all .h5 files that are stored in a folder
0 个评论
采纳的回答
KSSV
2020-3-16
hfiles = dir('*.h5') ;
N = length(hfiles) ;
% loop for each file
for i = 1:N
thisfile = hfiles(i).name ;
% read the file
end
4 个评论
KSSV
2020-3-27
Storing huge data might lead to memory full problem. Try to load one file and process it what you want and store the required output.
An array of size m*n can be intialized using:
A =zeros(m,n) ;
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDF5 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!