help > RE: Error when running dNBS toolbox
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:


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)
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

Threaded View

Xu Shao Nov 5, 2022
RE: Error when running dNBS toolbox
Andrew Zalesky Nov 5, 2022
Xu Shao Nov 6, 2022