help > Unrecognized function or variable "im"
Nov 29, 2024  11:11 AM | vanjatanasic
Unrecognized function or variable "im"

 Hi Alfonso,


I keep getting this error message when trying to move from denoising to first level analysis in CONN. I only use the GUI and didn't modify the Matlab code myself at all, so I am confused as to why this error is ocurring and how I can fix it. I tried resetting the paths in Matlab to default and then re-adding the ones i need, but sadly this has not helped.


Do you have any advice as to how to resolve this? I can't seem to move forward in my analysis otherwise.


Kind regards,


Vanja


 


Unrecognized function or variable 'im'.


Error in conn_matc2nii (line 90)
nii_img = make_nii(im);
 ^^
Error in conn_process (line 1573)
 [nill,outvals]=conn_matc2nii(filename,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 7024)
 else conn_process('denoising_gui'); ispending=false;
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in conn_menumanager (line 124)
 feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end}); 
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^