Hi Dr. Zalesky
I am using NBS to compare connectivity differences in 2 groups. I get this error when I run nbs. Please tell me what the problem is.
Error using components
Too many output arguments.
Error in NBSstats (line 132)
[a,sz]=components(adj);
Error in NBSrun (line 313)
catch;
[nbs.NBS.n,nbs.NBS.con_mat,nbs.NBS.pval]=NBSstats(nbs.STATS,-1,nbs.GLM);
end
Error in NBS>get_ui (line 174)
NBSrun(UI,S);
Error while evaluating UIControl Callback.
Thank you for your help!
Hi Miktab,
I suspect that you have a function called compnents.m in your working directory, which is not the components.m used by the NBS
Make sure that you have added the NBS and all of its subdirectories to your working path:
addpath(genpath('NBS_folder'))
In short, Matlab seems to be calling the wrong version of components.m
Andrew
if you type edit components, does the function provide two output?
Originally posted by mikatb:
Hi Dr. Zalesky
I am using NBS to compare connectivity differences in 2 groups. I get this error when I run nbs. Please tell me what the problem is.
Error using components
Too many output arguments.
Error in NBSstats (line 132)
[a,sz]=components(adj);
Error in NBSrun (line 313)
catch; [nbs.NBS.n,nbs.NBS.con_mat,nbs.NBS.pval]=NBSstats(nbs.STATS,-1,nbs.GLM); end
Error in NBS>get_ui (line 174)
NBSrun(UI,S);
Error while evaluating UIControl Callback.
Thank you for your help!
Thank you so much for the answer .My problem is solved.
Regards,
Mika