如何在(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.
答案 0 :(得分:0)
首先运行mex -setup
并选择Visual Studio。
如果您阅读MATLAB帮助,一切都会很清楚。请参阅http://www.mathworks.co.uk/help/techdoc/matlab_external/f43202.html和http://www.mathworks.co.uk/support/compilers/release2007b/