import dll into matlab

조회 수: 14 (최근 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에서 Call Python from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by