help
help > RE: Problem loading ROI images
Jun 23, 2014 02:06 AM | Alfonso Nieto-Castanon - Boston University
RE: Problem loading ROI images
Dear Yusuf,
My best guess right now is that you have two different SPM8 versions installed, one in /Volumes/YUSUF'S HD/SPM8/ and another one in /Volumes/YUSUF'S HD/SPM8/spm8/, and this seems to be causing some problems (it could be that both are in the path, or that the former is in the path and the latter is your actual current directory in Matlab, I cannot tell that from the info you provide).
In any way, what I would suggest is to go ahead and delete all of the entries in your Matlab path that refer to SPM8, then add a single entry to your path pointing to the location of SPM (this should be a folder that contains the file spm.m, in your case this is likely the folder /Volumes/YUSUF'S HD/SPM8/) using the 'Add Folder' (NOT the 'Add with Subfolders' option), and add another entry to your path pointing to the location of CONN (this should be a folder that contains the file conn.m) again using the 'Add Folder' option. After this, save your path, restart Matlab, cd to a working folder that does not contain any *.m files (e.g. type
mkdir myfolder
cd myfolder
and then try running CONN again. Please let me know if you are still running into any issues.
Best
Alfonso
Originally posted by Yusuf Daniju:
My best guess right now is that you have two different SPM8 versions installed, one in /Volumes/YUSUF'S HD/SPM8/ and another one in /Volumes/YUSUF'S HD/SPM8/spm8/, and this seems to be causing some problems (it could be that both are in the path, or that the former is in the path and the latter is your actual current directory in Matlab, I cannot tell that from the info you provide).
In any way, what I would suggest is to go ahead and delete all of the entries in your Matlab path that refer to SPM8, then add a single entry to your path pointing to the location of SPM (this should be a folder that contains the file spm.m, in your case this is likely the folder /Volumes/YUSUF'S HD/SPM8/) using the 'Add Folder' (NOT the 'Add with Subfolders' option), and add another entry to your path pointing to the location of CONN (this should be a folder that contains the file conn.m) again using the 'Add Folder' option. After this, save your path, restart Matlab, cd to a working folder that does not contain any *.m files (e.g. type
mkdir myfolder
cd myfolder
and then try running CONN again. Please let me know if you are still running into any issues.
Best
Alfonso
Originally posted by Yusuf Daniju:
Dear Alfonso,
I am still having issues, I checked the path and there was only spm8 and one conn folder, I've attached a screen pic. When I try and run the analysis I still get the following errors:ERROR DESCRIPTION:
Error using spm_vol>subfunc (line 101)
File "/Volumes/YUSUF'S HD/SPM8/spm8/apriori/brainmask.nii" does not exist.
Error in spm_vol>subfunc1 (line 77)
v = subfunc(P(i,:));
Error in spm_vol>subfunc2 (line 69)
V = subfunc1(P);
Error in spm_vol (line 54)
V = subfunc2(P);
Error in conn_process (line 352)
Vmask=spm_vol(filename);
Error in conn_process (line 12)
case 'setup', disp(['CONN: RUNNING SETUP STEP']); conn_process([0:5]);
Error in conn (line 1582)
conn_process('setup');
Error in conn_menumanager (line 103)
feval(MM.MENU{n0}.callback{n1}{1},MM.MENU{n0}.callback{n1}{2:end});
CONN v.14.f
SPM8 + Beamforming DEM FieldMap MEEGtools conn
Matlab v.2014a
I tried to open Conn via SPM and that was not possible at all, I just got the error
Error using spm('TBlaunch',get(gcbo,'UserData'),get(gcbo,'Value')-1), set(gcbo,'Value',1)
Error: Unexpected MATLAB operator.
Error in spm (line 965)
evalin('base',xTB(i).prog);
Error while evaluating uicontrol Callback
thanks for your help
Yusuf
I am still having issues, I checked the path and there was only spm8 and one conn folder, I've attached a screen pic. When I try and run the analysis I still get the following errors:ERROR DESCRIPTION:
Error using spm_vol>subfunc (line 101)
File "/Volumes/YUSUF'S HD/SPM8/spm8/apriori/brainmask.nii" does not exist.
Error in spm_vol>subfunc1 (line 77)
v = subfunc(P(i,:));
Error in spm_vol>subfunc2 (line 69)
V = subfunc1(P);
Error in spm_vol (line 54)
V = subfunc2(P);
Error in conn_process (line 352)
Vmask=spm_vol(filename);
Error in conn_process (line 12)
case 'setup', disp(['CONN: RUNNING SETUP STEP']); conn_process([0:5]);
Error in conn (line 1582)
conn_process('setup');
Error in conn_menumanager (line 103)
feval(MM.MENU{n0}.callback{n1}{1},MM.MENU{n0}.callback{n1}{2:end});
CONN v.14.f
SPM8 + Beamforming DEM FieldMap MEEGtools conn
Matlab v.2014a
I tried to open Conn via SPM and that was not possible at all, I just got the error
Error using spm('TBlaunch',get(gcbo,'UserData'),get(gcbo,'Value')-1), set(gcbo,'Value',1)
Error: Unexpected MATLAB operator.
Error in spm (line 965)
evalin('base',xTB(i).prog);
Error while evaluating uicontrol Callback
thanks for your help
Yusuf
Threaded View
| Title | Author | Date |
|---|---|---|
| Yusuf Daniju | Jun 19, 2014 | |
| Alfonso Nieto-Castanon | Jun 20, 2014 | |
| Yusuf Daniju | Jun 23, 2014 | |
| Alfonso Nieto-Castanon | Jun 23, 2014 | |
