Function 'loadlibrary' is not supported for standalone code generation. Seeking alternative options.
Ältere Kommentare anzeigen
Hi,
I am using loadlibrary() to call some functions from a C++ .dll file so that I can develop my application in MATLAB.
However, when I try to generate standalone code using MATLAB Coder, I get the following error:
>> coder -build CodeApp.prj
??? The function 'loadlibrary' is not supported
for standalone code generation. See the
documentation for coder.extrinsic to learn how
you can use this function in simulation.
It appears that loadlibrary is not supported for code generation. Does anyone know of other ways where I can include the .dll file?
(I could compile my application using MATLAB Compiler, but that would require MCR, which isn't what I need.)
Any help would be very much appreciated.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Call C from MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!