Not sure why I am getting this error with h5read, I'm trying to read the first 5000 samples for the first 100 channels
pathFileNetwork = '/Desktop/network_data_full.raw.h5';
networkDataInfo = h5info(pathFileNetwork);
rawpath = '/recordings/rec0000/well000/groups/routed';
h5disp(pathFileNetwork,[rawpath '/raw'])
HDF5 network_data_full.raw.h5
Dataset 'raw'
Size: 1199800x1007
MaxSize: Infx1007
Datatype: H5T_STD_U16LE (uint16)
ChunkSize: 200x1007
Filters: unrecognized filter (mxw-data), deflate(0)
FillValue: 0
networkRawData = h5read(pathFileNetwork,[rawpath '/raw'],[1 1],[5000 100]);
Error using h5readc
The HDF5 library encountered an error and produced the following stack trace information:
H5PL__find can't open directory
H5PL_load search in paths failed
H5Z_pipeline required filter 'mxw-data' is not registered
H5D__chunk_lock data pipeline read failed
H5D__chunk_read unable to read raw data chunk
H5D__read can't read data
H5Dread can't read data
Error in h5read (line 58)
[data,var_class] = h5readc(Filename,Dataset,start,count,stride);

 채택된 답변

Jon
Jon 2024년 1월 26일
편집: Walter Roberson 2024년 1월 26일

0 개 추천

solved!
downloaded a Decompression Library to the desktop
opened terminal
touch ~/.zshrc
open ~/.zshrc
add the following line of text and save
export HDF5_PLUGIN_PATH=/Users/maxone/Desktop:$HDF5_PLUGIN_PATH
back in terminal
/Applications/MATLAB_R2018a.app
./matlab
run code in matlab
adjust mac security settings to "Allow Anyway"
I hope this helps anyone having a similar issue!

댓글 수: 2

Pierre Boucher
Pierre Boucher 2024년 6월 5일
Hey Jon, I am having the same issue actually. Thank you for your post! Which decompression library are you using?
Jon
Jon 2024년 6월 11일
Hi Pierre,
This is the library I used:
Hope this helps!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품

릴리스

R2018a

태그

질문:

Jon
2024년 1월 26일

댓글:

Jon
2024년 6월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by