H5G__traverse_real component not found

When running this chunk of code on a Windows 10 pc (Lenovo) in Matlab 2021 b release:
clear
pathFileActivityScan = 'F:/Dati/.../000001/';
pathFileNetwork = 'F:/Dati/.../data.raw.h5/';
networkDataInfo = h5info(pathFileNetwork);
% the raw signal (first 5000 samples for e.g. 100 channels)
rawpath = '/recordings/rec0000/well000/groups/routed';
networkRawData = h5read(pathFileNetwork,[rawpath '/raw'],[1 1],[5000 100]);
% a smaller chunk of data (between 4000 and 5000 samples for e.g. 100 channels)
networkRawData2 = h5read(pathFileNetwork,[rawpath '/raw'],[4000 1],[1000 100]);
% the spikes that were detected and stored by the software
networkSpikes = h5read(pathFileNetwork,'/recordings/rec0000/well000/spikes');
I got this error messagge:
Error using h5readc
The HDF5 library encountered an error and produced the following stack trace information:
H5G__traverse_real component not found
Error in h5read (line 93)
[data,var_class] = h5read(Filename,Dataset,start,count,stride);
Error in the script I'm using (line 33)
networkRawData = h5read(pathFileNetwork,[rawpath '/raw'],[1 1],[5000 100]);
Where do you think the problem could be? It gives me no cue of it.

4 Comments

dear Sir,
I am also facing similiar error.. could you find the solution to this? please comment.
你的:rawpath这个地方弄错了;先用h5read读取下文件信息,找到正确的rawpath
Approximate translation of @映 comment:
Your :rawpath is wrong; first use h5read to read the file information and find the correct rawpath

Sign in to comment.

Answers (0)

Products

Release

R2021b

Asked:

on 17 Nov 2021

Commented:

on 6 Jan 2025

Community Treasure Hunt

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

Start Hunting!