You have an invalid MEX file, do you run Matlab/SPM on a 64bit system
(your mex file is for 32bit windows)? The easiest solution is to
recompile the mex file in question. On windows this is a bit more
complicated you can find a short howto here:
http://en.wikibooks.org/wiki/SPM/SPM5_MEX_Compilation_on_Windows
And next time please write with a correct Email address so we can answer
you personally :-)
Best regards,
Ben
On 11/05/2010 09:33 AM, Daniel Ferreira wrote:
> Dear all,
>
> I am trying to run SPM8 but I get this error message all the time. I hope you can help me. Thank you in advance.
>
>
>
> Initialising SPM.........done
>
> SPM present working directory:
> C:\Program\MATLAB71\work\Gabiluta
>
> SPM8: spm_vbm8 (v357) 22:31:01 - 04/11/2010
> ========================================================================
>
>
> ------------------------------------------------------------------------
> Running job #1
> ------------------------------------------------------------------------
> Running 'VBM8: Estimate& Write'
> Initial Coarse Affine Registration..
> Fine Affine Registration..
> VBM8 Revision 369
> Failed 'VBM8: Estimate& Write'
> Invalid MEX-file
> 'C:\Program\MATLAB71\spm8\toolbox\vbm8\sanlmMex_noopenmp.mexw32': Det går inte att hitta den angivna proceduren.
>
> .
> In file "C:\Program\MATLAB71\spm8\toolbox\vbm8\cg_vbm8_write.m" (v366), function "cg_vbm8_write" at line 253.
> In file "C:\Program\MATLAB71\spm8\toolbox\vbm8\cg_vbm8_run.m" (v364), function "run_job" at line 233.
> In file "C:\Program\MATLAB71\spm8\toolbox\vbm8\cg_vbm8_run.m" (v364), function "cg_vbm8_run" at line 89.
>
> The following modules did not run:
> Failed: VBM8: Estimate& Write
>
>
>
>
>
>
> When I use the Print debug information I get this. Maybe it helps.
>
> cfg_message>issuemsg
> Job execution failed. The full log of this run can be found in MATLAB command window, starting with the lines (look for the line showing the exact #job as displayed in this error message)
> ------------------
> Running job #1
> ------------------
>
> -------------------------------------------------------------------------------------
> -------------------------------------------------------------------------------------
>
> Version information:
> -------------------------------------------------------------------------------------
> -------------------------------------------------------------------------------------
> MATLAB Version 7.1.0.246 (R14) Service Pack 3 MATLAB License Number: 281107 Operating System: Microsoft Windows XP Version 5.1 (Build 2600: Service Pack 3) Java VM Version: Java 1.5.0 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode
> -------------------------------------------------------------------------------------
> MATLAB Version 7.1
> (R14SP3)
> Fuzzy Logic Toolbox Version 2.2
> (R14SP1)
> Fuzzy Logic Toolbox Version 2.2
> (R14SP1)
> Image Processing Toolbox Version 5.1
> (R14SP3)
> Image Processing Toolbox Version 5.1
> (R14SP3)
> Statistical Parametric Mapping Version 4010
> (SPM8)
> Statistics Toolbox Version 5.1
> (R14SP3)
> Statistics Toolbox Version 5.1
> (R14SP3)
> Voxel Based Morphometry Toolbox Version 369
> (VBM8)
>
--
Dr. med. Benjamin Bender
Abteilung Diagnostische und Interventionelle Neuroradiologie
Universitätsklinikum Tübingen
Hoppe-Seyler- Str. 3
72076 Tübingen
Tel. (07071) 29-85397
|