DPARSF error



I am getting the following error after trying to run nuisance regression on DPARSF A:


Error using matlab.ui.Figure/set

Invalid or deleted object.


Error in matlab.hg.internal.openfigLegacy (line 117)



Error in gui_mainfcn>local_openfig (line 286)

    gui_hFigure = matlab.hg.internal.openfigLegacy(name, singleton, visible);


Error in gui_mainfcn (line 158)

        gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt, gui_Visible);


Error in DPARSF_NuisanceSetting (line 40)

    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});


Error in DPARSFA>pushbutton_NuisanceSetting_Callback (line 1018)

    handles.Cfg.Covremove = DPARSF_NuisanceSetting(handles.Cfg.Covremove);

Please help, thanks!


I guess you have clicked "close" at somewhere.

  I get an error that says : " No co * T1 image and removed excess air surrounding the individual as well as parts of the neck below the cerebellum is found. Do you want to use the T1 image without co? Such as mprage.nii? When I click yes, these errors pop up. 



Please install fsl on your mac first.

I was under the impression you just needed SPM12 and DPARSF + Matlab. I am new to FSL, and this software so can you please advise what I do next post installing FSL??

The "Bet" module is imported from fsl. On PC, you don't need to worry about that because someone has developed an exe version of this module. But on mac, you have to install fsl first.

You may visit https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/ and read some docs. I remember they have a python script to help installing.

Ohh I see, thanks for clarifying! Yes i tried just now to install the fslinstall.py file, but it keeps crashing half way through at 2%. I've posted on their forum for help. I have installed FSL via Virtual box - will that work for the purposes of running DPARSF?

Virtual Box may not help. Or you can switch your work to PC?

Installing fsl is sometimes indeed a frustrating process, but you can keep trying. fsl is a wonderful software, and it deserves your efforts.

Okay. Just to clarify, once I install FSL, and rerun DPARSF, the rest of the script should preprocess properly right?

You should also start matlab with terminal.