help > Error Loading files
Showing 1-2 of 2 posts
Dec 1, 2021 08:12 PM | boergertf
Error Loading files
Hello all,
BrainNetViewer Newby here. I am encountering an error loading files and hoping one of you can help. When I attempt to load in a custom connectivity node file and edge file, I get the error pasted below.
Briefly: my connectivity matrix is defined by 90 ROI (node file attached) in 90*6 format and the edge file is in 90*90 on a -1 to 1 scale.
Any ideas on what is throwing this error and/or how to resolve it would be appreciated.
Sincerely,
Timothy Boerger, PhD
Index in position 2 exceeds array bounds (must not exceed 1).
Error in BrainNet_Option>Initialization (line 351)
EC.nod.ModularNumber = sort(unique(surf.sphere(:,4)));
Error in BrainNet_Option>BrainNet_Option_OpeningFcn (line 79)
Initialization(handles);
Error in gui_mainfcn (line 220)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
Error in BrainNet_Option (line 52)
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
Error in BrainNet>NV_m_LF_Callback (line 4972)
H=BrainNet_Option;
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in BrainNet (line 53)
gui_mainfcn(gui_State, varargin{:});
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)BrainNet('NV_m_LF_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating Menu Callback.
>>
BrainNetViewer Newby here. I am encountering an error loading files and hoping one of you can help. When I attempt to load in a custom connectivity node file and edge file, I get the error pasted below.
Briefly: my connectivity matrix is defined by 90 ROI (node file attached) in 90*6 format and the edge file is in 90*90 on a -1 to 1 scale.
Any ideas on what is throwing this error and/or how to resolve it would be appreciated.
Sincerely,
Timothy Boerger, PhD
Index in position 2 exceeds array bounds (must not exceed 1).
Error in BrainNet_Option>Initialization (line 351)
EC.nod.ModularNumber = sort(unique(surf.sphere(:,4)));
Error in BrainNet_Option>BrainNet_Option_OpeningFcn (line 79)
Initialization(handles);
Error in gui_mainfcn (line 220)
feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
Error in BrainNet_Option (line 52)
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
Error in BrainNet>NV_m_LF_Callback (line 4972)
H=BrainNet_Option;
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in BrainNet (line 53)
gui_mainfcn(gui_State, varargin{:});
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)BrainNet('NV_m_LF_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating Menu Callback.
>>
Feb 9, 2022 10:02 PM | johnck - Wayne State University
RE: Error Loading files
Hi Timothy,
I'm a newby as well, but I've had some luck with node files.
Looks like your file is delimited with commas. I did a quick edit and replaced them with tabs.
Attached here, give this a shot!
I'm a newby as well, but I've had some luck with node files.
Looks like your file is delimited with commas. I did a quick edit and replaced them with tabs.
Attached here, give this a shot!