Clear all

Error loading PROBE.SD using "Load in AV" in AtlasViewerGUI

2 Posts
2 Users
Posts: 4
Topic starter
Active Member
Joined: 9 months ago

Hi all,

Thanks for creating the training course. It has been extremely helpful. I am encountering an issue while importing probe using "Load in AV" option in AtlasViewer 2.44.0. I am getting an Error Message as pasted below in Matlab. I am currently using Matlab R2023b (Apple Silicon version) in macOS Ventura. I tried using other AtlasViewer versions (v2.43.0 and v2.16.0) but the Error Message remains the same.

I am using the data files provided on Day 6 of the 2021 fNIRS workshop and trying to follow the steps done by Dr Yucel. Is this an issue with the uploaded data files? Could someone explain why I am receiving this error? Thanks.


Ankit Jha

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 265)
    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.
1 Reply
Posts: 2
New Member
Joined: 1 month ago

Have you found your problem's solution? I am facing a similar problem...