REST doesn't support the selected ROI definition now
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ROI time course retrieving through "D:\syff\Desktop\MRI\Part2\rsFMRI_Course_Data\ROI\output00001.nii ".Error using sprintf
Function is not defined for 'cell' inputs.
Error in rp_fc (line 235)
error(sprintf('REST doesn''t support the selected ROI definition now, Please check: \n%s', AROIDef));
Error in infodr_FunctionalConnectivity (line 13)
[ResultMaps]=rp_fc(AllVolume,infile_Mask, AROIDef,outfileNam_FC, ACovariablesDef, VorR_tag);
Error in indir_FunctionalConnectivity (line 22)
infodr_FunctionalConnectivity([indir_FunImg filesep SubfodrList{i}],...
Error in pipeline_kernel>run_FunctionalConnectivity (line 548)
indir_FunctionalConnectivity(indir_FunImg,outfodr_FC,infilepath_Mask,Parameter);
Error in pipeline_kernel (line 225)
run_FunctionalConnectivity(InputParameter);
Error in pipeline_batch (line 19)
pipeline_kernel(OperationList{i},InputParameter);
Error in call_pipeline_batch (line 14)
pipeline_batch(ProcessQueue,InputParameter);
Error in flaxible_run_pushbutton_callback (line 35)
call_pipeline_batch(ProcessQueue,InputParameter,handles);
Error in run_AVersionCallback (line 137)
flaxible_run_pushbutton_callback(handles);
Error while evaluating uicontrol Callback
0 Kommentare
Antworten (1)
Ganesh
am 26 Dez. 2023
The error is caused as the AROIDef is of the type "cell" and it is inconsitent with sprintf. You would have to reference the character stored in the cell array.
A possible solution to this problem would be to access the variable at the required index. You can to use "AROIDef{i}" to access the value stored in the cell array.
Hope this helps!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Display Image finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!