How to write dataset in hdf5 format?

2 ビュー (過去 30 日間)
Faheem Ur Rehman
Faheem Ur Rehman 2021 年 8 月 9 日
回答済み: KSSV 2021 年 8 月 9 日
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});

回答 (1 件)

KSSV
KSSV 2021 年 8 月 9 日
You should first create the dimensions/ variables in the file using hdf5create. Read about this.

カテゴリ

Help Center および File ExchangeHDF5 についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by