help > RE: Denoising Error
2 hours ago | Yann Quide
RE: Denoising Error

Hi Jeff, Alfonso and other users,


We receive the same error using Matlab r2022a, as mentioned in our earlier messsage.


The error message below is when testing with SPM12, but we received the same message when using SPM25.01.02 and SPM26.0.rc01.


Is there something in particular to change to be able to fix this?


Many thanks in advance,


Yann


 


ERROR DESCRIPTION:
 
Error using cellfun
Input #2 expected to be a cell array, was double instead.


 


Error in conn_process (line 2015)
 enames=cellfun(@(nroi)arrayfun(@(n)sprintf('%s_%d',names{nroi},n),1:size(data{nroi},2),'uni',0),1:numel(data),'uni',0);


 


Error in conn_process (line 69)
 case {'preprocessing_gui','denoising_gui'}, conn_disp(['CONN: RUNNING DENOISING STEP']); conn_process([1.5,2,6:9],varargin{:});


 


Error in conn (line 7909)
 conn_process('denoising_gui'); ispending=false;


 


Error in conn_menumanager (line 125)
 feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end}); 
CONN25.b
SPM12 + AAL3 DAiSS DEM FieldMap MEEGtools TFCE cat12 suit
Matlab v.2022a
project: CONN25.b
storage: 5143.7Gb available


Originally posted by Jeff Browndyke:



I keep on running into a reproducible issue with the new CONN version (25.b) using MATLAB 2025.  It crops up when I try to rerun denosing procedures or applying denoising to new ROIs.  

Any ideas on what might be happening?  Essentially, once I see this error, I can no longer add ROIs to a CONN study file.



Step 4/6: Denoising ROI data

Regression : White Matter (5P) (5 dimensions; no polynomial expansion; no temporal expansion; non-filtered; session-specific)
Regression : CSF (5P) (5 dimensions; no polynomial expansion; no temporal expansion; non-filtered; session-specific)
Regression : realignment (12P) (6 dimensions; no polynomial expansion; added first-order derivative; non-filtered; session-specific)

Regression : scrubbing (413P) (413 dimensions; no polynomial expansion; no temporal expansion; non-filtered; session-specific)
Regression : Effect of base (2P) (1 dimensions; no polynomial expansion; added first-order derivative; non-filtered; session-specific)
Regression : Effect of 9mos (2P) (1 dimensions; no polynomial expansion; added first-order derivative; non-filtered; session-specific)
Regression : Effect of 18mos (2P) (1 dimensions; no polynomial expansion; added first-order derivative; non-filtered; session-specific)
Order : Regression followed by filtering (RegBP)
Detrending : 1
Despiking : 0
Bandpass : [0.008 0.09]

ERROR DESCRIPTION:

Error using cellfun
Input #2 expected to be a cell array, was double instead.

Error in conn_process (line 2015)
enames=cellfun(@(nroi)arrayfun(@(n)sprintf('%s_%d',names{nroi},n),1:size(data{nroi},2),'uni',0),1:numel(data),'uni',0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in conn_process (line 69)
case {'preprocessing_gui','denoising_gui'}, conn_disp(['CONN: RUNNING DENOISING STEP']); conn_process([1.5,2,6:9],varargin{:});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in conn (line 7909)
conn_process('denoising_gui'); ispending=false;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in conn_menumanager (line 125)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
CONN25.b
SPM25 + DAiSS DEM FieldMap MEEGtools cat12
Matlab v.2025b
project: CONN25.b
storage: 2512.0Gb available



 

Threaded View

TitleAuthorDate
Jeff Browndyke Apr 17, 2026
RE: Denoising Error
Yann Quide 2 hours ago