如何让Matlab R2007b与Visual Studio c ++ 6.0一起使用?

时间:2011-10-05 00:33:29

标签: matlab dll shared-libraries loadlibrary visual-studio-6

如何在(Win 7.0 64位操作系统)中使用Matlab R2007b与Visual Studio c ++ 6.0一起使用?

我收到以下错误:

    >> loadlibrary dog.dll dog.h

Warning: Shared libraries are not supported on this platform.  
Functions that do not have a mexFunction signature may have unpredictable results.

    > In loadlibrary at 54

    ??? Error using ==> loadlibrary at 209
    LCC was not found at C:\Program Files\MATLAB\R2007b\sys\lcc\bin\lcc.exe.

1 个答案:

答案 0 :(得分:0)

首先运行mex -setup并选择Visual Studio。

如果您阅读MATLAB帮助,一切都会很清楚。请参阅http://www.mathworks.co.uk/help/techdoc/matlab_external/f43202.htmlhttp://www.mathworks.co.uk/support/compilers/release2007b/