import dll into matlab

4 Ansichten (letzte 30 Tage)
mezaguer karima
mezaguer karima am 11 Jun. 2019
Beantwortet: Guillaume am 8 Jan. 2020
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 Kommentar
Guillaume
Guillaume am 8 Jan. 2020
Comment by Guoliang Ye mistakenly posted as an answer moved here:
hi I have the same question. Have you solved it out?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Guillaume
Guillaume am 8 Jan. 2020
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.

Kategorien

Mehr zu Python Package Integration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by