help > Installation Error
Showing 1-3 of 3 posts
replyDisplay: Results per page:
Jun 9, 2018  04:06 AM | Stephen Bailey
Installation Error
Hey all -- 

I've installed CONN many times, but am now running into an error when trying to install on my home machine (Windows 10 Education, 64-bit). Every time, the CONN GUI starts up and freezes on the "Initializing... Please wait" step.

Have a fresh copy of R2018a, downloaded Conn v18.a and SPM 12. `conn_update` and `spm_update` both state the packages are up-to-date. Tried re-downloading and and extracting several times, but it's still occurring.

Any ideas about what might be happening?

```
ERROR DESCRIPTION:

Error using conn (line 562)
INSTALLATION PROBLEM. Please re-install SPM and CONN and try again
Error in conn (line 115)
conn init;
CONN v.undetermined
SPM12 + DEM FieldMap MEEGtools
Matlab v.2018a
spm @ C:\Program Files\MATLAB\R2018a\toolbox\spm12
conn @ C:\Program Files\MATLAB\R2018a\toolbox\conn
```
Jun 9, 2018  05:06 PM | Stephen Bailey
RE: Installation Error
I was able to get around this by installing Matlab R2017a, with Conn18a and SPM12. Not sure if this is a bug or a change in MATLAB, but it does seem to resolve with earlier versions.
Jun 10, 2018  03:06 AM | Pravesh Parekh - National Institute of Mental Health and Neurosciences
RE: Installation Error
Hi Stephen,

I don't think the problem is because of a change in MATLAB. I am using Conn18a, SPM12, and MATLAB 2018a and I don't run into any problems. The error seems to indicate that Conn is unable to find the mask.volume.brainmask.nii file. Can you try something like 
addpath(fullfile(fileparts(which('conn.m')), 'utils', 'surf'))

and see if it resolves the problem? Looks like a path related error, though it does seem strange that you are able to get it to run with an older version of MATLAB.

Best
Pravesh
Originally posted by Stephen Bailey:
I was able to get around this by installing Matlab R2017a, with Conn18a and SPM12. Not sure if this is a bug or a change in MATLAB, but it does seem to resolve with earlier versions.
reply