Clear all

[AtlasViewerTroubleshooting] Error Loading Subjects

Evelyn Joo
Posts: 9
Topic starter
Active Member
Joined: 2 years ago


I was having a bit of an issue loading participant data files into AtlasViewer, and was wondering if I could gain some insight as to why this might be happening. This is indeed my first time analyzing fNIRS data in general, so please excuse me if I am doing things completely wrong.

Every time I run AtlasViewer on matlab, it loads the subject data with no problem. However, it immediately follows with an error message that I have pasted below:


Warning: Cannot load an object of class 'DebugLevel':
Its class cannot be found.
> In GroupClass/Load (line 589)
In DataTreeClass/LoadGroup (line 314)
In DataTreeClass/FindAndLoadGroups (line 239)
In DataTreeClass (line 74)
In loadGroupNirsDataFile (line 31)
In findSubjDirs>searchDir (line 25)
In findSubjDirs (line 13)
In AtlasViewerGUI>InitGroup (line 394)
In AtlasViewerGUI>AtlasViewerGUI_OpeningFcn (line 519)
In gui_mainfcn (line 220)
In AtlasViewerGUI (line 19)

Saved group data, version 1.2 exists
Error using MenuBox
Too many input arguments.

Error in TreeNodeClass/Mismatch (line 676)
configFileOptions = MenuBox('',{},[],[], 'dontAskAgainOptions');

Error in GroupClass/Copy (line 205)
if obj.Mismatch(obj2)

Error in GroupClass/Load (line 609)
obj.Copy(group, 'conditional');

Error in DataTreeClass/LoadGroup (line 314)

Error in DataTreeClass/FindAndLoadGroups (line 239)
obj.LoadGroup(iGnew, procStreamCfgFile, options);

Error in DataTreeClass (line 74)
obj.FindAndLoadGroups(groupDirs, fmt, procStreamCfgFile, options);

Error in loadGroupNirsDataFile (line 31)
dataTree = DataTreeClass({},'snirf','','noloadconfig:oneformat');

Error in findSubjDirs>searchDir (line 25)
group = loadGroupNirsDataFile(dirname);

Error in findSubjDirs (line 13)
[subjDirs, groupDir, group] = searchDir(dirname);

Error in AtlasViewerGUI>InitGroup (line 394)
[subjDirs, groupDir, group] = findSubjDirs();

Error in AtlasViewerGUI>AtlasViewerGUI_OpeningFcn (line 519)
[groupSubjList, dirnameSubj, group] = InitGroup(varargin);

Error in gui_mainfcn (line 220)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});

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


we are using MATLAB 2020a on a PC system, and I will post a link to a google drive folder containing the SNIRF files and SD file!  

Any kind of guidance is much appreciated, and thank you in advance!