How to write dataset in hdf5 format?
조회 수: 3 (최근 30일)
이전 댓글 표시
I have folder with name ModClassDataFiles. In which 20 .mat file are saved i want to convert them into hdf5, but i got error below
Code:
hdf5write('myfile2.h5', 'E:\Thesis\26_Mod_dataset', 'E:\Thesis\26_Mod_dataset\ModClassDataFiles\frame4ASK001.mat');
Error using hdf5writec
Call to HDF5 library failed (fileCreation): "createHDF5File: Couldn't create file.".
Error in hdf5write (line 151)
hdf5writec(file, details, varargin{dset_idx});
댓글 수: 0
답변 (1개)
KSSV
2021년 8월 9일
You should first create the dimensions/ variables in the file using hdf5create. Read about this.
댓글 수: 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!