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/
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 !
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