Clear all

Probe Error in Atlas Viewer using "Load in AV"

1 Posts
1 Users
0 Reactions
Posts: 2
Topic starter
New Member
Joined: 8 months ago

When I select probe in AtlasViewer using "Load in AV" there is an error showing in MATLAB:

My device: Macbook M2, MATLAB 2023...Can you suggest to me how I can solve this problem?

Error using hdf5lib2
The class of input data must be integer instead of int32 when the HDF5 class is H5T_STD_U64LE.

Error in H5D.write (line 100)
H5ML.hdf5lib2('H5Dwrite', varargin{:});

Error in hdf5write_safe>write_integer (line 101)
H5D.write(dsid, tid, 'H5S_ALL', 'H5S_ALL', 'H5P_DEFAULT', int32(val));

Error in hdf5write_safe (line 52)
write_integer(fid, name, val);

Error in MeasListClass/SaveHdf5 (line 171)
hdf5write_safe(fid, [location, '/sourceIndex'], uint64(obj.sourceIndex));

Error in DataClass/SaveHdf5 (line 248)
obj.measurementList(ii).SaveHdf5(fid, [location, '/measurementList', num2str(ii)]);

Error in SnirfClass/SaveData (line 672), [obj.location, '/data', num2str(ii)]);

Error in SnirfClass/SaveHdf5 (line 742)

Error in FileLoadSaveClass/Save (line 78)
obj.SaveHdf5(filename, params);

Error in initProbe>save_loc (line 268)
snirf.Save([probe.pathname, 'probe.snirf'])

Error in importProbe (line 43);

Error in AtlasViewerGUI>menuItemProbeImport_Callback (line 3363)
probe = importProbe(probe, [pathname, filename], headsurf, refpts);

Error in gui_mainfcn (line 95)

Error in AtlasViewerGUI (line 19)
gui_mainfcn(gui_State, varargin{:});

Error in>@(hObject,eventdata)AtlasViewerGUI('menuItemProbeImport_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating Menu Callback.