DPARSF error

Hello,

 

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)

                set(fig,'Visible',savedvisible);

 

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!

Forums:

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.

I tried your suggestion, and reinstalled FSL and DPARSF. The errors still persist, however so I'm not sure what else to do.

It still says bin/bet command not found, and when I click 'yes' on the popup from the attachment above, it again throws back the errors. It had worked once previously after installing FSL, but now it doesn't again. 

You have to launch matlab from "terminal".

That fixed this issue, thanks! However, now I am having a general issue starting up the toolbox on Matlab. Once I load it via terminal, every time I try to load the subjects via the path and by entering ‘FunImg’ in the working directory, a bunch of errors in red come back saying error with nitfti files (even though they are correctly placed in FunImg and T1Img directories). It seems to not be recognizing my nifti files for some reason. Is it an SPM12 vs SPM8 issue?

That fixed this issue, thanks! However, now I am having a general issue starting up the toolbox on Matlab. Once I load it via terminal, every time I try to load the subjects via the path and by entering ‘FunImg’ in the working directory, a bunch of errors in red come back saying error with nitfti files (even though they are correctly placed in FunImg and T1Img directories). It seems to not be recognizing my nifti files for some reason. Is it an SPM12 vs SPM8 issue?

I guess you have to re-setup the toolbox path for matlab.

That worked thanks!