<P>我用的是Matlab7.0的版本。在配置Mex的过程如下<BR>>> mex -setup<BR>Please choose your compiler for building external interface (MEX) files: <BR> <BR>Would you like mex to locate installed compilers [y]/n? y<BR> <BR>Select a compiler: <BR>[1] Lcc C version 2.4 in F:\MATLAB\sys\lcc <BR>[2] Microsoft Visual C/C++ version 6.0 in F: <BR> <BR>[0] None <BR> <BR>Compiler: 2<BR> <BR>Please verify your choices: <BR> <BR>Compiler: Microsoft Visual C/C++ 6.0 <BR>Location: F: <BR> <BR>Are these correct?([y]/n): y<BR> <BR>Try to update options file: C:\Documents and Settings\yw\Application Data\MathWorks\MATLAB\R14\mexopts.bat <BR>From template: F:\MATLAB\BIN\WIN32\mexopts\msvc60opts.bat <BR> <BR>Done . . . <BR>但是调用文件时出现了问题<BR>>> mex yprime.c<BR> <BR> F:\MATLAB\BIN\WIN32\MEX.PL: Error: Compile of 'yprime.c' failed. <BR> <BR>??? Error using ==> mex<BR>Unable to complete successfully<BR>我把yprime考到Work下了但还是有问题。<BR></P>