フィルターのクリア

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 Center および File ExchangeBiomedical Imaging についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by