MATLAB Answers

Building a MEX function that depends on a .dll, .lib, and headers?

33 ビュー (過去 30 日間)
carpetfizz 2019 年 10 月 15 日
回答済み: Maadhav Akula 2019 年 11 月 4 日
I have a C++ function that depends on a.dll, a.lib (import library), and some include directory. This function works fine in Microsoft Visual Studio as I can tell MSVC where my headers and libraries are.
I have put this functionality inside a "MEXFunction" and I would like to build it so that it's accessible form MATLAB. However, I don't know how to tell mex to link against third party dll, lib, and header files.
Thanks for any assistance!

  0 件のコメント





Community Treasure Hunt

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

Start Hunting!

Translated by