H5G__traverse_real component not found

9 ビュー (過去 30 日間)
Giulia Colombo
Giulia Colombo 2021 年 11 月 17 日
コメント済み: Walter Roberson 2025 年 1 月 6 日
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 件のコメント
映
2025 年 1 月 6 日
你的:rawpath这个地方弄错了;先用h5read读取下文件信息,找到正确的rawpath
Walter Roberson
Walter Roberson 2025 年 1 月 6 日
Approximate translation of @映 comment:
Your :rawpath is wrong; first use h5read to read the file information and find the correct rawpath

サインインしてコメントする。

回答 (0 件)

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by