Frage

How do I get Matlab R2007b to work with Visual Studio c++ 6.0 in (Win 7.0 64 bit OS) ?

I get the following error:

    >> 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.
War es hilfreich?

Lösung

Run mex -setup first and select Visual Studio.

Everything will be clear if you read the MATLAB help. See http://www.mathworks.co.uk/help/techdoc/matlab_external/f43202.html and http://www.mathworks.co.uk/support/compilers/release2007b/

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top