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 个评论

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

请先登录,再进行评论。

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2011-4-19

0 个投票

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/

类别

帮助中心File Exchange 中查找有关 MATLAB Compiler 的更多信息

提问:

2011-4-12

Community Treasure Hunt

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

Start Hunting!

Translated by