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!