Function 'loadlibrary' is not supported for standalone code generation. Seeking alternative options.
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Call C from MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!