help > Error when running dNBS toolbox
Showing 1-3 of 3 posts
Display:
Results per page:
Nov 5, 2022  09:11 AM | Xu Shao
Error when running dNBS toolbox
Dear professor:
    I am currently learning to use dNBS toolbox to do statistics, but I met some error warnings either with example files or my own data. I am not sure what went wrong here. The settings are shown in attached file, and the errors are:
 
Error in NBSdirected (line 84)
GroupFolder= strrep(datestr(datetime), ' ', '_');

Error in dNBSrun (line 323)
catch; [nbs.NBS.n,nbs.NBS.con_mat,nbs.NBS.pval]=NBSdirected(nbs.STATS,-1,nbs.GLM,nbs.NBS); end
Error in dNBS>get_ui (line 178)
dNBSrun(UI,S);
Error while evaluating uicontrol Callback

    My MATLAB is version 2013B and I have tried dNBS toolbox version 1.0.1 and 1.2. Still, I do not know what caused the problem. I would very much appreciated it if dear professor could offer a little help.

Best wishes
Bill
Nov 5, 2022  11:11 PM | Andrew Zalesky
RE: Error when running dNBS toolbox
Hi Bill,

I suspect that this error may be due to your Matlab version. If possible, consider trying the code on a newer version of Matlab (>2018). 

dNBS was developed by Max von Gellhorn. If a version update does not help, you may want to consider contacting Max directly:



best,
Andrew


Originally posted by Xu Shao:
Dear professor:
    I am currently learning to use dNBS toolbox to do statistics, but I met some error warnings either with example files or my own data. I am not sure what went wrong here. The settings are shown in attached file, and the errors are:
 
Error in NBSdirected (line 84)
GroupFolder= strrep(datestr(datetime), ' ', '_');

Error in dNBSrun (line 323)
catch; [nbs.NBS.n,nbs.NBS.con_mat,nbs.NBS.pval]=NBSdirected(nbs.STATS,-1,nbs.GLM,nbs.NBS); end
Error in dNBS>get_ui (line 178)
dNBSrun(UI,S);
Error while evaluating uicontrol Callback

    My MATLAB is version 2013B and I have tried dNBS toolbox version 1.0.1 and 1.2. Still, I do not know what caused the problem. I would very much appreciated it if dear professor could offer a little help.

Best wishes
Bill
Nov 6, 2022  12:11 PM | Xu Shao
RE: Error when running dNBS toolbox
Dear professor
   Thank you very much for your help!

Best wishes!
Bill