Ubuntu下C++ 调用matlab

http://blog.dabeale.com/2009/01/making-matlab-engine-work-from-cc-using.html

 

 

First install csh this can be installed using aptitude.

 

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/matlab2010a/bin/glnxa64

 

LIB = -I/opt/matlab2010a/extern/include -L/opt/matlab2010a/bin/glnxa64 -leng -lmat -lmex -lut -lmx

 

你可能感兴趣的:(C++,ubuntu)