Hmmm. I had this exactly error some time ago.
SPM worked fine one day and the next day that error came always up. This
happened to me in two different machines... but maybe I had a corrupted
file or something.
The way I solved this situation (just downloading spm_bwlabel.dll from
the updates section didn't work) was just typing:
>>addpath 'your_spm_path';
>>mex spm_bwlabel.c
That easy (this compiles spm_bwlabel again for your machine).
Surprisingly, this malfunction of spm_bwlabel has only appeared when I
used WinXP, not Linux/Win2k, but again, this problem has only appeared
to me twice.
Hope this helps (and solves your problem!)
Juan J.
Matt Tinnirella wrote:
> Can anyone explain the following error message from Matlab. I have
> verified the file exist and have the latest version.
>
>
>
> SPM2: spm_results_ui (v2.42) 14:09:33 - 22/12/2004
> ========================================================================
>
> SPM2: spm_getspm (v2.51) 14:09:33 - 22/12/2004
> ----------------------------------------------------------------
> contrast image 1 : (spm_add)
> ...initialising
> ...computing ...written con_0004.img
> spm{T} image 1 :
> ...computing
> ...writing ...written spmT_0004.img
> SPM computation : ...initialising
> SPM computation : ...done
> DLL load failed for mex file o:\spm2_updates\spm_bwlabel.dll
> The specified procedure could not be found.
> ??? Invalid MEX-file
>
> Error in ==> o:\spm2_updates\spm_clusters.m
> On line 37 ==> [cci,num] = spm_bwlabel(vol,18);
>
> Error in ==> o:\spm2_updates\spm_getSPM.m
> On line 478 ==> A = spm_clusters(XYZ);
>
> Error in ==> o:\spm2\spm_results_ui.m
> On line 260 ==> [SPM,xSPM] = spm_getSPM;
>
> ??? Error using ==> waitfor
> Error while evaluating uicontrol Callback.
>
> ??? Error using ==> spm_input
> Input objects cleared whilst waiting for response: Bailing out!
>
> Error in ==> o:\spm2_updates\spm_getSPM.m
> On line 257 ==> if spm_input('mask with other
> contrast(s)','+1','y/n',[1,0],2)
>
> Error in ==> o:\spm2\spm_results_ui.m
> On line 260 ==> [SPM,xSPM] = spm_getSPM;
>
> ??? Error while evaluating uicontrol Callback.
>
> Thanks for all the help
>
> Matthew Tinnirella
> Research Assistant
> University of Maryland School of Medicine
> Maryland Psychiatric Research Center
> P.O. Box 21247
> Baltimore, MD 21228
> 410-402-6111 (Phone)
> 410-788-6077 (Fax)
--
________________________________________________________
Juan José Lull Noguera - jualulno_at_upvnet.upv.es
[MI - Medical Imaging Area]
BET - Bioengineering, Electronics and Telemedicine Group
UPV - Politechnical University of Valencia - Spain
________________________________________________________
|