Filter löschen
Filter löschen

REST doesn't support the selected ROI definition now

2 Ansichten (letzte 30 Tage)
YS
YS am 26 Dez. 2023
Beantwortet: Ganesh am 26 Dez. 2023
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

Antworten (1)

Ganesh
Ganesh am 26 Dez. 2023
Hi @YS,
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!

Kategorien

Mehr zu Biomedical Imaging 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!

Translated by