Clear Filters
Clear Filters

Wie kommt man an die Funktionen und Variablen der .dlls (libeng.lib, etc.) der "Engine API for C"

7 views (last 30 days)
Hallo,
Versuche die dll-Datein der "Engine API for C" zu analysieren bzw. zu extrahieren, da ich in z.B. Eclipse keine .dll-Datein einbinden kann.
Gibt es eine Übersicht der verwendeten Funktionen und Variablen für die dll's, welche in Matlab verwendet werden? Ich habe versucht die dll's mit ILDASM zu öffnen. Aber hat nicht funktioniert.
die Bibliotheksdatein befinden sich in: C:\Program Files\MATLAB\R2023a\extern\lib\win64\microsoft
und die dll's befinden sich in: C:\Program Files\MATLAB\R2023a\bin\win64
Vl. kann mir wer weiterhelfen, wie ich die verwendeten Funktionen rausbekomme bzw. wie ich die dll's öffne.

Answers (1)

Keshav
Keshav on 21 Aug 2023
Hi
I understand that you would like to open “.dll” files.
For a C shared library, you can load the “.dll” file by using the “loadlibrary” function and call the functions by using the “calllib” method.
For more details on "loadlibrary” function, please refer to the following MathWorks documentation:
For a C++ shared library, you will need to first add the “.dll” file to MATLAB’s search path by using the “addpath” function. After which you can call the functions in the “.dll” file by using the “clib.libname.funcname” function.
For more details on calling functions in “CPP” shared libraries, please refer to the following MathWorks documentation:
Hope this helps!

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!