Hi Gary,
I am new to the NODDI Toolbox and have been running into some issues when trying to process the example dataset you provide in your tutorial. I have downloaded Matlab 2019b, niftimatlib 1.2, noddi toolbox 1.01, and the matlab optimization toolbox. Create_ROI is running fine, but then I get halted at batch_fitting. The error is posted below:
>> cd /Users/bneyland/Documents/Tools/noddi/practice/
>> CreateROI('NODDI_DWI.hdr', 'roi_mask.hdr', 'NODDI_roi.mat');
loading the DWI volume : NODDI_DWI.hdr
loading the brain mask : roi_mask.hdr
creating the output ROI ...
saving the output ROI as NODDI_roi.mat
done
>> protocol = FSL2Protocol('NODDI_protocol.bval', 'NODDI_protocol.bvec');
>> noddi = MakeModel('WatsonSHStickTortIsoV_B0');
>> batch_fitting('NODDI_roi.mat', protocol, noddi, 'FittedParams.mat', 8);
Error: File: batch_fitting.m Line: 92 Column: 17
Invalid syntax for calling function 'roi' on the path. Use a valid syntax or explicitly initialize 'roi' to make it
a variable.
Have you or anyone else run into this issue? If so, is there a way for me to fix this? I apologize if this is a simple question.
This is line 92 from the batch_fitting.m script: voxel = roi(i,:)';
As far as I can tell, the 'roi' variable should just pull from my already defined NODDI_roi.mat so I am not sure why there is an error.
Thank you ahead of time and please let me know if you need more information.
Thank you,
Blake