MEX-file error during preprocessing

Hey,
We're new to VBM and keep coming up with a MEX-file error during preprocessing. We are currently using MATLAB R2006a and SPM8. Does anyone have any suggestions or advice to solve this problem?
-Kyle

2 Comments

Could you paste the exact error message?
The following is the error message we keep getting:
Running 'VBM8: Estimate & Write'
Initial Coarse Affine Registration..
Fine Affine Registration..
VBM8 Revision 369
Failed 'VBM8: Estimate & Write'
Invalid MEX-file 'C:\Program Files\MATLAB\R2006a\work\spm8\toolbox\vbm8\sanlmMex_noopenmp.mexw32': The specified procedure could not be found.
.
In file "C:\Program Files\MATLAB\R2006a\work\spm8\toolbox\vbm8\cg_vbm8_write.m" (v366), function "cg_vbm8_write" at line 253.
In file "C:\Program Files\MATLAB\R2006a\work\spm8\toolbox\vbm8\cg_vbm8_run.m" (v364), function "run_job" at line 233.
In file "C:\Program Files\MATLAB\R2006a\work\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
>>

Sign in to comment.

Answers (1)

Kaustubha Govind
Kaustubha Govind on 19 Apr 2011
The "Invalid MEX-file" error is typically thrown when your MEX-function references shared libraries (DLLs) that are not on the system path. Have you ensured that all relevant VBM directories are on the system path?
If you would like to determine which DLLs cannot be located, please see: http://www.mathworks.com/support/solutions/en/data/1-2RQL4L/

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 12 Apr 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!