import dll into matlab

5 次查看(过去 30 天)
mezaguer karima
mezaguer karima 2019-6-11
回答: Guillaume 2020-1-8
Good morning,
I hope to find an answer here I'm trying to import a DLL in matlab I have a dll(LLT.dll) and (two header files .h) written in C ++ (it's used to program a laser sensor in C ++, but I would like to program under matlab the name of the folder provided is C ++ SDK (+ python bindings) is this sinifying that matlab have to have a compiler SDK?) and I would like to know how we can import this type file in matlab thanks and if possible show me an exemple please,
version matlab 9.1.0.441655 (R2016b)
thanks
  1 个评论
Guillaume
Guillaume 2020-1-8
Comment by Guoliang Ye mistakenly posted as an answer moved here:
hi I have the same question. Have you solved it out?

请先登录,再进行评论。

回答(1 个)

Guillaume
Guillaume 2020-1-8
In R2016b as per the original question, the only way to use the library would have via its python binding. See the doc for guidance on how to call python libraries](https://www.mathworks.com/help/matlab/call-python-libraries.html).
Since R2019a, it is now possible to call directly into C++ libraries. See this blog post and the doc.

类别

Help CenterFile Exchange 中查找有关 Python Package Integration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by