Quantcast
Channel: NITRC CONN : functional connectivity toolbox Forum: help
Viewing all articles
Browse latest Browse all 6914

Error when clicking on or deleting ROIs

$
0
0
Hello,

I am hoping someone with this error that simply mystifies me. I am sure there is a simple solution that I am overlooking. I am reading to an old Conn project but have no errors regarding where files are located as everything is in the same place. I seem able to load ROIs with no errors, but when simply clicking on some of them I get the following error: 

ERROR DESCRIPTION:

Operands to the || and && operators must be convertible to logical scalar values.
Error in conn (line 3233)
set(CONN_h.menus.m_setup_00{7},'value',1*(CONN_x.Setup.rois.dimensions{nrois}<=1&&CONN_x.Setup.rois.weighted(nrois)==0)+2*(CONN_x.Setup.rois.dimensions{nrois}>1&&CONN_x.Setup.rois.weighted(nrois)==0)+3*(CONN_x.Setup.rois.dimensions{nrois}<=1&&CONN_x.Setup.rois.weighted(nrois)>0)+4*(CONN_x.Setup.rois.dimensions{nrois}>1&&CONN_x.Setup.rois.weighted(nrois)>0));

And for all of them, when I try deleting them, I get this error:

ERROR DESCRIPTION:

Index exceeds the number of array elements (3).
Error in conn (line 2719)
for n1=1:length(CONN_x.Setup.rois.files), CONN_x.Setup.rois.files{n1}={CONN_x.Setup.rois.files{n1}{nrois}}; end


Any help would be very much appreciated!
Best,
Kaija

Viewing all articles
Browse latest Browse all 6914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>