help > Installation Error
Showing 1-4 of 4 posts
Display:
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.
May 12, 2019  01:05 PM | zahra moradimanesh - Shahid Beheshti University
RE: Installation Error
Hi
I have nearly the same problem with installing conn18b on Matlab 2018, though I was using conn toolbox with Matlab 2017 perfectly fine. 
Not sure what could be the problem. I reinstall Matlab and everything but it doesn't help.
Here is the error. I googled it but couldn't find anything helpful.


ERROR DESCRIPTION:

Undefined function 'conn_guibackground' for input arguments of type 'char'.
Error in conn>conn_menuframe (line 10252)
if isfield(CONN_gui,'background'), b0=conn_guibackground('get',get(ha,'position'),size(c)); end
Error in conn (line 103)
conn_menuframe;
CONN18.b
SPM12 + DEM FieldMap MEEGtools
Matlab v.2018a
project: CONNundetermined
spm @ /Applications/MATLAB_R2018a.app/toolbox/spm12
conn @ /Applications/MATLAB_R2018a.app/toolbox/conn