필터 지우기
필터 지우기

REST doesn't support the selected ROI definition now

조회 수: 2 (최근 30일)
YS
YS 2023년 12월 26일
답변: Ganesh 2023년 12월 26일
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

답변 (1개)

Ganesh
Ganesh 2023년 12월 26일
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!

카테고리

Help CenterFile Exchange에서 Biomedical Imaging에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by