open-discussion
open-discussion > Errors in GraphVar2.03a
Jun 15, 2021 08:06 PM | Liam Nestor - Imperial College London
Errors in GraphVar2.03a
I've installed the latest version of GraphVar. I simply want to
export graph measures (e.g., global path length) from a series of
matrices into CSV files and do group comparisons in R. I run
GraphVar, load the matrices, and it starts to compute the measures
- I can see the progress watcher computing the measures in each
subject. It completes the final subject, but the progress watcher
just keeps going. The results aren't exported to CSV files. I see
the following text and errors on the matlab terminal (see below).
I'm using matlab 2015b. Anybody know what the problem is? Many
thanks, Liam.
Warning: File: CalcVars.m Line: 149 Column: 54
The temporary variable randM will be cleared at the beginning of each iteration of the parfor loop.
Any value assigned to it before the loop will be lost. If randM is used before it is assigned in the parfor loop, a
runtime error will occur.
See Parallel for Loops in MATLAB, "Temporary Variables".
> In GraphVar_calc (line 93)
In GraphVar_CalcExport_Callback (line 42)
In gui_mainfcn (line 95)
In GraphVar (line 40)
In matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)GraphVar('GraphVar_CalcExport_Callback',hObject,eventdata,guidata(hObject))
Index exceeds matrix dimensions.
Error in GraphVar_CalcExport_Callback (line 66)
if(sum(size(Result{1}) > 1))
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in GraphVar (line 40)
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
Warning: File: CalcVars.m Line: 149 Column: 54
The temporary variable randM will be cleared at the beginning of each iteration of the parfor loop.
Any value assigned to it before the loop will be lost. If randM is used before it is assigned in the parfor loop, a
runtime error will occur.
See Parallel for Loops in MATLAB, "Temporary Variables".
> In GraphVar_calc (line 93)
In GraphVar_CalcExport_Callback (line 42)
In gui_mainfcn (line 95)
In GraphVar (line 40)
In matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)GraphVar('GraphVar_CalcExport_Callback',hObject,eventdata,guidata(hObject))
Index exceeds matrix dimensions.
Error in GraphVar_CalcExport_Callback (line 66)
if(sum(size(Result{1}) > 1))
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in GraphVar (line 40)
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
