MEX File, UBUNTU, .so files

Hi All, I am trying to use a .cpp file with MEX files. But i have a dependency of .so file. All this is of course in ubuntu.
How do i specify this dependency.
~Cheers!
Neeraj

 採用された回答

James Tursa
James Tursa 2011 年 6 月 9 日

0 投票

If I understand you correctly, you have C++ source file(s) and some other object files and you want to build a mex routine from them. If so, simply place all of the files in one directory and then specify all of them on the mex command line. e.g.,
mex sourcefile1.cpp sourcefile2.cpp objectfile1.so objectfile2.so

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by