We modified the parcellation in GraphVar 2.02 and added in house rat brain atlas. Everything seems fine up until final stage of exporting. We think it might be callback of different atlas (human) but not sure. We are using Matlab 2017a. Here is the error message. Thank you for any help you can provide:
Index exceeds matrix dimensions.
Error in GraphVar_CalcExport_Callback (line 66)
if(sum(size(Result{1}) > 1))
if(sum(size(Result{1}) > 1))
Error in gui_mainfcn (line 95)
feval(varargin{:});
feval(varargin{:});
Error in GraphVar (line 40)
gui_mainfcn(gui_State, varargin{:});
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)GraphVar('GraphVar_CalcExport_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)GraphVar('GraphVar_CalcExport_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
Forums
Export Error
Hi,
I think it has nothing to do with your atlas but rather with the graph measure you are trying to export (i.e., the dimensions of the result do not match the requirements of the export function). It could be that we have added some new measures that have a different output as the more regular metrics and did not adapt the export function accordingly. If the error occurs at the end of the calculations, GraphVar will have saved all results also in its current workspace under 'results/*number*/GraphVars/. Thus, you could retrieve everyting from this location and manually put this into your xls sheet (each colum should represent a subject in the mat files). What measure are you trying to export?
Best,
Johann