H5G__traverse_real component not found
9 views (last 30 days)
Show older comments
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
Walter Roberson
on 6 Jan 2025
Your :rawpath is wrong; first use h5read to read the file information and find the correct rawpath
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!