chrisgorgo / Adaptive-Thresholding

Combination of Gamma Gaussian Mixture model and topological FDR for thresholding fMRI statistical maps.
17 stars 6 forks source link

SPM.mat cannot be located #1

Open chrisgorgo opened 10 years ago

chrisgorgo commented 10 years ago

It looks like a spm related error rather than our tool, I CC Chris who wrote the code, except indeed this little interface with SPM that I wrote .. but he might have an idea of what is going wrong.

Chris what do you think ?

Cyril

Sent from my mobile phone

Dr Cyril Pernet Brain Research Imaging Centre www.sbirc.ed.ac.uk/cyril/

----- Reply message ----- From: "Mcconnell, Patrick" McConneP@musc.edu To: "Dr Cyril Pernet" cyril.pernet@ed.ac.uk Subject: adaptive thresholding Date: Fri, Dec 6, 2013 13:53

Hi Cyril,

No, I got the same error:

SPM.mat cannot be located Error using spm('TBlaunch',get(gcbo,'UserData'),get(gcbo,'Value')-1), set(gcbo,'Value',1) Error: Expression or statement is incomplete or incorrect.

Error in adaptative_threshold (line 136) if ~strcmp(SPM.xCon(contrast_nb).STAT,'T')

Error in spm (line 965) evalin('base',xTB(i).prog);

Error while evaluating uicontrol Callback

We are in the process of migrating to Linux .... perhaps it will work with that system.

Please let me know if you think of any solution.

Many Thanks, Patrick

Patrick McConnell, M.S. Research Specialist II Department of Neurosciences (T.R.A.I.N. Lab) Medical University of South Carolina (843)-876-2257 From: Dr Cyril Pernet [cyril.pernet@ed.ac.uk] Sent: Friday, December 06, 2013 8:32 AM To: Mcconnell, Patrick Subject: RE: adaptive thresholding

Hi Patrick

did the updated function fixed your problem?

Thx Cyril

Hi Dr. Pernet,

I have downloaded the most recent version from the website you mentioned. No luck. I am running SPM8 with Matlab R2012a version 7.14.0.739, 64-bit. Have you had success with the toolbox using this version?

All the best, Patrick

Patrick McConnell, M.S. Research Specialist II Department of Neurosciences (T.R.A.I.N. Lab) Medical University of South Carolina (843)-876-2257

From: Dr Cyril Pernet [cyril.pernet@ed.ac.uk] Sent: Thursday, November 28, 2013 4:27 AM To: Mcconnell, Patrick Subject: Re: adaptive thresholding

Hi Patrick

I don't get it, in my code contrast_nb = eval(P(max(find(P=='/'))+6:(end-4))); appears line 136 not line 100 the issue seems like there is no SPM.mat load which is not possible otherwise it would ask you to select one if none find !

have you downloaded the toolbox from there: https://sourceforge.net/projects/at-4-fmri/ maybe ou have an older version? I'm keen to find out the issue anyway

c