help > mod_grps
Showing 1-5 of 5 posts
Jul 25, 2016 08:07 PM | Gaelle Doucet
mod_grps
Hi,
I am trying to compute graph theory measures (bringing my own matrices), but everytime I get this error:
"
Undefined function or variable "mod_grps".
Error in GTG_calcproperties_GUI>Start_pushbutton_Callback (line 1622)
parfor curr_sub = 1:num_subs
% Loop through
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in GTG_calcproperties_GUI (line 126)
gui_mainfcn(gui_State, varargin{:});
Error in
@(hObject,eventdata)GTG_calcproperties_GUI('Start_pushbutton_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback"
I think I downloaded all the files and made sure that they are in the Matlab path.
Thanks for any help!
Gaelle
I am trying to compute graph theory measures (bringing my own matrices), but everytime I get this error:
"
Undefined function or variable "mod_grps".
Error in GTG_calcproperties_GUI>Start_pushbutton_Callback (line 1622)
parfor curr_sub = 1:num_subs
% Loop through
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in GTG_calcproperties_GUI (line 126)
gui_mainfcn(gui_State, varargin{:});
Error in
@(hObject,eventdata)GTG_calcproperties_GUI('Start_pushbutton_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback"
I think I downloaded all the files and made sure that they are in the Matlab path.
Thanks for any help!
Gaelle
Jul 26, 2016 06:07 PM | Jeffrey Spielberg
RE: mod_grps
Hi Gaelle,
What version of the toolbox are you using?
What version of the toolbox are you using?
Jul 26, 2016 06:07 PM | Gaelle Doucet
RE: mod_grps
I just downloaded the most recent version (v1.2) that I use on
Matlab2013b. (I also tried on Matlab2015b but the toolbox did not
work well).
For an update, I think I found the reason of this error that is linked to the parallel processing. While I have the Matlab parallel toolbox, when I tell the GTG toolbox to compute the graph theory metrics on 2 or more cores, the error appears, but if I use only one core (no parallel processing), it works without any error...
For an update, I think I found the reason of this error that is linked to the parallel processing. While I have the Matlab parallel toolbox, when I tell the GTG toolbox to compute the graph theory metrics on 2 or more cores, the error appears, but if I use only one core (no parallel processing), it works without any error...
Jul 26, 2016 06:07 PM | Jeffrey Spielberg
RE: mod_grps
Yes, I think the error is likely due to some quirks in matlab's PCT
toolbox, where it looks for variables even if they are not used.
Try the attached script (copy over your current version)
Jul 26, 2016 06:07 PM | Gaelle Doucet
RE: mod_grps
Thank you very much! It looks like it is working now.:)
I appreciate your help!
Gaelle
I appreciate your help!
Gaelle