Error with CreateROI and using subsref

67 views
Skip to first unread message

Blake Neyland

unread,
Nov 5, 2019, 12:40:08 PM11/5/19
to NODDI
Hi Gary and All,

We had a lab member run into a new error with inputing a mask into the toolbox. Please see the error below. All masks are created using BET in FSL and we have the most up-to-date version of the toolbox and matlab. Does this have anything to do with the data type?

CreateROI('noddi_run-1_mask.nii','noddi_run-1_mask_mask.nii','NODDI_roi.mat')

loading the DWI volume : noddi_run-1_mask.nii

Error using subsref

Index exceeds matrix dimensions.

 

Error in file_array/subsref>access_fields (line 145)

        t = subsref(t,subs(2:end));

 

Error in file_array/subsref (line 22)

        varargout = access_fields(obj,subs);

 

Error in nifti/subsref>rec (line 223)

            t = subsref(t,subs(2:end));

 

Error in nifti/subsref (line 49)

varargout = rec(opt,subs);

 

Error in CreateROI (line 33)

ndirs = dwi.dat.dim(4);

Reply all
Reply to author
Forward
0 new messages