Borrar filtros
Borrar filtros

REST doesn't support the selected ROI definition now

2 visualizaciones (últimos 30 días)
YS
YS el 26 de Dic. de 2023
Respondida: Ganesh el 26 de Dic. de 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

Respuestas (1)

Ganesh
Ganesh el 26 de Dic. de 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!

Categorías

Más información sobre Biomedical Imaging en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by